07-22-05 07:53 AM
How can a user refresh his/her current shell environment after, for
example, sysadmin adds him/her to another group ?
EXAMPLE:
groups command gives for the user joe this
548 palace:~ > groups
power lp neptune saruman
sysadmin adds joe to the group proj
If joe types groups on one of existing terminals the result is the same
as from above. He is not a member of group proj
Of course, if the user telnets to itself, he/she will see proj as a
part of his group
549 palace:~ > telnet palace
Trying 10.188.27.17...
Connected to palace.
Escape character is '^]'.
Red Hat Desktop release 3 (Taroon)
Kernel 2.4.21-20.EL on an i686
login: joe
Password:
Last login: Thu Jul 21 14:55:29 from palace.XXX.XXX
501 palace:~ > groups
power lp neptune saruman proj
============================
So, I am repeating the question:
How can a user refresh his/her current shell environment after, for
example, sysadmin adds him/her to another group (without log out and
log in sequence)?
Sincerely
Igor
P.S: sourcing .login does not help
sourcing .cshrc does not help
of course, rsh to palace works too ... but this is just a workaround (
like telnet )
[ Post a follow-up to this message ]
|