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 > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-12-2004, 10:09 AM   #1
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
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?
 
Old 05-12-2004, 10:56 AM   #2
nnsg
Member
 
Registered: Apr 2004
Distribution: Slackware 9.1/10.1, Mandrake 9.1/10.1
Posts: 75

Rep: Reputation: 15
Hi

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?
 
Old 05-12-2004, 11:18 AM   #3
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Original Poster
Rep: Reputation: 34
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.
 
Old 05-13-2004, 10:32 AM   #4
nnsg
Member
 
Registered: Apr 2004
Distribution: Slackware 9.1/10.1, Mandrake 9.1/10.1
Posts: 75

Rep: Reputation: 15
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.

Last edited by nnsg; 05-13-2004 at 11:25 AM.
 
Old 05-13-2004, 04:35 PM   #5
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Original Poster
Rep: Reputation: 34
I did it .. I just put my gid in the fstab now no one without that gid can access that drive
 
Old 05-13-2004, 09:10 PM   #6
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Rep: Reputation: 30
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
 
Old 05-15-2004, 03:40 AM   #7
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Original Poster
Rep: Reputation: 34
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
 
  


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
Map Windows NT Groups to UNIX Groups - why? kenji1903 Linux - Networking 4 10-16-2007 11:52 AM
Slackware's a bit ... overwhelming Mr. Hill Linux - Newbie 6 02-11-2005 04:29 AM
winbind: wbinfo -g only lists global groups from PDC and not local groups saradiya Linux - Networking 0 12-01-2003 02:58 AM
Mouse in Slackware's KDE Manarius Slackware 3 11-06-2003 10:28 PM
I broke slackware's keyboard Tech1 Slackware 6 05-07-2003 06:52 AM

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

All times are GMT -5. The time now is 02:57 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