Date: Fri, 10 Mar 2000 02:12:45 +0000 From: Paul Richards <paul@originative.co.uk> To: current@freebsd.org Subject: The pw command Message-ID: <38C85A1D.F7A21141@originative.co.uk>
index | next in thread | raw e-mail
Non-root users can use the pw command to get information from the master.passwd file e.g. ps showuser paul paul:*:1000:1000::0:0:& Richards:/home/paul:/usr/local/bin/bash which shows the class, password expiry and account expiry. I'm not sure whether that's information that should be kept secure but it does seem like 'pw' is the only command that makes it available. The 'chsh' command doesn't show this information except when run as root for instance. Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38C85A1D.F7A21141>
