- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- logging in with out entry in /etc/passwd
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
04-23-2003 02:02 PM
04-23-2003 02:02 PM
It has been reported that someone has logged into a system with a username. But the username is not in /etc/passwd. How can someone log into a system without a username in /etc/passwd?
I was thinking maybe if there is still some trace of the user in other files maybe pam ? Does anyone have any ideas on what else I could check.
Thanks
Richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 02:04 PM
04-23-2003 02:04 PM
Re: logging in with out entry in /etc/passwd
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 02:05 PM
04-23-2003 02:05 PM
SolutionCan you do a 'last username' and see that user? What about 'last | grep username'? Is anything returned?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 02:14 PM
04-23-2003 02:14 PM
Re: logging in with out entry in /etc/passwd
last didnt show anything but there was a file in /tcb/files/auth/w with the username in questions and also the home directory.
i did userdel -r username
and the files are all gone.
could that have been it?
I still think it was weird that there was no /etc/passwd entry.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 02:27 PM
04-23-2003 02:27 PM
Re: logging in with out entry in /etc/passwd
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 03:17 PM
04-23-2003 03:17 PM
Re: logging in with out entry in /etc/passwd
Although it's true that there are several ways to login w/o showing up in who & last commands, I know of no ways to login w/o having a valid account - somewhere - at connection time.
Don't overlook access via r-commands. I'd recommend a site survey for .rhosts & hosts.equiv & crank up the logging level on inetd. If you can, disable the r-commands & push for SSH. Won't get it if you don't ask.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 05:12 PM
04-23-2003 05:12 PM
Re: logging in with out entry in /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 09:36 PM
04-23-2003 09:36 PM
Re: logging in with out entry in /etc/passwd
Login spoofer programs can easily do this.
Check /etc/inetd.conf for any backdoors .
Check top output for any suspicious processes.
If possible run a network sniffer and monitor the network packers flowing from and to your server.
If possible run ttysnoop program to monitor all users keystrokes without users knowledge but with managment's knowledge.
Disclaimer: use of the above tools illegally will not make me responsible as iam innocent ethical hacker.
regards,
U.Sivakumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 09:42 PM
04-23-2003 09:42 PM
Re: logging in with out entry in /etc/passwd
Login spoofer programs can easily do this.
Check /etc/inetd.conf for any backdoors .
Check top output for any suspicious processes.
If possible run a network sniffer and monitor the network packers flowing from and to your server.
If possible run ttysnoop program to monitor all users keystrokes without users knowledge but with managment's knowledge.
Disclaimer: use of the above tools illegally will not make me responsible as iam innocent ethical hacker.
regards,
U.Sivakumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 09:42 PM
04-23-2003 09:42 PM
Re: logging in with out entry in /etc/passwd
Login spoofer programs can easily do this.
Check /etc/inetd.conf for any backdoors .
Check top output for any suspicious processes.
If possible run a network sniffer and monitor the network packers flowing from and to your server.
If possible run ttysnoop program to monitor all users keystrokes without users knowledge but with managment's knowledge.
Disclaimer: use of the above tools illegally will not make me responsible as iam innocent ethical hacker.
regards,
U.Sivakumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 01:09 AM
04-24-2003 01:09 AM
Re: logging in with out entry in /etc/passwd
Do a "who" and note the tty of the 'phantom' user. Then do a "ps -ef | grep the_tty" (or similar). If no processes (other than the grep) are listed, then /etc/utmp is corrupt and that is the cause(post for further instructions on how to fix /etc/utmp, or see the fwtmp and utmp manual pages).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 01:26 AM
04-24-2003 01:26 AM
Re: logging in with out entry in /etc/passwd
A good way of checking the health of /etc/passwd and the tcb database on a trusted system is to use authck -pv.
One of the checks performed is to ensure the entries in tcb are also in /etc/passwd and vice versa.
I also tried a quick test of setting up a user on a trusted system, then removing just their /etc/passwd entry - when you try to login it returns login incorrect.
regards,
Darren.