Re: How to list all users?

From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 09/01/04


Date: Wed, 1 Sep 2004 13:40:53 -0000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In alt.os.linux Richard Cavell <richardcavell@mail.com> suggested:
> Hi,

> What do I type into bash to list all the users who currently have an
> account on my system?

 cut -d: -f1 /etc/passwd

Presuming only local user, try 'man cut' for more info.

-- 
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBNdFjAkPEju3Se5QRAo08AKCHYMEmr/lgbXA2KSQC0M1gTTmgswCZAUxd
t4iPuLWqbyWy/VvEpnkyxKc=
=I7fa
-----END PGP SIGNATURE-----


Relevant Pages

  • Re: PING: Paul Lutus <nospam@nosite.zzz> URGENT
    ... You need GnuPG to verify this message ... Michael Heiming uttered these immortal words: ... > through the server. ... web mail account and use that to register to news.individual.net. ...
    (alt.os.linux)
  • Re: pw create home dir issue
    ... Once home directory is created manually, the account ... This comes up in the mailing lists ... Version: GnuPG v2.0.8 (FreeBSD) ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (freebsd-questions)
  • Re: Need Little IT advice here...
    ... xguest might do what you want. ... to or as a kiosk user account. ... The account is disabled unless SELinux ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ ...
    (Fedora)
  • Re: [kde] k3b???
    ... I can't open a new account ... might be able to open a new account and file bug reports. ... I had no problem whatsoever when I changed ISP. ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ ...
    (KDE)
  • Re: Pam modifications
    ... your using some other form of authentication. ... (I saved the originals to 'roll back' to the original ... thus the account can't be locked. ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (Ubuntu)