[Samba] Prohibit Password Change on specific user

Jason Pyeron jpyeron at pdinc.us
Tue Aug 9 06:58:26 MDT 2011


> -----Original Message-----
> From: Ulrich Schinzli
> Sent: Tuesday, August 09, 2011 8:04
> Subject: [Samba] Prohibit Password Change on specific user
> 
> Hi There,
> 
> Setup:
> - Debian Squeeze
> - Samba 3.5.6
> - passdb-backend: tdbsam
> 
> I have some machines running here, which are used by 
> students. There is a "global" account for all of them. I'd 
> like to prevent them from changing the password, so that 
> nobody can make it a exclusive account. 
> Is ther a way to do that?
> Is it possible to do that with pdbedit?

Does not look like it can be done with pdbedit

http://www.samba.org/samba/docs/man/manpages-3/pdbedit.8.html

Maybe a hack like setting the minimum password age to 180 days for that account
(if possible), and then change it every semester administratively.



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 



More information about the samba mailing list