Operating System - HP-UX
1834089 Members
2469 Online
110063 Solutions
New Discussion

Re: Accessing Root Previlage

 
SOLVED
Go to solution
susee_sundar
Regular Advisor

Accessing Root Previlage

Hi..

Somebody in my network is trying to acess the Root previlage....
How can I find that from which Client he is trying to access.
4 REPLIES 4
MarkSyder
Honored Contributor

Re: Accessing Root Previlage

Assuming he's unsuccessful, his attempts will be written to btmp along with the ip address of the computer he's trying to access from:

/usr/sbin/acct/fwtmp < /var/adm/btmp

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
rariasn
Honored Contributor

Re: Accessing Root Previlage

HI,

hpux:

# lastb

# last

The lastb command searches backwards through the database file /var/adm/btmp to display bad login information. Access to
/var/adm/btmp should be restricted to users with appropriate privileges (owned by and readable only by root) because it may contain
password information.

# man last


rgs,

ran
Steven E. Protter
Exalted Contributor
Solution

Re: Accessing Root Previlage

Shalom,

lastb -R

Displays the IP address of the bad root login.

That should enable you to get the exact person or at least workstation trying to violate security.

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
susee_sundar
Regular Advisor

Re: Accessing Root Previlage

Thanks a lot to all ... I find the Solution from the last reply...