- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- restrict ftp
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
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
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
тАО11-05-2002 11:30 AM
тАО11-05-2002 11:30 AM
restrict ftp
I had problem when used the file ftpaccess,
I need to create an user, for example cdf, with the same caracteristic as the user anonymous.
thank you for help me.
JRM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2002 11:55 AM
тАО11-05-2002 11:55 AM
Re: restrict ftp
First, create an account (cdf) and give it a unique group id (i.e guestgroup).
In your ftpaccess file, create a class for this user and insert the guestgroup line:
class interfaces guest
guestgroup
Then edit your /etc/passwd to giv it a chrooted home dir:
cdf:*:123:456::/home/cdf/./:/bin/false (make sure the default shell is present in /etc/shells.
Then make any appropriate entries in ftpaccess:
upload /home/cdf /incoming yes cdf
upload /home/cdf / no
Also, mkdir usr/bin under the user's home directory and copy /usr/bin/ls into it and make $HOME/usr $HOME/usr/bin and $HOME/usr/bin/ls 555 permissions.
In case I forgot anything, look at these docs:
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062906536
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063248362
Others may be obtained using the keywords "ftpaccess" and "ftp only"
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2002 12:43 PM
тАО11-05-2002 12:43 PM
Re: restrict ftp
550 Can't set guest privileges.
thank you for help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2002 02:26 AM
тАО11-06-2002 02:26 AM
Re: restrict ftp
can send your ftpaccess file as attachment?
And also show the config line for the cdf user from /etc/passwd?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2002 04:58 AM
тАО11-06-2002 04:58 AM
Re: restrict ftp
Do not use usr/bin/ls...
Instead copy /sbin/ls to /home/cdb/usr/bin and then chmod it.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2002 04:59 AM
тАО11-06-2002 04:59 AM
Re: restrict ftp
Do not use usr/bin/ls...
Instead copy /sbin/ls to /home/cdf/usr/bin and then chmod it.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2002 05:44 AM
тАО11-06-2002 05:44 AM
Re: restrict ftp
What does your line for ftpd say in /etc/inetd.conf?
ftp stream tcp nowait root /usr/local/bin/tcpd ftpd -l -v -a -L -i -o
(keep in mind I'm using tcp wrappers, so your line might say ftpd instead of tcpd)
Have you tried bouncing inetd?
# inetd -c
Could you please post your ftpaccess file as requested before?
Chris