cancel
Showing results for 
Search instead for 
Did you mean: 

HP UX 11.2 Log entery

SOLVED
Go to solution
sanjay.kumar
Occasional Advisor

HP UX 11.2 Log entery

Hi all

I want to implement the log of successful entry in my server is it possible in HP UX without configuring NIS or without changing it to Trusted mode??

IS shadow file help in that????
3 REPLIES
johnsonpk
Honored Contributor

Re: HP UX 11.2 Log entery

Hi Sanjay,

Can you please explain your requirement a bit more ??

Rgds
Johnson
Sajjad Sahir
Honored Contributor
Solution

Re: HP UX 11.2 Log entery

Dear Sanjay

The following files keep a log of logins:

The /var/adm/btmp file keeps track of failed logins.

The /var/adm/wtmp file keeps track of successful logins.

Use the lastb command to read the /var/adm/btmp file to see if unauthorized users have attempted to log in.

Use the last command to read the/var/adm/wtmp file.

thanks and regards

Sajjad Sahir



Steven E. Protter
Exalted Contributor

Re: HP UX 11.2 Log entery

Shalom,

inetd -l

Turns on logging when users enter.

Shadow file doesn't help with that.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com