- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp login
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
06-13-2001 03:19 AM
06-13-2001 03:19 AM
ftp login
HP_UX11.0 and are identical in all respects.
We want to allow a particular login only for ftp. i.e. using this login one can only do an ftp but cannot login.
We are doing this by giving the shell for this login as /usr/bin/false. While this works fine on L2000, this doesn't work on L1000. It says 'access denied' when we try to initiate an ftp.
Can someone throw some light on this?
Regards,
Murty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2001 03:50 AM
06-13-2001 03:50 AM
Re: ftp login
Hi,
Your problem comes from /usr/bin/false which is
not a valid shell for getusershell () function.
You need to have /usr/bin/false in your /etc/shells file. If you don't have this file
you can put default values of getusershell and
/usr/bin/false in /etc/shells :
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
/usr/bin/false
You can verify in /var/adm/syslog/syslog.log
that your problem really comes from bad shell.
And after the modification/creation of
/etc/shells I think it works well.
Hope it's help,
Herve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2001 10:39 AM
06-13-2001 10:39 AM
Re: ftp login
You need to add the shell name in /etc/shells and also verify that the usernames are not there in /etc/ftpusers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2001 07:43 PM
06-13-2001 07:43 PM
Re: ftp login
as mention above, you may modify the /etc/passwd file to use the new shell /bin/false,and add /bin/false in the file /etc/shells,
As a temp method, you can modify the .profile and add :
trap "" 1 2 3
exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2001 11:37 PM
06-14-2001 11:37 PM