- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- help: some shell can not run su command?
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
Discussions
Forums
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
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
тАО02-22-2006 08:33 PM
тАО02-22-2006 08:33 PM
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libcom_err.sl
/usr/lib/dld.sl: No such file or directory
But these user can run su command through xwindow.
What's the reason? How to solve the problem?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2006 08:38 PM
тАО02-22-2006 08:38 PM
SolutionPlease give us the output of the following command, when executed in xwindow and the other on telnet session.
the command is,
which su
regards
senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2006 08:39 PM
тАО02-22-2006 08:39 PM
Re: help: some shell can not run su command?
# grep su /etc/pam.conf
post this or check this.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2006 08:58 PM
тАО02-22-2006 08:58 PM
Re: help: some shell can not run su command?
What is your SHLIB_PATH and LD_LIB_PATH ? Try to check from telnet,
# ldd `which su`
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2006 10:10 PM
тАО02-22-2006 10:10 PM
Re: help: some shell can not run su command?
normal user's su: /usr/bin/su
question user's su: /usr/local/bin/su
TKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2006 10:15 PM
тАО02-22-2006 10:15 PM
Re: help: some shell can not run su command?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2006 10:18 PM
тАО02-22-2006 10:18 PM
Re: help: some shell can not run su command?
There shouldn't be any question user's su: /usr/local/bin/su .. Change it to /usr/bin/su
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2006 10:29 PM
тАО02-22-2006 10:29 PM
Re: help: some shell can not run su command?
It's ok if I type /usr/bin/su to run su command.
What's the order of the $PATH search?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2006 10:42 PM
тАО02-22-2006 10:42 PM
Re: help: some shell can not run su command?
Just check PATH variable..
# echo $PATH and check the order in both X and telnet session.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2006 11:01 PM
тАО02-22-2006 11:01 PM
Re: help: some shell can not run su command?
Just make sure, in the file /etc/PATH file /usr/bin directory appears before /usr/local/bin.
Or work with the $PATH variable in /etc/profile file till "which su" command in both xwindow and normal telnet session yields the same result namely, /usr/bin/su
regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2006 11:16 PM
тАО02-22-2006 11:16 PM
Re: help: some shell can not run su command?
export PATH=/bin:/sbin:/usr/bin:/usr/sbin: like that but. /usr/local/bin has to come after /usr/bin. Try to see /etc/PATH file also.
If you have not explicitly configure DTSOURCEPROFILE=1 /etc/profile file is not read.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2006 01:52 PM
тАО02-26-2006 01:52 PM
Re: help: some shell can not run su command?
Ferry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2006 01:52 PM
тАО02-26-2006 01:52 PM