LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 09-14-2006, 02:25 PM   #1
fobster
LQ Newbie
 
Registered: Jan 2006
Location: ca, usa
Distribution: rh9
Posts: 12

Rep: Reputation: 0
how to load /etc/group settings without exiting session?


Hi,

I changed some settings in /etc/group (ie adding a myself to another group). Even after adding myself to the group, i cannot edit a file in that group even if it has write permission. I know if i start a new session i will be able to edit the file. How do i get those settings to take affect without exiting ssh session and reconnecting?

tia,

fbstr
 
Old 09-14-2006, 02:52 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,056

Rep: Reputation: 94
I don't think you can do this.
 
Old 09-14-2006, 02:53 PM   #3
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
i think if you use the usermod command, you could do it without a change in session.
 
Old 09-14-2006, 02:56 PM   #4
fobster
LQ Newbie
 
Registered: Jan 2006
Location: ca, usa
Distribution: rh9
Posts: 12

Original Poster
Rep: Reputation: 0
Actually, here's the full situation. I use putty to ssh into my home comp. I dont wanna close the window putty opened. Is there a way to restart the session without closing the window?
 
Old 09-14-2006, 09:26 PM   #5
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
do not edit /etc/groups manually.
use the command
usermod -G group user
and then without closing the session you can do it.
 
  


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
vnc session is not exiting at logout marozsas Linux - Software 3 07-18-2006 03:53 PM
Can't save my Gnome session settings fei Linux - Software 0 12-11-2005 11:38 PM
file to save session settings in? degraffenried13 Linux - General 3 01-17-2004 10:20 PM
What are Session ID, Group ID, Process ID... yrraja Linux - General 4 10-26-2003 11:33 PM
Session Character set settings merana Linux - General 2 12-02-2002 04:19 PM


All times are GMT -5. The time now is 05:37 AM.

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