LinuxQuestions.org
Help answer threads with 0 replies.
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, 11: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, 11: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, 12:18 PM   #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, 11: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 12:25 PM.
 
Old 05-13-2004, 05: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, 10: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, 04: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


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


All times are GMT -5. The time now is 08:17 AM.

Main Menu
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