Complete.Org: Mailing Lists: Archives: discussion: March 2000:
[aclug-L] Re: disable login
Home

[aclug-L] Re: disable login

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: discussion@xxxxxxxxx
Subject: [aclug-L] Re: disable login
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: 03 Mar 2000 17:47:56 -0600
Reply-to: discussion@xxxxxxxxx

This will not prevent somebody from logging in via passwordless
authentication scheme such as rhosts or ssh+key.

-- John

Jonathan Hall <jonhall@xxxxxxxxxxxx> writes:

> You'll have a line that looks like this for each user:
> 
> nobody:lj3//adjk34j:65534:65534:nobody:/home:/bin/sh
> 
> If you're not using shadowed passwords, instead of the "x" between the first
> and second colon, you'll see a bunch of goobledegook.  The simplest way to
> disable an account is to just put a * in this field.  If you want to keep it
> only temporarily disabled, add a * in front of the rest of this text:
> 
> nobody:*:65534:65534:nobody:/home:/bin/sh
> 
> This field refers to the password--by putting a * there, you make the
> password undecypherable.  If you're using shadowed passwords, you may need
> to edit /etc/shadow instead of /etc/passwd
> 
> 
> On Fri, Mar 03, 2000 at 04:44:57PM -0600, Sanjay Dhar wrote:
> > Hi,
> > 
> > Do you know what I need to change in /etc/passwd so that a user's login
> > could be disabled temporarily. I have a situation where I need to lock out
> > a user till a few issues are resolved with my server.
> > 
> > Thanks,
> > Sanjay
> > 
> > 
> > ---------------------------------------------------------
> > The only "intuitive" interface is the nipple. After that, it's all learned.
> > (Bruce Ediger, bediger@xxxxxxxxxxxx, in comp.os.linux.misc, on X 
> > interfaces.)
> >  
> > 
> > 
> > -- This is the discussion@xxxxxxxxx list.  To unsubscribe,
> > visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
> 
> --
> Useless fact #7: Every eight seconds a woman gives birth.  (Sure would suck
> to be her, huh?)
> --
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>   Jonathan Hall  *  jonhall@xxxxxxxxxxxx  *  PGP public key available
>  Systems Admin, Future Internet Services; Goessel, KS * (316) 367-2487
>          http://www.futureks.net  *  PGP Key ID: FE 00 FD 51
>                   -=  Running Debian GNU/Linux  =-
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> 
> -- This is the discussion@xxxxxxxxx list.  To unsubscribe,
> visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
> 

-- 
John Goerzen   Linux, Unix consulting & programming   jgoerzen@xxxxxxxxxxxx |
Developer, Debian GNU/Linux (Free powerful OS upgrade)       www.debian.org |
----------------------------------------------------------------------------+
The 199,298th digit of pi is 8.

-- This is the discussion@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]