Wie realisiert man GID-Abfrage auf Gruppen?

Matthias Borrack mailingliste at sinath.de
Thu Mar 22 16:16:15 UTC 2007


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

Michael Schwendt schrieb:
>> Hat jemand eine Idee, wie ich die ID einer Gruppe abfragen kann, ohne
>> einen Benutzer in der Gruppe zu haben und ohne die Verwendung von grep
>> oder awk?
> 
> Suchst Du sowas hier?
> 
> id -g Gruppenname

Das wäre doch zu einfach ;)

- ---8<---
# groupadd testi
# id -g testi
id: testi: Einen solchen Benutzer gibt es nicht
- --->8---

thx
Matthias
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGAqvOOL1m4svCsnwRAlX9AJ9hjI1qA43OUh97n9hJUVfqbzVLWgCfVwP8
cjQ/99pVZTEUGy9KmavZtE0=
=4YLL
-----END PGP SIGNATURE-----




More information about the Fedora-de-list mailing list