Welcome to the most active Linux Forum on the web.
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-02-2006, 04:46 PM   #1
Registered: Jun 2005
Posts: 374

Rep: Reputation: 30
Force group membership reload?

I just added myself to a group by editing /etc/group and adding my username but when I do "id" the group doesn't show up yet...

Is there a way to force a reload without logging off and back on again since I have lots of things in progress that I'd lose if I log off?
Old 06-02-2006, 05:30 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
man newgrp
Be aware that this is only for the current shell. The only
permanent (and global) fix is to log out and back in.

Old 06-03-2006, 04:02 AM   #3
Registered: Jun 2005
Posts: 374

Original Poster
Rep: Reputation: 30
thanks for the tip


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
Tomcat reload servlet is very slow, but reload jsp is fast and good? gsbarry Programming 2 04-28-2006 09:34 PM
Command 'groups' doesn't show group membership correctly Akhran Debian 1 03-14-2006 06:16 AM
Group membership? KlaymenDK Mandriva 4 06-25-2004 04:10 AM
Force user to be in a group to use su? jrbush82 Linux - Security 2 06-03-2004 09:48 PM
Group Membership Question rlkiddjr Linux - General 3 06-18-2002 10:26 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:03 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
Open Source Consulting | Domain Registration