- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP user
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
Discussions
Discussions
Forums
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
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
тАО09-27-2009 10:58 PM
тАО09-27-2009 10:58 PM
FTP user
I have to create a FTP user.this user is only allowed to ftp from a certain directory, and he cant view or list any other file or directory, i want to be denied even from cd / .. he cant list root or any other directory , only the directory he is supposed to FTP from.
please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2009 11:38 PM
тАО09-27-2009 11:38 PM
Re: FTP user
In order to prevent an access for FTP user to directories other than his own, define the home directory as follows:
/home/ftp/./ftpuser:/bin/false
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2009 12:25 AM
тАО09-28-2009 12:25 AM
Re: FTP user
If you need read-only access (as anonymous -or ftp- special account do), then you could use the ftpaccess in order to set up an guest group.
Basically you need to edit /etc/group to make a group let's say you call it ftponly
Second you need to assign the user/users to that group and in the last part you should modify the file "ftpaccess" (man ftpaccess ;you can find the file here:
/etc/ftpd/ftpaccess
) in order to add the line:
guestgroup ftponly
Best regards from Romania,
Horia Chirculescu
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2009 04:40 AM
тАО09-28-2009 04:40 AM
Re: FTP user
Look for "guest". There are some details,
if you want "ls" (LIST) to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 02:19 PM
тАО10-01-2009 02:19 PM
Re: FTP user
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 06:12 PM
тАО10-01-2009 06:12 PM
Re: FTP user
Check out ftpaccess
http://docs.hp.com/en/B2355-90696/ftpaccess.4.html
For example:
Hi
Use /etc/ftpd/ftpaccess
upload /home/user1 /path/to/upload/dir yes user1 group1 0666
file: any written to /home/user1 dir
user: user1
group: group1
perm of an file in /home/user1: 066
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 11:52 PM
тАО10-01-2009 11:52 PM
Re: FTP user
You need to used chroot (FTP Jail)
see the attached txt file which i got from net or see this link also for reference.
http://onlamp.com/bsd/2003/09/04/jails.html
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 11:53 PM
тАО10-01-2009 11:53 PM
Re: FTP user
Sorry forget to attached the file.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2009 02:49 PM
тАО10-02-2009 02:49 PM
Re: FTP user
Why don't you just send next months check?