- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "who am i" not working???
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-24-2001 10:41 AM
08-24-2001 10:41 AM
"who am i" not working???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 10:48 AM
08-24-2001 10:48 AM
Re: "who am i" not working???
what if you try just the command
who
and do a man for each of them
who
who am i
whoami
i am on 11.0 and I get a man page for each of them. If anything you can make an allias.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 11:37 AM
08-24-2001 11:37 AM
Re: "who am i" not working???
who am i
IS working on my 1100 box and it is included in 11i
...BPK...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 11:46 AM
08-24-2001 11:46 AM
Re: "who am i" not working???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2001 10:54 PM
08-26-2001 10:54 PM
Re: "who am i" not working???
1.Log to the system as the application user name, and type "who am i" ( and see if it or not work ).
2.If not, Check if the path to /usr/bin is included in the environment variable PATH, and it's precedance is before user paths.
3.Check if the permission on the /usr/bin/who is set to allow execution for the "other" group.
/usr/bin/who is owned by bin:bin and permission is 777
4.Check also :
#which who
to see, if the who command is defined more than once ( the redefinition of the who by any user and the precedence in the PATH variable may result of abnormal behaviour ).
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2001 10:56 PM
08-26-2001 10:56 PM
Re: "who am i" not working???
Sorry, permission on /usr/bin/who is 555 !
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2001 11:50 PM
08-26-2001 11:50 PM
Re: "who am i" not working???
# uname -a
HP-UX sd4a B.11.11 U 9000/800 1718176411 unlimited-user license
#
# which whoami
/usr/bin/whoami
# whoami
root
# ll /usr/bin/whoami
-r-xr-xr-x 1 bin bin 12288 Nov 14 2000 /usr/bin/whoami
# which who
/usr/bin/who
# who am i
root pts/0 Aug 27 09:40
# ll /usr/bin/who
-r-xr-xr-x 1 bin bin 24576 Nov 14 2000 /usr/bin/who
# ll /etc/passwd
-rw-r--r-- 1 root root 584 Jun 5 16:40 /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 05:15 AM
08-27-2001 05:15 AM
Re: "who am i" not working???
first, check wether the user running your application
is able to use "who" at all! If not, then check permissions
of "/usr/bin/who" and "/var/adm/?tmp"... or use the
"swverify" tool and read the "/var/adm/sw/swverify.log".
Next, check if your user is actually logged in or wether
s/he is using "su(1M)" - then "who" should report the
name of the person s/he used for logging in, and not
the id being su-ed to...
And most important: what is broken/what is the error???
HTH,
Wodisch