From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653669621855.tru64-unix-managers.marc@archive.invalid> From: "Wagner, Ronald P" Date: Fri, 10 Aug 2001 12:22:10 +0000 To: tru64-unix-managers Subject: SUMMARY: who and consvar commands behave differently in single/mu X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653669621855 I sort of discovered the answer on my own. Both who and consvar rely on information in the utmp and wtmp files. To access these files, after booting to single user mode, you must do a mount /a or a bcheckrc to mount the file systems. I had missed this step so the commands were unable to return complete information. This is probably not a behavior change between 4.0d and 5.1. > -----Original Message----- > From: Wagner, Ronald P [SMTP:ronald.p.wagner@lmco.com] > Sent: Thursday, August 09, 2001 11:20 AM > To: tru64-unix-managers@ornl.gov > Subject: who and consvar commands behave differently in > single/multi-user modes > > I am running a 433au workstation with Tru64 5.1 PK 3 installed. I have > noticed that the consvar and who commands return somewhat different > results > when invoked in single-user and multi-user mode. > > When in multi-user mode, the commmands return results similar to the > following: > > # consvar -l > auto_action = HALT > boot_dev = dsk0 > bootdef_dev = dsk0 > booted_dev = dsk0 > > > # who -r > . run-level 3 Aug 9 14:29 3 0 S > > > > When in single user mode, consvar shows blanks for the boot_dev, > bootdef_dev, and booted_dev. And the who -r command returns a line > containing the single word 'root' which of course is the current user. > > I believe these behaviors are new to version 5.1. We previously used 4.0d > and did not notice anything unusual. > > Any ideas? > > Ron Wagner > Lockheed Martin Management & Data Systems > MARK IVB Program > * Bldg. 100, Rm. U1237 > PO Box 8048 > Philadelphia, PA 19101 > * (610) 354-5649 > e* ronald.p.wagner@lmco.com > FAX: (610) 354-7216 > >