These users need to have shell access but I want to restirct them to
remote logins such that they cannot log in at the console at all.Basically
they should only be able to get in via ssh from a remote terminal.
On
Mon, 14 Aug 2000, Michael Meinl wrote:
> Date: Mon, 14 Aug 2000 11:11:35 +0200
> From: Michael Meinl <[EMAIL PROTECTED]>
> To: Sematimba Noah <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: AW: console login
>
> >I am currently running SuSE linux 6.4 and what I would like to do is to
> >restrict console logins to just a few accounts. In slackware and BSd I
> >used to do this via a file called login.access but this does not exist in
> >SuSE and even redhat I am told I can do it via PAM but how?
>
> > Noah
> >[EMAIL PROTECTED]
>
>
>
> you could try to edit /etc/password and set the default shell of the
> "unwanted" users to /bin/false
>
> test:x:613:100::/home/test:/bin/false
>
> Consolelogin (remote + local) is not possible anymore...
>
> X-Logins ( using xdm/kdm ) are still possible....
>
> Michael Meinl
>
>
>
Noah
[EMAIL PROTECTED]