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 |
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. |
|
 |
09-14-2006, 01:25 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2006
Location: ca, usa
Distribution: rh9
Posts: 12
Rep:
|
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
|
|
|
|
09-14-2006, 01:52 PM
|
#2
|
|
Senior Member
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,043
Rep:
|
I don't think you can do this.
|
|
|
|
09-14-2006, 01:53 PM
|
#3
|
|
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189
Rep:
|
i think if you use the usermod command, you could do it without a change in session.
|
|
|
|
09-14-2006, 01:56 PM
|
#4
|
|
LQ Newbie
Registered: Jan 2006
Location: ca, usa
Distribution: rh9
Posts: 12
Original Poster
Rep:
|
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?
|
|
|
|
09-14-2006, 08:26 PM
|
#5
|
|
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189
Rep:
|
do not edit /etc/groups manually.
use the command
usermod -G group user
and then without closing the session you can do it.
|
|
|
|
| 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:40 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
|
|