- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Shell type on trusted system
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
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
тАО07-18-2002 02:24 AM
тАО07-18-2002 02:24 AM
Shell type on trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 02:27 AM
тАО07-18-2002 02:27 AM
Re: Shell type on trusted system
/sbin/sh
usr/bin/ksh
.
.
Good luck
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 02:30 AM
тАО07-18-2002 02:30 AM
Re: Shell type on trusted system
...and one word of caution: *never* change the default shell for 'root' from '/sbin/sh'. If you do, you will end up with an unbootable system.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 02:44 AM
тАО07-18-2002 02:44 AM
Re: Shell type on trusted system
thnx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 03:43 AM
тАО07-18-2002 03:43 AM
Re: Shell type on trusted system
Man Shells
shells(4) shells(4)
NAME
shells - list of allowed login shells
SYNOPSIS
/etc/shells
DESCRIPTION
/etc/shells is an ASCII file containing a list of legal shells on the
system. Each shell is listed in the file by its absolute path name.
Lines or portions of lines beginning with # are assumed to be comments
and are ignored. Blank lines are also ignored.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 04:04 AM
тАО07-18-2002 04:04 AM
Re: Shell type on trusted system
If 'etc/shells' doesn't exist, or isn't readable, then the following list of valid shells is assumed:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
This is documented in 'man 3 getusershell'.
Therefore, create an /etc/shells file. Make its permissions 444 owned by 'root'. Add the above standard shells and add your chosen shell to the list.
Regards!
...JRF...