Re: [gentoo-user] User group problem

2006-04-13 Thread Anthony E. Caudel
Bummer!

Thanks, guys.

Tony

Dan LaMotte wrote:
 You can do
 
 % newgrp groupname
 
 and the shell that it is executed in will then show the change.
 
 % groups
 
 will prove that you are in the group currently.
 
 But in order for new terminals that you spawn from an X session to have
 the new group you must log out and log back in.  That is correct.
 
 # - dan lamotte -- lamotte {at} cs.umn.edu - #
 ## - systems staff -  - uofm -  - cs department - 
 ### fpr: 690F C162 4AE5 F85F FE94 88E5 D123 FBAC 0852 A280 ###
 
 
 Zac Slade wrote:
 
On Tuesday 11 April 2006 12:57, Anthony E. Caudel wrote:

Maybe I'm not doing something right.  From KDE's konsole, I invoked a
new shell with bash -l and then ran id but it did not reflect the
new group.

No you did nothing wrong.  I double checked it and it's as I feared.  You 
have 
to log out and back in for the changes to be reflected.  Any new logins will 
reflect the group change, but not existing ones.   If you ssh into your 
system that login will reflect the new group, just as if you logged out and 
back into X the changes will be reflected.

This is a shortcoming of the Unix strategy for dealing with users.  They are 
immutable after they log in.


-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] User group problem

2006-04-11 Thread Zac Slade
On Tuesday 11 April 2006 01:34, Anthony E. Caudel wrote:
 I sometimes have to add my user to a group. This of course doesn't take
 effect until I log out and back in.   However, if I'm under X, I can't
 logout without first exiting X.

 So, I'm wondering if there is any way to re-log the user without exiting X?
Not really.  (please someone correct me if I'm wrong)

However, if you are using a terminal to launch an application and using bash 
-l for that terminal application then anything you start will show the new 
group.

If you are instead just launching from the applications menu in your desktop 
(kde, gnome, blackbox) then you have to log out of X then log back in.
-- 
Zac Slade
[EMAIL PROTECTED]
ICQ:1415282 YM:krakrjak AIM:ttyp99
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] User group problem

2006-04-11 Thread Anthony E. Caudel
Zac Slade wrote:
 On Tuesday 11 April 2006 01:34, Anthony E. Caudel wrote:
 
I sometimes have to add my user to a group. This of course doesn't take
effect until I log out and back in.   However, if I'm under X, I can't
logout without first exiting X.

So, I'm wondering if there is any way to re-log the user without exiting X?
 
 Not really.  (please someone correct me if I'm wrong)
 
 However, if you are using a terminal to launch an application and using bash 
 -l for that terminal application then anything you start will show the new 
 group.
 
 If you are instead just launching from the applications menu in your desktop 
 (kde, gnome, blackbox) then you have to log out of X then log back in.

Maybe I'm not doing something right.  From KDE's konsole, I invoked a
new shell with bash -l and then ran id but it did not reflect the
new group.

Tony

-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list