LinuxQuestions.org
Register a domain and help support LQ
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 09-24-2006, 03:04 PM   #1
mihalisla
Member
 
Registered: Jun 2006
Location: greece
Distribution: ubuntu 6.06 amd64
Posts: 132

Rep: Reputation: 15
Users admin problem


Hello guys I have some problems with users administration,please check
them out to see if you could help me (i run ubuntu 6.06 amd64 bit):
1 : I have 2 users, lets say a , b . How can set a to have access to one file while b cannot??
2 : When I added user b from "users-admin" when i selected an option that was saying "all users and groups" it put out many users and groups that I 've never created..
Can I erase them all without problems or I 'll also lose the servises
they suposse created them??? ex. pppd group or sqld user ===>can be erased???

Thank you for reading this message
 
Old 09-24-2006, 07:00 PM   #2
chadl
Member
 
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
1. This can be controlled though file permissions. A file in unix has owner (the user who made it), group (a user can be in one or more groups, that can define extra rights), and other (everyone who does not fall into one of the above categories). If you own a file (say user a in this case made the file), you can right click on it in the Gnome GUI, go to the permissions tab, and uncheck the boxes by "Group" and "Other", so that only user can read the file, write to the file, or execute it (if it is a script or binary).
Note that the execute bit on folders gives the user who has that bit the rights to list the files in the folder.

2. There are a large number of groups, and they are required for services to operate, or to give you rights to use the services. For example, on my system I am a member of the cdrw group that gives me rights to burn cd's, the sound group so that I can play sound, and many others. If the groups were removed, then I would no longer have the rights.
Some services also require the groups, such as sqld is required for the sql server to run, etc. If they are removed, the services in question may stop working.

The way to look at groups is: if you did not make it, removing it may not be such a good idea.

Let me know if I am not clear on some points (I have been doing this for a while, so I may gloss over points that someone new to Linux would not know yet)
 
Old 09-24-2006, 08:26 PM   #3
mihalisla
Member
 
Registered: Jun 2006
Location: greece
Distribution: ubuntu 6.06 amd64
Posts: 132

Original Poster
Rep: Reputation: 15
thank you very much for your reply.You were very clear to what you have said and got it all.
cheers chadl and thank you once again!!!
 
  


Reply

Tags
permissions


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
How to create users with admin priviledges? cucolin@ Ubuntu 13 08-23-2006 05:08 PM
Samba - How can admin users see all [homes]? essdeeay Linux - General 0 04-02-2006 06:56 PM
redirect all users mail to admin tanveer Linux - Networking 4 03-03-2005 10:39 PM
Giving users more rights (Admin) FatSteve Linux - Security 7 11-19-2003 07:37 AM
Best way to remote admin: users? TruckStuff Linux - Security 6 06-01-2002 10:07 PM


All times are GMT -5. The time now is 12:22 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration