Re: OT: disabling login

2002-02-21 Thread Dimitri Maziuk
* Ron Johnson ([EMAIL PROTECTED]) spake thusly: ... > Wel I assumed (yes, laugh at me, call me an MSCE) that the > key pairs _and_ PAM was used during ssh login. Yes, but PAM != passwd. SSH is usually configured for key-based authentication only. > What it sounds like you are saying is that

Re: OT: disabling login

2002-02-21 Thread Dimitri Maziuk
* Ron Johnson ([EMAIL PROTECTED]) spake thusly: > On Thu, 21 Feb 2002 17:16:38 -0600 Dimitri Maziuk <[EMAIL PROTECTED]> wrote: > > > * Ron Johnson ([EMAIL PROTECTED]) spake thusly: > > > Hi, > > > > > > On a multi-user system, how can I "turn off" an account? Not > > > remove it, though, since a

Re: OT: disabling login

2002-02-21 Thread Ron Johnson
On Fri, 22 Feb 2002 00:43:53 +0100 Hans Ekbrand <[EMAIL PROTECTED]> wrote: > On Thu, Feb 21, 2002 at 05:23:09PM -0600, Ron Johnson wrote: > > On Thu, 21 Feb 2002 17:16:38 -0600 Dimitri Maziuk <[EMAIL PROTECTED]> wrote: > > > Note that they can still login via ssh + key auth, so remove > > > their

Re: OT: disabling login

2002-02-21 Thread Hans Ekbrand
On Thu, Feb 21, 2002 at 05:23:09PM -0600, Ron Johnson wrote: > On Thu, 21 Feb 2002 17:16:38 -0600 Dimitri Maziuk <[EMAIL PROTECTED]> wrote: > > Note that they can still login via ssh + key auth, so remove > > their ~/.ssh/authorized_keys[2] if you have that (rename > > instead of removing, if you

RE: OT: disabling login

2002-02-21 Thread KenrickC
> > Hi, > > > > On a multi-user system, how can I "turn off" an account? Not > > remove it, though, since at a later time, it will have to be > > re-enabled? While we're at it, how to you re-enable a disabled > > account? > > File a bug against passwd, tell them to rewrite shadow(5) and > pass

Re: OT: disabling login

2002-02-21 Thread Ron Johnson
On Thu, 21 Feb 2002 17:16:38 -0600 Dimitri Maziuk <[EMAIL PROTECTED]> wrote: > * Ron Johnson ([EMAIL PROTECTED]) spake thusly: > > Hi, > > > > On a multi-user system, how can I "turn off" an account? Not > > remove it, though, since at a later time, it will have to be > > re-enabled? While we'r

Re: OT: disabling login

2002-02-21 Thread Dimitri Maziuk
* Ron Johnson ([EMAIL PROTECTED]) spake thusly: > Hi, > > On a multi-user system, how can I "turn off" an account? Not > remove it, though, since at a later time, it will have to be > re-enabled? While we're at it, how to you re-enable a disabled > account? File a bug against passwd, tell them

Re: disabling login

2002-02-21 Thread Ron Johnson
On Fri, 22 Feb 2002 09:52:04 +1100 [EMAIL PROTECTED] wrote: > > > >Hi, > > > >On a multi-user system, how can I "turn off" an account? >Not remove it, > though, since at a later time, it > >will have to be re-enabled? While we're at it, how > > to you re-enable a disabled account? > > passw

RE: disabling login

2002-02-21 Thread Brooks R. Robinson
> On a multi-user system, how can I "turn off" an account? Not > remove it, though, since at a later time, it will have to be > re-enabled? While we're at it, how to you re-enable a disabled > account? How disabled do you want it? Edit /etc/passwd and change the shell to /bin/false to disable l

RE: disabling login

2002-02-21 Thread KenrickC
>Hi, > >On a multi-user system, how can I "turn off" an account? >Not remove it, though, since at a later time, it >will have to be re-enabled? While we're at it, how > to you re-enable a disabled account? passwd -l and passwd -u. See man passwd. - Chris *

OT: disabling login

2002-02-21 Thread Ron Johnson
Hi, On a multi-user system, how can I "turn off" an account? Not remove it, though, since at a later time, it will have to be re-enabled? While we're at it, how to you re-enable a disabled account? I tried google, but must not have used the proper set of key words. TIA, Ron -- +--