- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS login history
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2008 03:49 AM
тАО05-06-2008 03:49 AM
NIS login history
Forgive me here, it's been 2 years since I last logged into a HPUX server !!
I am performing an audit at a customer site with a mix of 10.20 and 11 servers in a NIS environment. There are almost 800 users defined in passwd.byname of which I suspect there are less than 50 active users.
Can anyone confirm whether the last command also covers NIS users ?? If not, what is the best method to obtain login information from NIS users
TIA
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2008 04:05 AM
тАО05-06-2008 04:05 AM
Re: NIS login history
On our NIS Master, HP-UX 11.00 fully patched (No cracks about support, I'm not a boss here), does not report NIS logins in the last command.
I would assume therefore it does not.
The login via NIS will show up on the server actually being connected to's last command.
Example:
NIS Master: triton
NIS Client system: raptor
User viper logs into server raptor.
The last command on triton shows nothing.
The last command on raptor shows user viper logging in.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2008 04:45 AM
тАО05-06-2008 04:45 AM
Re: NIS login history
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2008 04:50 AM
тАО05-06-2008 04:50 AM
Re: NIS login history
Thanks for the responses.
Yes, following Stephen's reply, I will get a list of clients and collect information from those
TIA
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2008 05:38 AM
тАО05-06-2008 05:38 AM
Re: NIS login history
On the NIS client, are you able to determine that the user was logged in via NIS ? If so, how ?
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2008 05:44 AM
тАО05-06-2008 05:44 AM
Re: NIS login history
Tough one there.
strings /var/adm/wtmp
You will see raw data and may be able to script a solution that provides you this data.
These systems seem to be able to know where the login came from and if you look at this:
shmuelmaster.il.nds.com
remshd
It would appear that some ability to discern login type is there.
Not anything I'd hang an audit report on.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2008 06:22 AM
тАО05-06-2008 06:22 AM
Re: NIS login history
Hmmm, thanks. It would also be quite hard to do this with an infinite number of clients.... There must be a way to do this from the server end
Steve