LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permissions (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-53317/)

bad1drums 04-03-2003 08:42 PM

Permissions
 
Ok, please can I get some help on setting permissions for my regular log in to have the same access to root as my root log in. Is that possible. I really hope to do this so I can run and config my Halflife server with out being logging in as root. See if I run the server in root I feel there could be security issues.:newbie:

trickykid 04-03-2003 09:26 PM

There's a reason for this, security that is. Its a bad idea to give a regular user the same as root privileges. Is it so hard to su to root or even setup sudo.

But search the forum here, this has been asked numerous times and probably 99.9% of all responses will tell you not to setup a user account with all of root's permissions. If that's the case, why not just login as root ?

bad1drums 04-03-2003 09:34 PM

Permissions
 
You have a hell of a point. Guess than I need write permmission for regular user and I thought I did that. But it dose not let me so I do not have write permmission set up. Can I get a help on how to get write permission for a regular user?:newbie:

cuckoopint 04-03-2003 10:33 PM

Quote:

Can I get a help on how to get write permission for a regular user?
I think your problem is that the log has user write permission, it just so happens that the 'user' is root.
eg. ls -l /var/log/some_log
-rw-r----- 1 root adm 4031 Mar 3 12:26 /var/log/some_log

As you can see, 'root' (the user) has read and write permission, 'adm' (the group) has read perm., and no else has any other perm.

I recommend you either use sudo to manage these logs:
man sudo
man sudoers

or you make a special group to manage these logs, and add yourself to the group:
man chown
man chmod
man addgroup


All times are GMT -5. The time now is 07:58 PM.