Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Best option for su access for users?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Fenster
Apprentice
Apprentice


Joined: 26 Oct 2004
Posts: 172
Location: Purgatory

PostPosted: Thu Mar 31, 2005 11:06 pm    Post subject: Best option for su access for users? Reply with quote

This is mostly for my own use, as I prefer to work as a regular user and then su in a term as needed.

Anyhow, I've seen various posts on the matter, but nothing comprehensive on options and setup. I was prompted to post this by the fact that I apparently can't su to root as user. I've been chipping away with it, but drew a blank, so here I am. :D
Back to top
View user's profile Send private message
taurus
l33t
l33t


Joined: 21 Sep 2004
Posts: 657
Location: I need to be somewhere...

PostPosted: Thu Mar 31, 2005 11:09 pm    Post subject: Reply with quote

Yes, it is always a good idea to do your everyday work (or play around) with a regular account. Log in as root if you need to change system files or upgrade your system. To be able to su to root from a user account, that user needs to me in a group wheel... So, open a text editor and add that user to /etc/group. Then, if you need to access root's account, just type
Code:
su -

You also should take a look at sudo if you want a user to execute some programs that only root can... :wink:

taurus
Back to top
View user's profile Send private message
Fenster
Apprentice
Apprentice


Joined: 26 Oct 2004
Posts: 172
Location: Purgatory

PostPosted: Thu Mar 31, 2005 11:20 pm    Post subject: Reply with quote

taurus wrote:
Yes, it is always a good idea to do your everyday work (or play around) with a regular account. Log in as root if you need to change system files or upgrade your system. To be able to su to root from a user account, that user needs to me in a group wheel... So, open a text editor and add that user to /etc/group. Then, if you need to access root's account, just type
Code:
su -

You also should take a look at sudo if you want a user to execute some programs that only root can... :wink:

taurus


Well that works for me. Thank'ee :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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