limit to login locally

Herta Van den Eynde herta.vandeneynde at gmail.com
Thu Nov 8 20:23:40 UTC 2007


On 08/11/2007, tech user <techwww at yahoo.com.cn> wrote:
> hello members,
>
> I want to make a security setting that, only root can login to a redhat
> linux box locally. other users can login to the host remotely (ie,with
> ssh),but can't login to it locally.
>
> how to do it? thanks.
>
> --ken
>
>
Ken,

What do you mean by 'locally'?  Normally it would mean to a terminal
or console connected to the box.  These days, it is rare to see boxes
with terminals.  And consoles, if not to be used by regular users,
should be behind lock and key.
If that is indeed what you mean by 'locally', then yes, PAM, should
help you out.

Kind regards,

Herta




More information about the redhat-list mailing list