[Samba] Samba user

TAKAHASHI Motonobu monyo at monyo.com
Sun Jun 12 09:23:08 MDT 2011


From: Jigar Patel <pateljigar.83 at gmail.com>
Date: Tue, 7 Jun 2011 16:36:28 -0700

(snip)
> So I have user password into variable so now need to
> tweak smbpasswd that way that is going to take my variable password instead
> of asking me. Thanks in advance.

You can do this like that:

# (echo password; echo password) | smbpasswd -s monyo
Password changed for user monyo

---
TAKAHASHI Motonobu <monyo at monyo.com> / @damemonyo
  http://damedame.monyo.com/ / http://facebook.com/monyot



More information about the samba mailing list