On Wednesday 17 December 2008, Josh Roden wrote: > Hi everyone, > > Does anyone know how to convert /etc/shadow or /etc/passwd to > /etc/samba/smbpasswd? > > I haven't been able to google anything that works. > > > > Neither of the following work: > > cat /etc/passwd|mksmbpasswd.sh |cat>/etc/samba/smbpasswd > > cat /etc/shadow|mksmbpasswd.sh|cat>/etc/samba/smbpasswd > > > > mkdsmbpasswd creates the username accounts but not the passwords. Well, the man states that:
Please note that passwords are not transferred automatically from /etc/passwd to the new /etc/samba/smbpasswd file. After running mksmbpasswd all accounts are disabled so the system administrator must run smbpasswd for each account that needs to be enable. # > > > > Thanks. ================================================================= To unsubscribe, send mail to linux-il-requ...@cs.huji.ac.il with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il