LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-24-2004, 07:03 AM   #1
KlaymenDK
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD v6.0
Posts: 123

Rep: Reputation: 15
Group membership?


Err, in another thread it's said that users should belong to the "audio" group if they want access to the sound system (i.e. otherwise error dialogs only go 'ding' for the user who was the first to log in).

Are there other groups that one should be member of? This is for a family computer, there should basically be "root" and then "everyone else" (so the whole family gets the same physical access, but retains individual desktops, settings and stuff).
 
Old 06-24-2004, 12:52 PM   #2
apimente.br
Member
 
Registered: Aug 2003
Location: Sao Paulo - Brazil
Distribution: Mageia
Posts: 155

Rep: Reputation: 23
" This is for a family computer, there should basically be "root" and then "everyone else""
This is not a good idea to be root in normal circunsptances. It's better to enter the password for root if needed.
 
Old 06-24-2004, 01:03 PM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Look around for groups in the configuration centre on your desktop (you'll need root priviledges, but you can access through a normal user session. Read through the availabe groups and you'll be able to recognise a couple like cdrom, tty (should be diskette) and maybe others for internet access (names can vary - www, ftp etc.)
And as apimente.br said, it's safer to leave the root account for admin tasks only.
 
Old 06-24-2004, 02:04 PM   #4
KlaymenDK
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD v6.0
Posts: 123

Original Poster
Rep: Reputation: 15
@apimente.br:
Yeah I know I shouldn't be running as root, and I'm not. I just want all the "regular" users to have the rights they (we) actually need.

@linmix:
So we should all belong to the groups "cdrom", "tty" (and that's the floppy?), "www", etc? Wow, I had no idea. Either I have misunderstood you, or every Linux guide I ever read has a serious omission. Please, if you will, elaborate.
 
Old 06-25-2004, 04:10 AM   #5
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
I'm no expert on this matter, but in order to have access to the resources of the system you need permissions. In order to make linuz a secure system (or rather a controllable system) no need to specify which users will have access to which resources. Depending on the settings of the permissions you may be able to only read a file or also write to it. This is achieved by the permissions of the files which you can see when you type

$ ls -l

You'll see something like:

-rwxr-x--- user user

at thebeginning of a normal file.
The first symbol (-) indicates this is a file (not a folder: d)
The rest of the digits are read in groups of three and indicate permissions for the owner of the file (rwx), the group the file belongs to (r-x) and all other users (---). The first 'user' you see is the name of the owner of the file, the second 'user' is the name of the group. This way you can make files available to members (and e.g. avoid them changing the file) of a group but not to any other user. By making a user member of a group (like 'user') you give him the possibility to share the file to the extent of the permissions set for the group.
If you don't want a user to be able to use the floppy drive then you don't include him in the corresponding group and avoid his taking things out of the system or adding external files.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Club Membership Dirty_Ink Mandriva 9 05-04-2005 07:56 PM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
Lifetime membership Dirty_Ink Linspire/Freespire 7 05-12-2004 11:41 PM
Contributing Membership... flapjackboy LQ Suggestions & Feedback 5 09-05-2003 09:25 AM
Group Membership Question rlkiddjr Linux - General 3 06-18-2002 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:50 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
Open Source Consulting | Domain Registration