🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #286

user real name

#286
From: James Meritt
Date: Tue, 04 Aug 1992 15:34
11 lines
896 bytes
It's no big deal to get the real name of the person who is executing a script
(to me, anyway) UNLESS the system is using yellow pages.  How do I then?
otherwise, I just use:
		grep $user /etc/passwd | cut -d: -f5


--
James W. Meritt:  m23364@mwunix.mitre.org - or - jmeritt@rod.mitre.org
The opinions above are mine.  If anyone else wants to share them, fine.
They may say so if they wish. The facts "belong" to noone and simply are.
Technical Details
Message-ID: <1992Aug4.153431.845@linus.mitre.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!ames!agate!linus!linus.mitre.org!mwunix!m23364

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!ames!agate!linus!linus.mitre.org!mwunix!m23364
From: m23364@mwunix (James Meritt)
Newsgroups: comp.unix.shell
Subject: user real  name
Message-ID: <1992Aug4.153431.845@linus.mitre.org>
Date: 4 Aug 92 15:34:31 GMT
Sender: news@linus.mitre.org (News Service)
Distribution: usa
Organization: Mitre Corporation, McLean VA
Lines: 11
Nntp-Posting-Host: mwunix.mitre.org