View previous topic :: View next topic |
Author |
Message |
Raposatul n00b

Joined: 25 Sep 2007 Posts: 53
|
Posted: Fri Feb 08, 2008 12:22 pm Post subject: How to add a user that can't invoke the "su" comma |
|
|
Any ideas?
Thanks.
PS: it would be great if it can do only ping, for example. |
|
Back to top |
|
 |
jrtayloriv Tux's lil' helper

Joined: 31 Dec 2004 Posts: 149 Location: N. Idaho
|
Posted: Fri Feb 08, 2008 12:22 pm Post subject: |
|
|
To make it where they can't run su, remove them from the 'wheel' group in the file /etc/group.
As far as limiting the programs they can run -- do a google search for chroot jails and see this page
--jrtayloriv _________________ [URL="http://www.sporecollective.org"]The Spore Collective[/URL] -- surveillance, torture, genocide ... anarchist theory and social justice struggle ... peasant revolutions, and wealthy industrialists ... oh my what a mix! |
|
Back to top |
|
 |
Raposatul n00b

Joined: 25 Sep 2007 Posts: 53
|
Posted: Fri Feb 08, 2008 12:36 pm Post subject: |
|
|
jrtayloriv wrote: | To make it where they can't run su, remove them from the 'wheel' group in the file /etc/group.
As far as limiting the programs they can run -- do a google search for chroot jails and see this page
--jrtayloriv |
/etc/group
So it's not part of the wheel group, but it can su 
Last edited by Raposatul on Fri Feb 08, 2008 12:38 pm; edited 1 time in total |
|
Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Feb 08, 2008 12:38 pm Post subject: |
|
|
You're looking at the wrong line. See the line beginning with the word "wheel". |
|
Back to top |
|
 |
Raposatul n00b

Joined: 25 Sep 2007 Posts: 53
|
Posted: Fri Feb 08, 2008 12:41 pm Post subject: |
|
|
Done, thanks  |
|
Back to top |
|
 |
|