Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-03-2003, 08:42 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 7

Rep: Reputation: 0
Cool 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.
Old 04-03-2003, 09:26 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
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 ?
Old 04-03-2003, 09:34 PM   #3
LQ Newbie
Registered: Mar 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Cool 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?
Old 04-03-2003, 10:33 PM   #4
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 12:00 PM
permission ... permissions .... permissions alaios Linux - General 1 05-31-2005 04:16 AM
Permissions jymmi Linux - Newbie 3 04-14-2005 11:43 PM
Permissions help reddog64 Linux - Newbie 1 04-22-2004 05:23 PM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 12:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration