LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-03-2003, 08:42 PM   #1
bad1drums
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
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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
bad1drums
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
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

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


Reply


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


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

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