[Samba] changing unix password with samba

Craig White craigwhite at azapple.com
Wed Feb 18 05:54:44 GMT 2004


On Tue, 2004-02-17 at 20:00, Merle Reine wrote:
> I am running RedHat 9 and samba.  I need to be able to set one password 
> for each user and sync them with ssh, web, unix password.
> 
> i.e. When I change samba pass, it changes unix, ftp, etc.  Is this 
> possible with samba?  I saw that it is if you are running windows and 
> then you can change the unix pass via samba.  Is this possible when 
> running linux.  I just want to easily administer my users.  I have a web 
> cgi script to change the unix password which can be modifed to change 
> samba pass.  This would allow users to change all their passwords in one 
> place.
----
since it's under script control, why don't you 'cache' the password and
then submit it to /usr/bin/passwd & /usr/bin/smbpasswd via your program?

Craig



More information about the samba mailing list