View previous topic :: View next topic |
Author |
Message |
rxn n00b
Joined: 08 Apr 2003 Posts: 23
|
Posted: Mon Apr 28, 2003 6:47 am Post subject: group id (gid) |
|
|
question about gid - when setting up my system for ntfs reading support, i was doing the /etc/fstab entry for the windows drive, when i came to the part in the faq about setting gid's for the drive. could someone explain how the gids work? im not sure how to set it so that just my non-root user can access it, not *everyone* ... is there some way to list the groups/gids on a system? |
|
Back to top |
|
|
m0pr0be Guru
Joined: 29 Aug 2002 Posts: 308
|
Posted: Mon Apr 28, 2003 9:56 am Post subject: |
|
|
hi,
you can list the groups on the system with
to allow just one user to use the ntfs mount, you can create a sole group for that user.
name the group like the user and put the user in there, or make it the default group for that user.
christoph |
|
Back to top |
|
|
rxn n00b
Joined: 08 Apr 2003 Posts: 23
|
Posted: Mon Apr 28, 2003 9:46 pm Post subject: |
|
|
ok... how would one go about adding their user to a group? not sure about what command will add groups to a user's perms. |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Mon Apr 28, 2003 10:11 pm Post subject: |
|
|
Just edit the /etc/group file
add the user to a group like this
Code: | audio::18:puggy,sarah |
this adds puggy and sarah to the audio group
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
m0pr0be Guru
Joined: 29 Aug 2002 Posts: 308
|
Posted: Wed Apr 30, 2003 12:14 am Post subject: |
|
|
hi,
you can also use usermod to modify the groups a user belongs to. this tool does the same like
editing /etc/group manually. but it has some more options. and its more powerful.
christoph |
|
Back to top |
|
|
|