Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-03-2005, 04:31 PM   #1
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
howto add users to group?

with lots of help i set up a NFS server on my gaming box to share out the family movies to my media box. the issue is my normal user on the gaming box does not have access to the shares on its own system.

i have 2 full hard drives shared out to the LAN that both my laptop and media box have 100% access to, but...not my normal user on that box.

how do i go about adding my normal user to that proper group. also how do i go about finding out what that group is called to add my user.

distro = debian-sarge. the NFS server and the laptop are both 2.6.8 kernel, with the media box 2.4.14 custom kernel. had to customize it for the MB to gain access to the DMA on the drives. again had loads of help with that project.

Thank you.
Old 06-03-2005, 04:43 PM   #2
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
/etc/group and /etc/passwd should give you the info you need, also the appropriate manuals. The command to add a user to a certain group would be (if you dont want to do it manually in the aforementioned files)
# as root
usermod -G group-to-add username
Old 06-04-2005, 01:28 AM   #3
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
thank you, that was exactly what i needed.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot add new group in RH jimberg51 Linux - General 1 06-08-2005 02:13 PM
Add a group to a group? Temujin_12 Linux - Security 2 06-08-2005 04:58 AM
/etc/group - the group users empty Artanicus Linux - General 2 02-22-2005 05:25 AM
add all users as audio group Kocil Linux - Security 1 07-27-2004 03:28 AM
add users to new group, non-GUI jules_fraser Linux - Newbie 3 01-22-2004 07:37 AM

All times are GMT -5. The time now is 05:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration