[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sun, 5 Aug 2007 21:53:28 +0300
On Sunday 05 August 2007 20:48:57 David Krmpotic wrote:
> In Ubuntu (7.04 and 6.06 at least) there is a problem with "id" command.
> The info from the command is often not updated.. for example if I change
> the user's group by newgrp command and then issue "id", I still see the
> old primary group. If I say "id username", I get the right info... But
> the really funny thing is that once happened just the opposite.. I got
> the wrong info when saying "id username" and the right when saying just
> "id".. here is the first scenario:
> sudo delgroup david svn
> Removing user `david' from group `svn'...
> address@hidden:/var/svn/thoughtbag$ id
> uid=1000(david) gid=1000(svn) groups=100(users),1000(svn)
> address@hidden:/var/svn/thoughtbag$ id david
> uid=1000(david) gid=100(users) groups=100(users)
PAM caches this info, try logging out and logging in. Also this has been
discussed before, try searching the archives.
Perfect is the enemy of good
- ID, David Krmpotic, 2007/08/05
- Re: ID, Bob Proulx, 2007/08/05
- Re: ID,
Ismail Dönmez <=