HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP user account
Operating System - HP-UX
1833845
Members
2356
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
05-20-2008 07:42 AM
05-20-2008 07:42 AM
I have an encrypted file that resides on one of hp-ux servers and it needs to be transferred to some other company via ftp. The other company will initiate ftp to our server to get this file. I have few questions in this regard.
1-Can some one explain me the procedure to create ftp-only account so that the client can ftp this file using this account.
2- Can I use ssh for this operation, the other client is using windows software on their end. They dont have hp-ux on their end.
3- If yes, can you also explain the process of setting up ftp via ssh.
Regards,
Ali
1-Can some one explain me the procedure to create ftp-only account so that the client can ftp this file using this account.
2- Can I use ssh for this operation, the other client is using windows software on their end. They dont have hp-ux on their end.
3- If yes, can you also explain the process of setting up ftp via ssh.
Regards,
Ali
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2008 08:48 AM
05-20-2008 08:48 AM
Solution
1) The ftp only account is created just like any other account but instead of a regular shell you use /usr/bin/false for its shell. You also add the line "usr/bin/false" in /etc/shells. You can test this and ftp to this account locally.
2), 3) Yes you can use ssh. All you need is to have is the sshd running on your server. The other side can use an SCP program on their windows system. PSCP is a good one and it is part of the Putty suite.
Search in this forym for SCP and "FTP only"
2), 3) Yes you can use ssh. All you need is to have is the sshd running on your server. The other side can use an SCP program on their windows system. PSCP is a good one and it is part of the Putty suite.
Search in this forym for SCP and "FTP only"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2008 09:00 AM
05-20-2008 09:00 AM
Re: FTP user account
for sftp only the shell needs to be /opt/ssh/utils/sftponly
otherwise this is no different.
create user for ftp only:
useradd -u xxx -g xxx -m -c "comment" -s /usr/bin/false -h /home/username username
create user for sft only:
useradd -u xxx -g xxx -m -c "comment" -s /opt/ssh/utils/sftponly -h /home/username username
Neither method will allow the user to change their password. If you wish for this then one suggestion is to write a simple script that executes the password command. add this script name and path to /etc/shells
-appreciation for the help can be given by assigning points. You have only assigned only 58 points to over 200 responses. This might also help you to get more responses to your questions ?
-Links to all your questions can be found by clicking on "My profile" in the left nav.
otherwise this is no different.
create user for ftp only:
useradd -u xxx -g xxx -m -c "comment" -s /usr/bin/false -h /home/username username
create user for sft only:
useradd -u xxx -g xxx -m -c "comment" -s /opt/ssh/utils/sftponly -h /home/username username
Neither method will allow the user to change their password. If you wish for this then one suggestion is to write a simple script that executes the password command. add this script name and path to /etc/shells
-appreciation for the help can be given by assigning points. You have only assigned only 58 points to over 200 responses. This might also help you to get more responses to your questions ?
-Links to all your questions can be found by clicking on "My profile" in the left nav.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP