- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP Access
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
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
03-06-2001 06:51 AM
03-06-2001 06:51 AM
FTP Access
..Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2001 06:58 AM
03-06-2001 06:58 AM
Re: FTP Access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2001 06:59 AM
03-06-2001 06:59 AM
Re: FTP Access
You can restrict users by defining them in /etc/ftpusers. See 'man (4) ftpusers'.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2001 07:05 AM
03-06-2001 07:05 AM
Re: FTP Access
uucp, www, sys, and nuucp
What function to the above accounts have?
Thanks,
..Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2001 07:07 AM
03-06-2001 07:07 AM
Re: FTP Access
Checkout these link:
http://www.docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html
Marcel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2001 10:45 AM
03-06-2001 10:45 AM
Re: FTP Access
The file /etc/ftpd/ftpusers is a list of those users who *can* use ftp, one user name per line. New accounts do not have to be added unless you want them to access your box via ftp from a remote client.
As for the system accounts, such as uucp, you do not need them in /etc/ftpd/ftpusers. Those accounts will not be using ftp.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2001 01:11 PM
03-06-2001 01:11 PM
Re: FTP Access
I.E. root's default shell is /sbin/sh
add /sbin/sh to /etc/shells (new file).
The other two users, use a shell that you do not normally use. I.E. If you always use "/usr/bin/sh" for your users, move the users you want to ftp to a shell of /usr/bin/ksh. Then add /usr/bin/ksh to /etc/shells.
By default, any login shell is okay. Once the /etc/shells file is there, it restricts access to those who have matching shells. This may require wu-ftpd, but I dont think so....
Also, if you are running the HP version of wu-ftp, then there is a ftphosts file. simply make the entries in this file for who you want to ftp and a generic global deny. I.E.
deny * *
allow johndoe host1
allow root *
allow me *
Field 1 is allow or deny. Field 2 is the user. Field 3 is the host or domain. Of course an "*" is "ALL".
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2001 03:48 PM
03-06-2001 03:48 PM
Re: FTP Access
You can then use /var/adm/inetd.sec to restrict ftp to certain hosts. You can also use the -a option to ftpd and use /etc/ftpd/ftpaccess to restrict ftp access to a set of hosts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2001 03:59 PM
03-06-2001 03:59 PM
Re: FTP Access
#!/bin/sh
cat /etc/passwd|grep -v user1|grep -v user2 |grep -v user3|cut -f 1 -d":" > /etc/ftpd/ftpusers
/usr/sbin/inetd -c