* [gentoo-user] gpasswd
@ 2007-09-06 14:13 Robert Walter
2007-09-06 14:36 ` Alex Schuster
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Robert Walter @ 2007-09-06 14:13 UTC (permalink / raw
To: gentoo-user
hi
i've added myself to the vboxusers group with "gpasswd -a robert vboxusers".
when i do a "id robert" with root i see the added group but when i start a new xterm with user robert i'm still not added to the new group.
how do i make the changes take effekt without logout/login?
i thought there was a command but i can't remember nor find one :(
best regards. robert
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] gpasswd
2007-09-06 14:13 [gentoo-user] gpasswd Robert Walter
@ 2007-09-06 14:36 ` Alex Schuster
2007-09-06 15:29 ` Dan Farrell
2007-09-06 15:45 ` Neil Bothwick
2007-09-06 17:27 ` [gentoo-user] gpasswd Alan McKinnon
2 siblings, 1 reply; 6+ messages in thread
From: Alex Schuster @ 2007-09-06 14:36 UTC (permalink / raw
To: gentoo-user
Robert Walter writes:
> i've added myself to the vboxusers group with "gpasswd -a robert
> vboxusers". when i do a "id robert" with root i see the added group but
> when i start a new xterm with user robert i'm still not added to the new
> group. how do i make the changes take effekt without logout/login?
> i thought there was a command but i can't remember nor find one :(
I don't know of such a command, but at least "ssh localhost" allows to login
without logout.
Alex
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] gpasswd
2007-09-06 14:36 ` Alex Schuster
@ 2007-09-06 15:29 ` Dan Farrell
0 siblings, 0 replies; 6+ messages in thread
From: Dan Farrell @ 2007-09-06 15:29 UTC (permalink / raw
To: gentoo-user
On Thu, 6 Sep 2007 16:36:36 +0200
Alex Schuster <wonko@wonkology.org> wrote:
> Robert Walter writes:
>
> > i've added myself to the vboxusers group with "gpasswd -a robert
> > vboxusers". when i do a "id robert" with root i see the added group
> > but when i start a new xterm with user robert i'm still not added
> > to the new group. how do i make the changes take effekt without
> > logout/login? i thought there was a command but i can't remember
> > nor find one :(
>
> I don't know of such a command, but at least "ssh localhost" allows
> to login without logout.
>
> Alex
>
existing programs will not load the new groups; for example, your
window manager that starts the xterm. i think `source /etc/profile`
might do it but not sure.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] gpasswd
2007-09-06 14:13 [gentoo-user] gpasswd Robert Walter
2007-09-06 14:36 ` Alex Schuster
@ 2007-09-06 15:45 ` Neil Bothwick
2007-09-06 16:12 ` [gentoo-user] gpasswd [solved] Robert Walter
2007-09-06 17:27 ` [gentoo-user] gpasswd Alan McKinnon
2 siblings, 1 reply; 6+ messages in thread
From: Neil Bothwick @ 2007-09-06 15:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 632 bytes --]
Hello Robert Walter,
> i've added myself to the vboxusers group with "gpasswd -a robert
> vboxusers". when i do a "id robert" with root i see the added group but
> when i start a new xterm with user robert i'm still not added to the
> new group. how do i make the changes take effekt without logout/login?
> i thought there was a command but i can't remember nor find one :(
newgro vboxusers, but it only applies to the current shell (and anything
launched from it). To have all applications see the change, you need to
log into your desktop again.
--
Neil Bothwick
Top Oxymorons Number 48: freewill offering
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] gpasswd [solved]
2007-09-06 15:45 ` Neil Bothwick
@ 2007-09-06 16:12 ` Robert Walter
0 siblings, 0 replies; 6+ messages in thread
From: Robert Walter @ 2007-09-06 16:12 UTC (permalink / raw
To: gentoo-user
nice :) that worked
$ newgrp vboxusers
$ newgrp users (to change gid back to users)
thank you all!
On Thursday 06 September 2007, Neil Bothwick wrote:
> Hello Robert Walter,
>
> > i've added myself to the vboxusers group with "gpasswd -a robert
> > vboxusers". when i do a "id robert" with root i see the added group but
> > when i start a new xterm with user robert i'm still not added to the
> > new group. how do i make the changes take effekt without logout/login?
> > i thought there was a command but i can't remember nor find one :(
>
> newgro vboxusers, but it only applies to the current shell (and anything
> launched from it). To have all applications see the change, you need to
> log into your desktop again.
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] gpasswd
2007-09-06 14:13 [gentoo-user] gpasswd Robert Walter
2007-09-06 14:36 ` Alex Schuster
2007-09-06 15:45 ` Neil Bothwick
@ 2007-09-06 17:27 ` Alan McKinnon
2 siblings, 0 replies; 6+ messages in thread
From: Alan McKinnon @ 2007-09-06 17:27 UTC (permalink / raw
To: gentoo-user
On Thursday 06 September 2007, Robert Walter wrote:
> hi
> i've added myself to the vboxusers group with "gpasswd -a robert
> vboxusers". when i do a "id robert" with root i see the added group
> but when i start a new xterm with user robert i'm still not added to
> the new group. how do i make the changes take effekt without
> logout/login?
> i thought there was a command but i can't remember nor find one :(
> best regards. robert
You have to either
a) log out and log in, or
b) start a new *login* session with 'su - <username>', or
c) source your profile in *each* open shell
this works because your config settings are re-read from scratch each
time. Opening an xterm doesn't work as it does not start a new login
shell - you are alredy logged in, so when the shell starts in the
terminal it starts as a non-login shell
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-09-06 17:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-06 14:13 [gentoo-user] gpasswd Robert Walter
2007-09-06 14:36 ` Alex Schuster
2007-09-06 15:29 ` Dan Farrell
2007-09-06 15:45 ` Neil Bothwick
2007-09-06 16:12 ` [gentoo-user] gpasswd [solved] Robert Walter
2007-09-06 17:27 ` [gentoo-user] gpasswd Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox