- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need newbie ftp server help
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-03-2002 05:04 AM
09-03-2002 05:04 AM
need newbie ftp server help
I have pretty basic questions regarding ftp server on HP-UX 11.x. First off, I am using the default ftp server (not wu-ftpd or anything else). Currently, anonymous ftp is turned off. Each user is allowed to ftp in, but is able to access the entire system through 'cd' commands, which is bad.
First question - Should I install wu-ftpd, and is there a decent install/setup guide for hp-ux?
Second - How do you restrict users access to the system, to make it where they can only upload/download in their own home dir, or maybe /tmp? I can't find any FAQ-type stuff on this.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 05:15 AM
09-03-2002 05:15 AM
Re: need newbie ftp server help
HP-UX 11.x release include some of the Washington University features. The '/etc/ftpd/ftpaccess file is used to configure the operation of ftp. Other files that control its operation are '/etc/ftpd/ftpgroups', 'etc/ftpd/ftpconversions', 'etc/ftpd/ftphosts' and '/etc/ftpd/ftpusers'. The man pages for 11.11 provide a good overview of these features.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 05:21 AM
09-03-2002 05:21 AM
Re: need newbie ftp server help
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 05:37 AM
09-03-2002 05:37 AM
Re: need newbie ftp server help
With 600 users all with ftp access to all directories, what is the easiest way to restrict access to only home dirs? I still can't figure this out. Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 07:23 AM
09-03-2002 07:23 AM
Re: need newbie ftp server help
Do you know restricted korn shell (rksh)?
Try man rksh.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 11:27 AM
09-03-2002 11:27 AM
Re: need newbie ftp server help
It just seems confusing, because there are different approaches and utilities presented. These are there if you want to define things that way..like ftpgroups, etc. If you created all users as
I set up an ftp_server on 11 that I just wanted them to ftp in and just to themselves-no cd out of their directory.
I used the chroot option, which is fairly simple...in your /etc/passwd file just vipw to edit it and add a period and a slash after their home directory:
rita:
Then I used the ftpaccess file to restrict the user to nothing more than group privileges.(From par#1 above) It's an option near the end of the file..
Take a look at this file and set up the options you want. Remember just start w/minimum to hold them securely where you want them.
Set up a dummy user and test with it till you get 'em just right....Don't try to do it all at once, just get them secured...then fancy it up.
Rgrds,
Rita
Remember, if your going to use the ftpaccess file you have to edit your /etc/inetd.conf file with the -a at the end, so it reads the ftpaccess file...
...I also like to log the ftp sessions to syslog so:
ftp streams.... ftpd -l -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 11:30 AM
09-03-2002 11:30 AM
Re: need newbie ftp server help
ftp streams .... ftpd -l -a
ends with that small letter a...
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 11:36 AM
09-03-2002 11:36 AM
Re: need newbie ftp server help
That fixed what I 'thought' I needed to do. I now find out that the users also need access to a temp directory through FTP. Will access still work properly if I put a link to this directory in the home directories?
I just want to make sure they cannot go anywhere else in FTP besides /home/xxx and /tmp.