Automatically adding users and passwords to smbpasswd
![](https://seccdn.libravatar.org/avatar/954b393e736a21c306130f9899f147e8.jpg?s=120&d=mm&r=g)
How can I automaticly add the users that I create to the smbpasswd stuff. Also if I have already created users how can I transfer their login passwords to smb. Thanks Appreciate the help! Ray Booysen
![](https://seccdn.libravatar.org/avatar/c0d7969670dd5fe9340816cee0058278.jpg?s=120&d=mm&r=g)
You can transfer them using the mksmbpasswd.sh script.
cat /etc/passwd | mksmbpasswd.sh > smbpasswd
I think. Command could be slightly off. Don't know how to make it
automatically do it when you add a user. Maybe a custom useradd script?
Adam
----- Original Message -----
From: "Ray Booysen"
How can I automaticly add the users that I create to the smbpasswd stuff. Also if I have already created users how can I transfer their login passwords to smb.
Thanks Appreciate the help! Ray Booysen
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
participants (2)
-
Adam Oliver
-
Ray Booysen