While joining a domain from a linux machine , I give this command: net rpc join member -U Administrator. Now, the above command prompts for (Administrator) password.
Now, I wish to store the password somewhere(smb.conf OR krb5.conf) so that it does not prompts for password. Is it possible?
Note:Necessary changes to join a domain are carried out in /etc/samba/smb.conf
PS: Please do not consider any security issue with this.
Thanks!