Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
05-12-2004, 10:09 AM
|
#1
|
|
Member
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334
Rep:
|
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?
|
|
|
|
05-12-2004, 10:56 AM
|
#2
|
|
Member
Registered: Apr 2004
Distribution: Slackware 9.1/10.1, Mandrake 9.1/10.1
Posts: 75
Rep:
|
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?
|
|
|
|
05-12-2004, 11:18 AM
|
#3
|
|
Member
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334
Original Poster
Rep:
|
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.
|
|
|
|
05-13-2004, 10:32 AM
|
#4
|
|
Member
Registered: Apr 2004
Distribution: Slackware 9.1/10.1, Mandrake 9.1/10.1
Posts: 75
Rep:
|
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.
|
|
|
|
05-13-2004, 04:35 PM
|
#5
|
|
Member
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334
Original Poster
Rep:
|
I did it .. I just put my gid in the fstab now no one without that gid can access that drive
|
|
|
|
05-13-2004, 09:10 PM
|
#6
|
|
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:
|
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
|
|
|
|
05-15-2004, 03:40 AM
|
#7
|
|
Member
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334
Original Poster
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:10 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|