- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- chsh problem
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
12-18-2002 12:53 AM
12-18-2002 12:53 AM
chsh problem
When I try to change the default login shell it gives the following error,
$ chsh /usr/bin/ksh
Can't bind library /usr/lib/libpwpauth.sl: Unresolved external.
chsh: you have no password file entry
Usage: chsh name [ shell ]
What could be the problem?
OS is 10.20 running on 712 workstation.
Pl. help
Thanks
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 01:13 AM
12-18-2002 01:13 AM
Re: chsh problem
$chsh myusername /usr/bin/ksh
should work.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 02:17 AM
12-18-2002 02:17 AM
Re: chsh problem
U.SivaKumar is right. I actually think that chsh will not work on a user who is currently logged in, but I'm not sure. In that case, use vipw to edit /etc/passwd.
BTW, never set the root user's shell to /usr/bin/ksh, as your system won't come up after a reboot....
Regards,
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 02:54 AM
12-18-2002 02:54 AM
Re: chsh problem
$ chsh sysadm /usr/bin/ksh
Can't bind library /usr/lib/libpwpauth.sl: Unresolved external.
here sysadm is the user name. I tried the same command on different machines where it works just fine ....
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 02:56 AM
12-18-2002 02:56 AM
Re: chsh problem
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 03:03 AM
12-18-2002 03:03 AM
Re: chsh problem
Do this as root.
#chmod +s /bin/chsh
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 03:11 AM
12-18-2002 03:11 AM
Re: chsh problem
setuid is already set. But even as root it is giving me the same error. I know that the easy way is to manually edit the passwd file but, I wanted to know what exactly is the problem.
When I run this as root,
# chsh sysadm /usr/bin/ksh
Can't bind library /usr/lib/libpwpauth.sl: Unresolved external.
Pl. help
Thanks
Karthik