- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Switch user error
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
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
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
10-22-2014 11:04 PM
10-22-2014 11:04 PM
Switch user error
Hi all,
when try to switch user i'm getting below error
this error for all user in /home directory
# su - username
/etc/profile[31]: grep: not found.
/etc/profile[37]: cat: not found.
/etc/profile[48]: cat: not found.
/etc/profile[83]: stty: not found.
/etc/profile[92]: cat: not found.
.profile[11]: tset: not found.
.profile[13]: stty: not found.
.profile[14]: stty: not found.
.profile[15]: tabs: not found.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2014 12:21 AM
10-23-2014 12:21 AM
Re: Switch user error
HI experts,
i checked the /etc/profile and /home/user/.profile and compare with other servers file everty thing seems ok...
but still the error show command not found, any Idea ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2014 01:48 AM
10-23-2014 01:48 AM
Re: Switch user error
>this error for all user in /home directory
# su - username
/etc/profile[31]: grep: not found.
Something wrong with trying to access /usr/bin/? Or PATH is messed up?
>I checked the /etc/profile and /home/user/.profile and compare with other servers
What are the permissions of:
ll -d / /usr/ /usr/bin/
What happens if you leave out that "-" in su(1)?