LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Root Group Not Behaving (https://www.linuxquestions.org/questions/linux-security-4/root-group-not-behaving-191715/)

borrrden 06-09-2004 08:04 PM

Root Group Not Behaving
 
I changed my user account to be a member of the root group, so that I could read and execute things that other users could not (i.e. everything in the root directory). I did this so that I could make a guest account and put it on an FTP. But for some reason, even though I am a member of the root group, and it is my primary group, I still only have privileges that "other users" have. I can't read or execute anything unless the last number on chmod is 5.

What do I do?

I am on fedora core 2, kernel v. 2.6.5-1, i686

borrrden 06-09-2004 08:17 PM

nevermind...I feel silly...all I needed to do was login again

Capt_Caveman 06-10-2004 12:28 AM

I really wouldn't recommend doing it that way. If you really need to give a user access to certain commands that require root permissions, try using sudo and the /etc/sudoers file instead. If you personally just want to be able to execute commands as root when logged in as a normal user, try using su - instead. Giving other users full root privileges is a really bad idea.

borrrden 06-11-2004 11:19 PM

i was not planning on giving them full root privileges, no way...I wanted to set it up so that I could do root group things, and they couldn't.


All times are GMT -5. The time now is 10:31 PM.