1752800 Members
5934 Online
108789 Solutions
New Discussion юеВ

Logins and HP-UX 11i V1

 
Pete Kelly
Frequent Advisor

Logins and HP-UX 11i V1

Hi All,

I have a number of HP-UX 11i V1 servers, under a previous build, I regularly used the logins command to display various user IDs etc. The command doesn't appear to be available in 11iV1. Anyone got any ideas as to what the command is now called? Or is there a security program I need to install?
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Logins and HP-UX 11i V1

Pete,

Not sure what to tell you - it exists on my 11iV1 PA-RISC machines! I would think you could do the same thing with a relatively simple awk command, though.


Pete

Pete
Doug O'Leary
Honored Contributor

Re: Logins and HP-UX 11i V1

Hey;

# uname -r
B.11.11
# which logins
/usr/sbin/logins

It's on mine too.

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Yogeeraj_1
Honored Contributor

Re: Logins and HP-UX 11i V1

hi,

This command is still available.

# which logins
/usr/sbin/logins
# logins
nobody -2 nogroup -2
root 0 sys 3
daemon 1 daemon 5
bin 2 bin 2
sys 3 sys 3
adm 4 adm 4
uucp 5 sys 3
lp 9 lp 7
nuucp 11 nuucp 11
hpdb 27 other 1 ALLBASE
www 30 other 1
webadmin 40 other 1
...
#

check you PATH.

hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Dennis Handly
Acclaimed Contributor

Re: Logins and HP-UX 11i V1

>Pete: it exists on my 11iV1 PA-RISC machines!

Yes, it is on mine too. But it is in this product:
# SOE SOE
SOE.SOE BellCore Std Operating Environ

(The BellCore name only shows up on 11.23.)

It also has: listusers pwconv pwunconv sysdef
Pete Kelly
Frequent Advisor

Re: Logins and HP-UX 11i V1

Thanks All, I too have found it on another 11iV1 server as well.

Is there some product / software bundle I'm missing?
Doug O'Leary
Honored Contributor

Re: Logins and HP-UX 11i V1

Hey

Here's the relevant info:

# swlist -l file | grep -i /sbin/logins
PHCO_28194.SOE: /usr/sbin/logins
SOE.SOE: /usr/sbin/logins

# swlist -a description -l product SOE
# Initializing...
# Contacting target "usildb07"...
#
# Target: usildb07:/
#

SOE "Vendor Name: Hewlett-Packard Company

Product Name: SOE

Text:

The SOE SD product contains 2 filesets: Manuals and Runtime.

The Runtime subproduct contains the SOE fileset.

Bell Communications Research, Inc. (Bellcore) has published a detailed
Technical Reference to inform the industry of Bellcore's proposed
requirements for a Standard Operating Environment (SOE) for the Unix
operating system. "The object of this SOE is to provide maximum
source-level portability of Bellcore Unix-based applications and
maximum "people-portability;" i.e. to allow developers and system
administrators to move form one UNIX-based vendor system to another
with minimum difficulty." The SOE references XPG3, SVID3 and SYSV4 as
the base standards for their operating environment.

The SOE product contains a number of facilities for logon and system
administration. The checkfsys, makefsys, umountfsys, mountfsys,
powerdown and sysadm facilities are administrative logins that provide
controlled points of access to different administrative capabilities.
Passwords for there different logins can be given out to technical
support personnel on an as needed basis. This new granularity provides
the system administrator more control over which people are allowed to
perform a specific system administrative task.

Setup(1M) provides a set of capabilities to set up a system quickly.
It is an alternative to using the System Administrative Manager (SAM).

logins is used to display a variety of data about system and user logins.
listusers is used to display information about user logins.

"

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html