- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi Experts,
Is there a way to Audit the NIS user accounts.
To explain, we need to perform an audit on NIS user accounts and their home folders which is hosted on a seperate server.
I need to identify the last logins using the NIS user account and the services on each of my servers that run as these NIS users.
I've managed to filter most of the accounts by grabbing the cron/at files from each of the server for all the NIS users who have scheduled jobs on each of these servers and to check the Home folder access on the Home server and the last login details on the servers. But, I'm not sure if this gives a perfect/perfect audit info (I doubt it)
Can someone advice please.
Kumaran
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: yuzhPosted on 2006-09-27 at 17:59:27ID: 17615497
>To explain, we need to perform an audit on NIS user accounts and their home folders which is hosted on a seperate server.
ity/sp/Sol aris_bsm.h tml om/infocus /1362
/mleahu/do c/unix/net / nis%20faq .htm#nis3 un/autofs. html
you can have a look at the output of
ypcat auto_home
eg:
ypcat auto_home | grep -v `hostname`
#to excluding the users' home in the local machine.
>I need to identify the last logins using the NIS user account and the services on each of my servers that run as these NIS users.
to find out who is last login to the system, use "last" comand
eg:
last -100
the last 100 logins
man last to learn more details.
if you want to find out what commands the user run, you need to enable the Basic Security Module.
Have a look at the following docs about BSM, to learn more:
http://www.boran.com/secur
http://www.securityfocus.c
http://docs.sun.com -- Search for BSM
and the use "lastcomm" to find out
man lastcomm
to learn more details.
also have a look at the Solaris NIS FAQs:
http://mleahu.home.cern.ch
http://www.pimpworks.org/s