cat /etc/passwd > mksmbpasswd

William R. Knox wknox at mitre.org
Wed Mar 1 13:04:30 GMT 2000


Jeff,
It isn't possible to convert the encrypted passwords in the /etc/passwd
file to the passwords in the smbpasswd file, so a direct conversion is
not possible.

-- 
			Bill Knox
			Senior Operating Systems Programmer/Analyst
			The MITRE Corporation

Jeff Pajor wrote:
> 
> Hi all,
> 
> Quick question, is it possible to take an existing /etc/passwd file and
> run it through mksmbpasswd.sh (or some other script) to update a smbpasswd
> file?  I am asking this because everytime we change a password or add or
> delete usernames on a machine, it would seem we have to do the same thing
> to change th samba password file, and I'm hopeing there is an easier
> way.....
> 
> thanks,
> 
> jeff
> pajor at descent.net


More information about the samba mailing list