- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Strange message from whoami - Intruder Alert
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
07-30-2002 10:13 AM
07-30-2002 10:13 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 10:15 AM
07-30-2002 10:15 AM
Re: Strange message from whoami - Intruder Alert
/etc/passwd should be, at a minimum, 444 permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 10:16 AM
07-30-2002 10:16 AM
Re: Strange message from whoami - Intruder Alert
I believe you will see this message if a user attempts to log in but either, is not listed in /etc/passwd or if /etc/passwd is not world readable.
Hope this helps,
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 10:18 AM
07-30-2002 10:18 AM
SolutionTo summarize, /etc/passwd should be at 444 permissions with root:sys as owner and group, and the /etc directory should be at 666 permissions with bin:bin as owner and group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 10:19 AM
07-30-2002 10:19 AM
Re: Strange message from whoami - Intruder Alert
1- password file is corrupted
2- password file permission is set to 400
3- wrong NIS domainname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 10:28 AM
07-30-2002 10:28 AM
Re: Strange message from whoami - Intruder Alert
I was logged in my pseudo root account. I tried to run shutdown. It said I wasn't authorized. I "su-ed" to root. shutdown wouldn't run because it couldn't determine my username. I use "reboot" instead. Everything came up fine after the reboot. whoami worked fine after the reboot.
Weird!
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 10:48 AM
07-30-2002 10:48 AM
Re: Strange message from whoami - Intruder Alert
ulimit -Sc 0
in /etc/profile. This assumes that all your user logins are using /usr/bin/sh as their shell (and root must use /sbin/sh).
Then find out where the big stuff is located--not big files, but big directories! Use du as in:
du -kx /var | sort -rn | /tmp/du.var
Look at the top of the du.var file for hints. In a ServiceGuard environment, you don't want much of anything in /var/mail or /var/spool. /var/adm will be large for 2 reasons: /var/adm logfiles, and /var/adm/sw for installs and patches. /var/adm/sw is a good candidate for it's own lvol.
And also /var/ad,/crash which should empty if you keep up on patches, otherwise, create an lvol for the crash directory. Use symlinks to avoid having to change config files.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 10:57 AM
07-30-2002 10:57 AM
Re: Strange message from whoami - Intruder Alert
I usually put /var/adm/sw and /var/adm/crash in their own lvols. On this particular system, it wasn't done as this system was setup by consultants. I'll have to add it to my "todo" list.
Marty