- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- 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
03-07-2006 10:29 PM
03-07-2006 10:29 PM
i want to create a account in a redhat linux box which is used only for ftp(wu-ftp) purpose and i should not be able to login using telnet or ssh using this login.
please give suggestions.
regards
chakri
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 10:53 PM
03-07-2006 10:53 PM
Re: ftp login
you can edit allow & deny entries of the services you want to be given access or restriction for specific user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 10:55 PM
03-07-2006 10:55 PM
Re: ftp login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 11:02 PM
03-07-2006 11:02 PM
Re: ftp login
when you create users for FTP logins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 11:07 PM
03-07-2006 11:07 PM
Re: ftp login
sorry i forgot to mention that i'm using sftp not ftp, and given solution is not working for sftp.
any more suggestions?
-chakri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 11:38 PM
03-07-2006 11:38 PM
Re: ftp login
http://www.linux.com/guides/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap29sec295.shtml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 11:46 PM
03-07-2006 11:46 PM
SolutionCheck out the following link:
http://gentoo-wiki.com/HOWTO_SFTP_Server_(chrooted,_without_shell)
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 12:43 AM
03-08-2006 12:43 AM
Re: ftp login
After you created your public key pairs, copy id_dsa.pub to the remote host in $HOME/.ssh/authorized_keys. Once you get public key authentication working, edit the authorized_keys file and add the command= option before the key, like this:
command="/usr/local/sbin/ssh-dummy-shell" ssh-dss AAAASDF.....
Create the ssh-dummy-shell script:
if [ "$SSH_ORIGINAL_COMMAND" = "/usr/libexec/openssh/sftp-server" ]
then
/usr/libexec/openssh/sftp-server
else
echo "Restricted"
fi
Change the permissions to the file
chmod 755 /usr/local/sbin/ssh-dummy-shell
Have fun.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 05:49 PM
03-08-2006 05:49 PM
Re: ftp login
-chakri