LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware's groups broken? (https://www.linuxquestions.org/questions/slackware-14/slackwares-groups-broken-180676/)

ProtoformX 05-12-2004 10:09 AM

Slackware's groups broken?
 
No matter have I assign to my user every program ignores it...are groups broken in slackware? I have tryed using them on the defult kernel all the way up to 2.6.6 and they don't seem to work, and I don't like the idea of giving all users full access to certin drives.

Can someone please explane to me why groups don't work?

nnsg 05-12-2004 10:56 AM

Hi :D

Did the user re-login after been added into a new group?

Hmm... I don't have this kind of issue, can you describe more clearly what you wants to do?

ProtoformX 05-12-2004 11:18 AM

What I want to do is beable to mount a win32 partition without being root but I don't want any other user accept root and my user to beable to mount it.

nnsg 05-13-2004 10:32 AM

How about create a group, for example "winpart", and put user who can access the win32 partition into that group.

Then you can use "sudo" to allow winpart group to mount partition, when mounting the win32 partition, use option "gid=winpart" so the mounted partition will belongs to winpart group, and you can use dmask/umask/fmask options as well to control the group permission to the win32 partition.

Please note that I am not an expert, I'm sure there's a better way. :D

ProtoformX 05-13-2004 04:35 PM

I did it .. I just put my gid in the fstab now no one without that gid can access that drive

Nichole_knc 05-13-2004 09:10 PM

Well I would say you must edit your fstab as in the following example...
EXTRACT FROM SLACKBOXIV
# fstab 03-20-04
WIN PART HERE mnt here file sys options
/dev/hd** /dos mnt pnt msdos noauto,user,exec,suid,dev,async,rw 1 1

ProtoformX 05-15-2004 03:40 AM

Err not really

/dev/hda8 /mnt/c_drive vfat gid=102,noauto,user,owner,umask=000

This works because I am the only users that belongs to a group with 102 for its ID


All times are GMT -5. The time now is 06:01 AM.