Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to add a user that can't invoke the "su" command?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Raposatul
n00b
n00b


Joined: 25 Sep 2007
Posts: 53

PostPosted: Fri Feb 08, 2008 12:22 pm    Post subject: How to add a user that can't invoke the "su" comma Reply with quote

Any ideas?:)

Thanks.

PS: it would be great if it can do only ping, for example.
Back to top
View user's profile Send private message
jrtayloriv
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2004
Posts: 149
Location: N. Idaho

PostPosted: Fri Feb 08, 2008 12:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Raposatul
n00b
n00b


Joined: 25 Sep 2007
Posts: 53

PostPosted: Fri Feb 08, 2008 12:36 pm    Post subject: Reply with quote

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

Quote:
myuser:x:1003:


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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Feb 08, 2008 12:38 pm    Post subject: Reply with quote

You're looking at the wrong line. See the line beginning with the word "wheel".
Back to top
View user's profile Send private message
Raposatul
n00b
n00b


Joined: 25 Sep 2007
Posts: 53

PostPosted: Fri Feb 08, 2008 12:41 pm    Post subject: Reply with quote

Done, thanks :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum