- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- trapping attempts to assume identity of another us...
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-09-2001 08:49 AM
08-09-2001 08:49 AM
trapping attempts to assume identity of another user
I have two questions
1. What are the various ways by which a user can attempt to assume the identity/permissions of another user?
2. What are the ways to trap those successful and unsuccessful attempts?
Thanx
Akhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 08:54 AM
08-09-2001 08:54 AM
Re: trapping attempts to assume identity of another user
man su
this logs to the sulog known as /var/adm/sulog
Also it logs it into syslog.log if I remember correctly.
There are of course many other additional pieces of software you could install, such as sudo, and these will log differently
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 09:04 AM
08-09-2001 09:04 AM
Re: trapping attempts to assume identity of another user
I am aware of "su" and "/var/adm/sulog", but what i wanted to know was other ways to assume the identity and trapping that attempt, successful or unsuccessful.
Thanx
Akhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 09:11 AM
08-09-2001 09:11 AM
Re: trapping attempts to assume identity of another user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 09:22 AM
08-09-2001 09:22 AM
Re: trapping attempts to assume identity of another user
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 09:39 AM
08-09-2001 09:39 AM
Re: trapping attempts to assume identity of another user
If the setuid bit is on an executable, say ksh, and the owner of the file is another user, then yes, they can "become" that user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 10:32 AM
08-09-2001 10:32 AM
Re: trapping attempts to assume identity of another user
thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2001 04:48 AM
08-10-2001 04:48 AM
Re: trapping attempts to assume identity of another user
U can consider doing the following things..
* If U want to trap unsuccessful 'su' attempts
Pls have a look at
/var/adm/sulog file with
User1 is trying to switch to User2 but he
failed to give the correct password..
SO U can write a simple script to analyze
the log and create an report..
* If U want to trap Unsuccsful login attempts
then U can user "lastb" command..
Also U can enable "auditing" and audit
the unsuccessful login attempts
What else U need ?
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2001 05:30 AM
08-11-2001 05:30 AM
Re: trapping attempts to assume identity of another user
From my home directory I try 2 things:
1.'su' to another id 'james'
2.'login' to another id 'james'
Now, How do I send an alarm for each of these attempts, regardless of whether it is unsuccessful or successful.
The alarm should be such that it says that id 'akhil' trying to assume id of 'james'.
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2001 08:00 AM
08-11-2001 08:00 AM
Re: trapping attempts to assume identity of another user
you can monitor the "sulog" with something like
the followinf script running in the background:
#!/usr/bin/sh
nohup tail -f /var/adm/sulog | while read line; do
echo $line | mailx -s"SU" akhil
done
or you may write your own "PAM" module to it
(that's "Pluggable Authentication Module" - see man
page on "pam.conf").
HTH,
Wodisch