-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Payson wrote:
> Dirk Raeder wrote:
> 
> That was it! But now I'm confused... All along, id showed that I was in
> wheel:
> 
> uid=1000(mike) gid=100(users) groups=100(users),5(tty),10(wheel),18(audio)
> 
> In addition, I couldn't su to another normal user, though I can now. Can
> only wheel users change to other normal users as well?
> 
> Ok... a bit more digging... I take it id reads it's groups from the
> gshadow file, but that su only looks in the groups file... That seems
> like a bug to me-- or is there method behind the madness?
> 
AFAIK, id shows the values you logged in with - su uses the most recent
ones. IOW, the files that are on disk.

- --
Dirk Raeder

I prefer encrypted and signed messages. My GPG key is available at
hkp://blackhole.pca.dfn.de with ID 0x05EB5446

Registered Linux user #378554
http://counter.li.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCCclv2QYJ1wXrVEYRAvoUAJsEGg8GEU1RVT4ecl+PFEuxhfyHQQCgwQ42
6EqlAYvM6lQrRVgc4J78MQI=
=qAOj
-----END PGP SIGNATURE-----

--
[email protected] mailing list

Reply via email to