- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /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
07-15-2003 02:29 PM
07-15-2003 02:29 PM
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 02:36 PM
07-15-2003 02:36 PM
SolutionI think its the same file but it might not created by default. You can just create the file manually or run the getusershell(3C) system call to get the list of supported shells. See the following Sun URL :
http://access1.sun.com/technotes/01248.html
Regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 02:40 PM
07-15-2003 02:40 PM
Re: /etc/shells?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 02:42 PM
07-15-2003 02:42 PM
Re: /etc/shells?
as to solaris see here:http://docs.sun.com/db/doc/805-3480/6j3ahiigm?a=view
in particular:'This file is not included in the standard release, so it must be added if users are to be allowed to use .forward files to forward mail to a program or to a file. It is possible to create the file by hand by using grep to identify all of the shells listed in your password file, then entering them manually in the file, but it is easier to use the procedure below, which employes a script that can be downloaded'
Just remembered because once (in previous unix life :)) used to mess with .forward.
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 06:47 AM
07-16-2003 06:47 AM
Re: /etc/shells?
The /etc/shells in Solaris is located in same directory of HPUX. If the file didn??t exist its necessary create...
Any problems with ftp???
Look at this link: http://docs.sun.com/?q=%2Fetc%2Fshells
Good Luck.
Valkiria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 11:19 AM
07-17-2003 11:19 AM
Re: /etc/shells?
thanks for messages,
Now it comes to my stupid questions, why do I need /etc/shells? seems the system is working ok without it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 11:31 AM
07-17-2003 11:31 AM
Re: /etc/shells?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 12:37 PM
07-17-2003 12:37 PM
Re: /etc/shells?
DESCRIPTION
The getusershell() function returns a pointer to a legal
user shell as defined by the system manager in the file
/etc/shells. IF /etc/shells DOES NOT EXIST, the following <<<<<
Note
locations of the standard system shells are used in its
place:
/usr/bin/sh /usr/bin/csh
/usr/bin/ksh /usr/bin/jsh
/bin/sh /bin/csh
/bin/ksh /bin/jsh
/sbin/sh
The idea is to give a greater degree of control over who can use ftp -
for example it's possible to turn off access completely just by creating
an empty /etc/shells