Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Ultrix finger quirk? or is it csh?
@ 1994-02-14 22:26 Will Kessler
  1994-02-15 22:57 ` Mike O'Connor
  0 siblings, 1 reply; 3+ messages in thread
From: Will Kessler @ 1994-02-14 22:26 UTC (permalink / raw)


Hello ultrix users,

Can anyone tell me why the following two commands to csh on an ultrix
4.2 decstation produce radically different output:

/usr/ucb/finger @ remote.computer.edu

/usr/ucb/finger @remote.computer.edu

The first command lists all users that have accounts on the local
machine, the second lists currently logged in users on the remote
machine, remote.computer.edu.  This is not what I'd expect.

Thanks for any hints on this puzzler.

Will Kessler
kessler@roses.stanford.edu
Rehabilition Research Division
Dept. of Veterans Affairs
3801 Miranda Avenue/153
Palo Alto, CA 93404-1200
(415) 493-5000 x4726



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Ultrix finger quirk? or is it csh?
  1994-02-14 22:26 Ultrix finger quirk? or is it csh? Will Kessler
@ 1994-02-15 22:57 ` Mike O'Connor
  1994-02-16 19:24   ` Sean Willard
  0 siblings, 1 reply; 3+ messages in thread
From: Mike O'Connor @ 1994-02-15 22:57 UTC (permalink / raw)


In article <2jotrh$586@nntp2.Stanford.EDU> kessler@roses (Will Kessler) writes:
:Hello ultrix users,
:
:Can anyone tell me why the following two commands to csh on an ultrix
:4.2 decstation produce radically different output:
:
:/usr/ucb/finger @ remote.computer.edu
:
:/usr/ucb/finger @remote.computer.edu
:
:The first command lists all users that have accounts on the local
:machine, the second lists currently logged in users on the remote
:machine, remote.computer.edu.  This is not what I'd expect.

An "@" argument to Ultrix's finger setup just specifies to list all
users.  You could "finger @" or telnet to port 79 (the finger port) of
your Ultrix host and type "@" and get that same list of users.
"finger @ remote.computer.COM" is the same as "finger @", since
someone probably thought it was a good idea to ignore the successive
arguments to finger.  Doesn't "finger @" on an Ultrix 4.2 box crash
the box if you have a sufficiently large passwd file?

						...Mike

-- 
 Michael J. O'Connor           |  Internet:  mjo@jobone.srl.ford.com
 Ford Motor Company, OPEO      |  UUCP:      ...!fmsrl7!opeo!mjo
 20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
 Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Ultrix finger quirk? or is it csh?
  1994-02-15 22:57 ` Mike O'Connor
@ 1994-02-16 19:24   ` Sean Willard
  0 siblings, 0 replies; 3+ messages in thread
From: Sean Willard @ 1994-02-16 19:24 UTC (permalink / raw)


Mike O'Connor (mjo@iao.ford.com) wrote:
) In article <2jotrh$586@nntp2.Stanford.EDU> kessler@roses (Will Kessler)
) writes:
) :/usr/ucb/finger @ remote.computer.edu
         [ vs ]
) :/usr/ucb/finger @remote.computer.edu

) An "@" argument to Ultrix's finger setup just specifies to list all
) users.  You could "finger @" or telnet to port 79 (the finger port) of
) your Ultrix host and type "@" and get that same list of users.
) "finger @ remote.computer.COM" is the same as "finger @", since
) someone probably thought it was a good idea to ignore the successive
) arguments to finger.  Doesn't "finger @" on an Ultrix 4.2 box crash
) the box if you have a sufficiently large passwd file?

Actually, the successive arguments *don't* get ignored.  On a reasonable
machine (e.g. OSF 1.2) the '@' means '@localhost', while under Ultrix
4.2 it seems to be interpreted as the list of all usernames in
/etc/passwd; either way, any argument not starting with an '@' is taken
to be a username, resulting (in this case) in a last line

Login name: remote.computer.edu                 In real life: ???

ObUselessTip: 'finger @@typical.ultrix42.host' will list ALL accounts
existing on that machine.

--
Sean Willard                        sean@panofsky.desy.de


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-02-16 19:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-14 22:26 Ultrix finger quirk? or is it csh? Will Kessler
1994-02-15 22:57 ` Mike O'Connor
1994-02-16 19:24   ` Sean Willard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox