- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp only
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
Forums
Discussions
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
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-19-2002 10:56 AM
06-19-2002 10:56 AM
How do I limit a specific user to have ftp access only, where they are unable to telnet into the server.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 10:59 AM
06-19-2002 10:59 AM
Re: ftp only
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 10:59 AM
06-19-2002 10:59 AM
Re: ftp only
Have a look at the below link
regarding giving a user /usr/bin/false shell
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x270760260cafd4118fef0090279cd0f9,00.html
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 11:00 AM
06-19-2002 11:00 AM
Re: ftp only
This one is easy. Don't give them a shell. Change there login shell to /usr/bin/false. Add /usr/bin/false to /etc/shells. The user will be able to ftp, but not telnet.
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 11:00 AM
06-19-2002 11:00 AM
Re: ftp only
Give the user /usr/bin/false or /bin/false shell in the /etc/password file.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 11:20 AM
06-19-2002 11:20 AM
Re: ftp only
Changing the shell to /sbin/false for the user not only stops him from telnet, but also stops him from ftp'ing into the box.
How do I limit a specific user to have ftp access only???, where they are unable to telnet into the server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 11:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 11:26 AM
06-19-2002 11:26 AM
Re: ftp only
The replies about setting /usr/bin/false as the default shell for the user are correct I think. But you probably have to add an entry for that shell to the /etc/shells file. I know you have to do that on Solaris.
HTH,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 11:47 AM
06-19-2002 11:47 AM
Re: ftp only
Thank you for your kindness, but I'd like to point out that the other's inputs of a false shell are also viable.
Change the users shell to /bin/false, /usr/bin/false, or /dev/null (one of your own). Then just add that "shell" to /etc/shells. Same effect.
Regards,
Chris