Re: Restricting a user to console logins only

From: Jamie Hushower <hushower@alaska-geeks.com>
Date: Mon Aug 29 2005 - 08:49:15 AKDT

From "man sshd_config":
AllowUsers
             This keyword can be followed by a list of user name
             patterns, separated by spaces. If specified, login is
             allowed only for user names that match one of the pat-
             terns. '*' and '?' can be used as wildcards in the
             patterns. Only user names are valid; a numerical user
             ID is not recognized. By default, login is allowed
             for all users. If the pattern takes the form
             USER@HOST then USER and HOST are separately checked,
             restricting logins to particular users from particular
             hosts.

-Jamie

Joshua Kugler (joshua.kugler@uaf.edu) wrote:
>
> I've done some googling and some bash scripting experimentation, and haven't
> found what I'm looking for. Is there an easy to to restrict a user to
> logging in to the console *only*? For reboot/maintenance purposes I need a
> user (besides my personal user account) that can log into the console, and
> then us to root. But, I don't want that user to be able to ssh in. I'm sure
> it's possible, I just haven't found out how.
>
> j----- k-----
>
> --
> Joshua Kugler
> CDE System Administrator
> http://distance.uaf.edu/
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>

-- 
Jamie Hushower
Computer Consultant
Rent-A-Geek
www.alaska-geeks.com
223-9136
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon, 29 Aug 2005 08:49:15 -0800

This archive was generated by hypermail 2.1.8 : Mon Aug 29 2005 - 08:49:20 AKDT