ssh and tty and sudoers file.

Smoot Carl-Mitchell smoot at tic.com
Wed Aug 20 11:24:45 UTC 2008


On Wed, 2008-08-20 at 07:38 +0200, Knapp wrote:

> 
> I like your suggestion and it would work but it would mean that I
> would need 2 accounts as would all the other people that might need to
> use sudo. This is ok but not perfect because as you said it can be
> limited based on location.

Take a look at this:

http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/sag-pam_listfile.html

You should be able to use this pam module in the /etc/pam.d/sudo
configuration to limit sudo access to a list of specific ttys.
-- 
Smoot Carl-Mitchell
System/Network Architect
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list