- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/shells
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
04-18-2001 01:30 AM
04-18-2001 01:30 AM
/etc/shells
I want to know whether we have to include all the shells allowed to be used in the system in /etc/shells file. My system currently does not have /etc/shells file, but I need to set some a/c to /usr/bin/false but allow them to use ftp. Adding /usr/bin/false in /etc/shells is a must to do so.
Thanks in advance,
Tony.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 01:50 AM
04-18-2001 01:50 AM
Re: /etc/shells
All shells that are used by users who need ftp access need to be included in /etc/shells. If, for instance, only one user uses csh, but this user does'nt need ftp access, csh doesnt's have to be included in /etc/shells.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 01:50 AM
04-18-2001 01:50 AM
Re: /etc/shells
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 02:04 AM
04-18-2001 02:04 AM
Re: /etc/shells
It seems that the man page of /etc/shells is quite vague, it does not say about shells for ftp.
Tony.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 02:44 AM
04-18-2001 02:44 AM
Re: /etc/shells
/etc/shells is used to identify which shells have ftp access and which don't. These shells are not used during the ftp-session itself. You can't restrict ftp access for a specific user by giving them a rksh shell. If you want to restrict the "shell" of an ftp-user and you're using hp-ux 11.00, take a look at the man page for "ftpaccess".
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 05:01 AM
04-18-2001 05:01 AM
Re: /etc/shells
According to the man page for getusershell(3c) - which is used by ftpd(1m) - the following are the "standard shells" if the /etc/shells file does not exist:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
Since /usr/bin/false is not in the list, you would have to create an /etc/shells file.
For other ftp access related issues, check out the man pages for ftpaccess(4) and ftpusers(4).
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 05:14 AM
04-18-2001 05:14 AM
Re: /etc/shells
Berlene