- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: question about ftpaccess
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
04-20-2005 06:43 PM
04-20-2005 06:43 PM
i have enabled ftpaccess in my system in order to restrict some logins to my server.
since then, when allowed user connect to my server, he's able to put and get files from my server, but, when he issue "ls" command he sees nothing.
i couldn't find where i grant ls permission to users in ftpaccess.
when i cancel usage of ftpaccess (by removing 'a' flag from ftpd entry in inetd.conf) - it's working.
i'm using wuftpd-2.6.1 on HPUX 11.11 PA-Risc.
thanks ppl
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 08:12 PM
04-20-2005 08:12 PM
Re: question about ftpaccess
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 08:19 PM
04-20-2005 08:19 PM
Re: question about ftpaccess
may i know what you mean "sees nothing"? have u restricted directory access for that the user?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 08:27 PM
04-20-2005 08:27 PM
Re: question about ftpaccess
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 08:40 PM
04-20-2005 08:40 PM
Re: question about ftpaccess
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 11:18 PM
04-20-2005 11:18 PM
Re: question about ftpaccess
the user entry in the fstab is:
reuven:AxMYOlOJEDxpA:200:20:global user for reuven:/vendor_1/DEALERS/storage/DEA
L_SND/peldlr/./:/bin/ksh
attached ftpaccess file
ll /etc/ftpd/ftpaccess:
-rw-r----- 1 bin bin 2457 Apr 21 09:11 /etc/ftpd/ftpaccess
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 11:22 PM
04-20-2005 11:22 PM
Re: question about ftpaccess
the user has ls command in his home directory (link points to /bin/ls)
furthermore, the client output:
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
226 Transfer complete.
indicates that he uses /usr/bin/ls, that exists and working.
also, after removing 'a' flag from ftpd (disable use of ftpaccess) - it works.
itai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 12:06 PM
04-21-2005 12:06 PM
SolutionIf user's home directory is /home/user, ftpd looks for ls in /home/user/usr/bin/ls.
/home/user/usr/bin/ls cannot be symbolic link as ftpd cannot access anything below /home/user (due to chroot()).
You have to copy /sbin/ls (statically linked ls) to /home/user/usr/bin/ls for this to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 10:07 PM
04-21-2005 10:07 PM
Re: question about ftpaccess
after copy '/bin/ls' (and some shared libaries as well) it's working.
thanks a lot!