Operating System - HP-UX
1748228 Members
4535 Online
108759 Solutions
New Discussion юеВ

Re: query regarding system hardening

 
SOLVED
Go to solution
george_urr
New Member

query regarding system hardening

Can we find MAC address along with IP details
?
How to find the details of successful and unsuccessful login informations?

Can we trace the sequence of task/commands, user has issued?

Can we get configured our mail smtp to send a mail to a particular email address when someone has logged in and logout?
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: query regarding system hardening

Check into the "last" and "lastb" commands.

Tracing - no, not really - you can enable the user's history file but there is no date/timestamp in it and the user can edit it

You could script some sort of notification into your login routines by adding it into /etc/profile, for example - for logout, no.


Pete

Pete
S.N.S
Valued Contributor

Re: query regarding system hardening

George,

From ITRC, worth a read:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1278520406118+28353475&threadId=576489

HTH
SNS
"Genius is 1% inspiration, 99% Perspiration" - Edison
george_urr
New Member

Re: query regarding system hardening

Can we find MAC address along with IP details
?

Can we get configured our mail smtp to send a mail to a particular email address when someone has logged in and logout?

I am not good in scripting
Bhadresh
Trusted Contributor

Re: query regarding system hardening

>>>Can we find MAC address along with IP details?

You can use lanscan or nwmgr command to find MAC Address(Station Address).
Issue ifconfig lan# to find corresponding IP Address for lan.

>>> How to find the details of successful and unsuccessful login informations?

Have a look at following thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=912830

Regards,
Bhadresh

Suraj K Sankari
Honored Contributor

Re: query regarding system hardening

Hi,

>>Can we find MAC address along with IP details?
Ans:yes you can use
lanscan for MAC address and
netstat -in or ifconfig lanX for ipaddress

>>How to find the details of successful and unsuccessful login informations?
Ans:last and lastb is the command for more see the man pages

>>Can we trace the sequence of task/commands, user has issued?
Ans:see the users .sh_history file (If history configure)

>>Can we get configured our mail smtp to send a mail to a particular email address when someone has logged in and logout?
Ans:yes you can.

Suraj