Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
su to root from normal user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
signature16
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2005
Posts: 79

PostPosted: Sat Feb 04, 2006 5:16 pm    Post subject: su to root from normal user Reply with quote

When I try to su to root from a normal user it does not allow me. Do I have to logout and then log back in with root to use root powers?

Also, can I give a normal user the power of root?
Back to top
View user's profile Send private message
Voorhees51
Guru
Guru


Joined: 05 Nov 2003
Posts: 358

PostPosted: Sat Feb 04, 2006 5:19 pm    Post subject: Reply with quote

you need to be apart of the wheel group to be able to su to root.

look at sudo, that will do what you want with normal users.
Back to top
View user's profile Send private message
artworcs
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2005
Posts: 126

PostPosted: Sat Feb 04, 2006 5:22 pm    Post subject: Reply with quote

To be able to su root, you have to be a member of the wheel group.

You can use the following command:

Code:
gpasswd -a <user> wheel


to add yourself.

You should also check out the sudo package

Code:
*  app-admin/sudo
      Latest version available: 1.6.8_p12
      Latest version installed: 1.6.8_p12
      Size of downloaded files: 571 kB
      Homepage:    http://www.sudo.ws/
      Description: Allows users or groups to run commands as other users
      License:     Sudo
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 17862

PostPosted: Sun Feb 05, 2006 12:39 am    Post subject: Reply with quote

See the FAQ in the FAQ Forum, or the sticky in Installing Gentoo.
_________________

Believing I had supernatural powers I slammed into a brick wall.
I said hey, is this my problem? Is this my fault?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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