change password on two servers
Hello ,
in first sorry for my poor english
I wanted to know in which measure it was possible for a user to change his password on several
servers from Windows 2000 I explain:
the toto user authenticates on serveur1 domaine1 (his machine, Windows 2000 is thus integrated in
domaine1.)
but this user has access to resources situated on serveur2
How can he modify his password on serveur2 from his machine, which by default proposes him as only
choice of connection only serveur1.
All this with the version 3.0.2 of samba
thank you and good day
--
Pascal Legrand
*IUT de Chartres* - _Service Informatique_
1 place Pierre Mendès France - 28000 Chartres
Tel: 02 37 91 83 36 - Fax: 02 37 91 83 01
[email]Pascal.Legrand@univ-orleans.fr[/email]
Re: change password on two servers
Pascal Legrand wrote:[color=blue]
> Hello ,
> in first sorry for my poor english
>
> I wanted to know in which measure it was possible for a user to change
> his password on several servers from Windows 2000 I explain:
> the toto user authenticates on serveur1 domaine1 (his machine, Windows
> 2000 is thus integrated in domaine1.)
> but this user has access to resources situated on serveur2
> How can he modify his password on serveur2 from his machine, which by
> default proposes him as only choice of connection only serveur1.
> All this with the version 3.0.2 of samba
> thank you and good day
>[/color]
You can use a web interface for changing the password.
It requires a CGI script that is run as root (dangerous),
and ssh access without password for root from server1 to server2
(even more dangerous).
We run this as a perl script that calls /usr/bin/smbpasswd,
/usr/sbin/usermod, and /usr/sbin/chage locally and remote.
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [email]mk@crc.dk[/email] Homepage: [url]http://www.crc.dk[/url]