Most Popular in Unix
-
Face book, whoo hoo, a second post in a week
-
Most Highly Recommended Solaris Security Tools
-
IrfanView - Comprehensive Graphic Viewer for Windows
-
AutoDAO: 0.1 released!
-
Sun Storage 7000 Unified Storage Systems Resources on sun.com
-
Random Hacking: Network Unlocking a Sony Ericsson w300i mobile phone
-
Deploying OpenSSO on GlassFish Application Server
-
Strip a Prepended String From a Filename - Unix
-
Where is Quality Control in these days.
-
Learning CISCO gear and questions for my readers
Unable to Switch User Error - su: no shell
Article posted from
My SysAd Blog (http://www.mysysad.com/2008/08/unable-to-switch-user-error-su-no-shell.html)
We had some users complaining about not being able to switch or substitute user, su. Here is the error message they were receiving: "su: no shell.? At first I thought the users had inadvertently locked out their accounts. But after querying nisplus and checking the file-based users, I didn?t observe any locked accounts. I tried switching to various users from root and received the same error. Then I tried switching user on a different workstation - no problem. The problem was tied to a particular box.
Then we used the truss command to trace the system/lib calls. It pointed to an unexpected access/permission issue. Observed the /usr directory was set to 600. Frankly speaking, the permission problem was somewhat a surprise since it was working fine the previous day. At any rate, changed the permissions and things were back to normal.
# truss su esofthub
Then we used the truss command to trace the system/lib calls. It pointed to an unexpected access/permission issue. Observed the /usr directory was set to 600. Frankly speaking, the permission problem was somewhat a surprise since it was working fine the previous day. At any rate, changed the permissions and things were back to normal.
# truss su esofthub
More Stories in My SysAd Blog
- Strip a Prepended String From a Filename - Unix
- IrfanView - Comprehensive Graphic Viewer for Windows
- Mounting ISO and DD Image Files
- Hardware Mismatch for Fibre Channel Hard Drive
- Unable to Switch User Error - su: no shell
- iPod Disconnected During Recharge
- Citrix Users Report Login Issue on Unix Workstation
- System Administrator Appreciation Day
- Inadvertent Use of Duplicate Group ID
- UNIX Admin Corner and the IT Island
Most Popular Stories
Why now, Omnioutliner?
Another variant of RSPlug trojan for Mac pops up
Face book, whoo hoo, a second post in a week
Most Highly Recommended Solaris Security Tools
Microsoft earnings beat estimates, outlook lower
Can Microsoft Innovate in a Web-Centric World?
Microsoft Aims to Get More Touchy-Feely
Ubuntu's Live USB Disk Creator
Three Linux Distros To Watch And Use
Real life Linux: The ASUS Eee PC 1000