- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: using ftpaccess to restricted user for making ...
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
09-08-2005 03:23 PM
09-08-2005 03:23 PM
using ftpaccess to restricted user for making sub dir
I have created a user as canftp.
passwd file entry:-
ctnftp:h/PyNpYI:500:103:,,,:/canteen/transfer/:/usr/bin/false
ftpaccess file entries:-
## upload /var/ftp * no
## upload /var/ftp /incoming yes root daemon 0600 dirs
## upload /var/ftp /bin no
## upload /var/ftp /etc no
upload /canteen/transfer * no
upload /canteen/transfer /upload yes ctnftp ftpgroup 0600 nodirs
upload /canteen/transfer /download no ctnftp ftpgroup 0666 nodirs
when user ctnftp login, it does login successully to the home of /canteen/transfer.
drwxrwxrwx 2 ctnftp ftpgroup 96 Sep 8 21:20 download
dr-xr-xr-x 2 bin bin 96 Sep 9 10:21 etc
drwxrwxrwx 2 ctnftp ftpgroup 96 Sep 9 10:52 upload
dr-xr-xr-x 3 bin bin 96 Sep 8 20:25 usr
question is that when user change group to upload, they are able to mkdir sub directories.
Is there any way, I can restrict this option of making sub-directories and allow them to upload files with permission 666 ?
Base on the current ftpaccess entries, it does not work.
Could anyone please advise me, what should I do ?... Thanks clarence.
- Tags:
- ftpaccess
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 04:04 PM
09-08-2005 04:04 PM
Re: using ftpaccess to restricted user for making sub dir
when user change group to upload,
How does he change the group. This is ftponly account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 04:41 PM
09-08-2005 04:41 PM
Re: using ftpaccess to restricted user for making sub dir
See the attachement, for the what's I meant.
Regards,clarence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 04:59 PM
09-08-2005 04:59 PM
Re: using ftpaccess to restricted user for making sub dir
for your second question, you will have to change upload umak to 666
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 04:12 PM
09-19-2005 04:12 PM
Re: using ftpaccess to restricted user for making sub dir
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=893720
In my case, change the user home from
/canteen/transfer to /canteen/transfer/./upload. (another level upward).
Thank you.
Regards,Clarence.