- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Bad Login by root . How to trace?
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
Forums
Discussions
Discussions
Discussions
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
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
08-10-2004 10:39 PM
08-10-2004 10:39 PM
Bad Login by root . How to trace?
How to trace these bad login?
I want to know
Who try to login by "root"?
Which terminal(IP) used to login?
Thanks for advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 10:42 PM
08-10-2004 10:42 PM
Re: Bad Login by root . How to trace?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 10:42 PM
08-10-2004 10:42 PM
Re: Bad Login by root . How to trace?
The lastb command is used to display this information.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 10:45 PM
08-10-2004 10:45 PM
Re: Bad Login by root . How to trace?
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 11:08 PM
08-10-2004 11:08 PM
Re: Bad Login by root . How to trace?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 11:16 PM
08-10-2004 11:16 PM
Re: Bad Login by root . How to trace?
What is bad login by root?
Anyone who has root password is good as long as it is not for bad intentions. Is root passwd not safe?
Is direct root login allowed or one has to do su to access root?
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 11:17 PM
08-10-2004 11:17 PM
Re: Bad Login by root . How to trace?
IF you want to get detailed informations of login failed then use as,
lastb -xR -5
-x extended format
-R hostname / ip-address
-5 count
You can change account of badlogin file to anyother file using lastb -f
terminal of console gives the attempt of login as root
other ttys with users are for their respective logins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 12:49 PM
08-11-2004 12:49 PM
Re: Bad Login by root . How to trace?
(our audit tool check user login by "root".
once user successfully login by root, it will ask user to type in their ID, if the answer is "N" or non-input, the login in will be cancelled.)
our system allow direct login to root.
and this time no person su to root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 04:02 PM
08-11-2004 04:02 PM
Re: Bad Login by root . How to trace?
We can stop users to use su as,
/etc/default/security file,
SU_ROOT_GROUP=groupname which you want to give permission to use su permission
or make a script as,
mv your su to /usr/bin/su1
And make your own script to call su1 after making your script as su.
It has to ask arguments - username and check username is null then ask the user to type user and root can not be used for su
Regards
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 04:26 PM
08-11-2004 04:26 PM
Re: Bad Login by root . How to trace?
echo "$LOGNAME logon: `finger $LOGNAME |grep from`" >>$HISTFILE
Add the above to /etc/profile, it will record login detail and all commands issued by the login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 07:23 PM
09-08-2004 07:23 PM
Re: Bad Login by root . How to trace?
We have fixed the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 07:24 PM
09-08-2004 07:24 PM