Wie realisiert man GID-Abfrage auf Gruppen?

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


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

Stefan Held 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?
> 
> getent group name
Danke, aber das erfordert doch noch awk und / oder grep :(

- ---8<---
# id -g remote
1008
# getent group test
test:x:1004:
- --->8---

Aber es bringt das ganze schon mal einen Schritt voran :)


Danke und Gruß,
Matthias
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGAqw/OL1m4svCsnwRApAVAJ4yLHXyzfho7ePEho/TzJ6FcoGKiACgkwdJ
wzVhiW658a2M/SWC2sAHc1o=
=ZzCW
-----END PGP SIGNATURE-----




More information about the Fedora-de-list mailing list