LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-25-2006, 06:36 PM   #1
tcv
Member
 
Registered: Apr 2003
Location: Billerica, MA
Posts: 114

Rep: Reputation: 15
Me don't understand user privileges...


Hi there,

As I read about *nix style permissions, I find that I don't really understand some of it. Oh, I feel like I understand how to read the rwxrwxrwx parts, but I suppose I don't why certain users can read files in certain directories while other can't.

Let me see how I can explain.

It's almost as if I'm missing something like "Power Users." A Power User can, in general, do more and see more than a User, but less than an Administrator.

If I have an account and I want to raise that accounts privileges -- assuming, of course, I have root access already -- so that my account can read files regardless of the owner or group, then how can one do that? Is it even possible?

m
 
Old 07-25-2006, 06:54 PM   #2
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Rep: Reputation: 15
May be this will help you understand better.
 
Old 07-25-2006, 07:13 PM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
tcv - me again.

have a look at

http://www.linux-tutorial.info/modul...ssary&term=UID

it's quite a nice summary.


Someone may want to correct me, but I think that root gets its "power" by virtue of having the uid 0. There isn't a step between root and a normal user; there are users with reduced capablities, for example users that can't logon.

I think the simple answer is that only root (or a user with a uid 0) can do what you want. A lot of people on this forum would recommend that you don't use this user for anything but admin tasks - installing system software, etc.

*nix all works on the file permissions as you understand them. If I don't own a file or directory and only the owner or group can read that file, if I'm not in the group, I can't read it. Nothing more to it than that (although it gets a bit messed up if the directory permissions are out of kilter with the files in the directory (note this does not mean the permissions should be the same - typically directories will have execute set whereas files don't for example)).

Rgds again

Bill
 
Old 07-25-2006, 07:24 PM   #4
tcv
Member
 
Registered: Apr 2003
Location: Billerica, MA
Posts: 114

Original Poster
Rep: Reputation: 15
Hey Billy,

I hope you don't think I was ducking you. I just thought I should post the question here.

Wow, so there really is no escalated user privilege between root and user. That is safer, but it can also be a little frustrating. You know my dilemma.

Thanks for the link!

And the sudo link, mokele.
 
Old 07-25-2006, 07:27 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I thought I suggested a new pot anyway?
 
Old 07-25-2006, 07:32 PM   #6
tcv
Member
 
Registered: Apr 2003
Location: Billerica, MA
Posts: 114

Original Poster
Rep: Reputation: 15
pot?? what??
 
Old 07-25-2006, 08:26 PM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
post - missed the "s"
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing user privileges vikiugu Linux - Software 1 10-24-2005 04:55 AM
Root privileges for user ar1 Linux - Security 2 01-07-2005 09:33 PM
User with root privileges ShakyJake Linux - Newbie 2 06-18-2004 12:12 PM
How can I create a user with the same privileges as the root ? Menestrel Linux - Newbie 3 11-19-2003 09:38 PM
user privileges rieta Linux - Newbie 9 08-29-2002 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:46 AM.

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
Open Source Consulting | Domain Registration