for option One, if i want to unlock these user later, what command should i
use, will there password will remain unchanged?

amit

----- Original Message ----- 
From: "Sandip Bhattacharya" <[EMAIL PROTECTED]>
To: "The Linux-Delhi mailing list" <[EMAIL PROTECTED]>
Sent: Tuesday, 08 June, 2004 03:10 PM
Subject: Re: [ilugd] How to mark account as disable


> On Tuesday 08 June 2004 2:43 pm, Amit Sharma wrote:
> > hi,
> >
> > i have to disable 20-25 accounts on my rh8.0 box. what file should i
> > modify?
>
> Dont modify any files directly.
> Use either:
> 1. passwd -l username: Wil lock all uses of username/passwd
> 2. chsh /sbin/nologin: This will disable shell logins, though
username/pass
> will still work for pam/shadow-based services
>
>
> - Sandip
>
> -- 
> Sandip Bhattacharya
> sandip (at) puroga.com
> Puroga Technologies Pvt. Ltd.
> Work: http://www.puroga.com        Home: http://www.sandipb.net
>
> GPG: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3
>
>
> _______________________________________________
> ilugd mailinglist -- [EMAIL PROTECTED]
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[EMAIL PROTECTED]/


_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to