- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftpaccess configuration
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
07-18-2002 04:07 AM
07-18-2002 04:07 AM
I have activated ftpaccess control feature on HP-UX 11.0. Everything looks fine! but when user is loged via ftp in the home directory can't see any inside existent sub-directory. Maybe any parameter defined in /etc/ftpd/ftpaccess is affecting (pls find attached ftpaccess file).
This user definiton in /etc/passwd is:
test:x:102:20:,,,:/home/test/./:/etc/ftponly
Please consider that everything is OK except not being able to visualize the directories inside "/home/test/"
Any tip about?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2002 04:25 AM
07-18-2002 04:25 AM
Re: ftpaccess configuration
if the user's home dir. is /home/test you should change the home dir. definition in the passwd file for the user to:
test:x:102:20:,,,:/home/./test:/etc/ftponly
hope it helps, regards
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2002 04:53 AM
07-18-2002 04:53 AM
Re: ftpaccess configuration
I suppose that the user test is a member of the ftpgroup. In this case the home directory field of the password entry is divided into two directories. The first field is the root directory which will be the argument to the chroot call. In your case I suppose it must be /var/ftp. The second half is the users home directory relative to the root directory. The two halves are separeted by /./
In your case could be:
test:x:102:20:,,,:/var/ftp/./test:/etc/ftponly
or
test:x:102:20:,,,:/var/ftp/./incoming:/etc/ftponly
but the user will never log into /home/test. If you want to log there configure the user as a normal one:
test:x:102:20:,,,:/home/test:/sbin/sh
Un saludo
Juan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2002 05:02 AM
07-18-2002 05:02 AM
SolutionThe user is unable to see the directory becaue the command ls does not exist for him. If the user home directory is /home/test/./ . Do this,
cd /home/test
mkdir usr
chmod 555 usr
mkdir usr/bin
chmod 555 usr/bin
cp /sbin/ls /home/test/usr/bin
now ask the user to login and then do a "ls", he should be able to see the directory if the userid/group had read permission.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2002 05:22 AM
07-18-2002 05:22 AM
Re: ftpaccess configuration
On the target Pal..!!!
Thanks a lot
Regards
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2002 05:23 AM
07-18-2002 05:23 AM
Re: ftpaccess configuration
Glad to help.
Regards
Sanjay