- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp-acces
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-11-2003 11:29 PM
09-11-2003 11:29 PM
ftp-acces
I would like to give a testuser access to my hp-box. I created a user, but this user has access to the entire machine. I would like to disable telnet for this specific user and I want this user only to be able to ftp to this directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 11:35 PM
09-11-2003 11:35 PM
Re: ftp-acces
WU-FTP or ProFTPd;
WU-FTP
ftp://wuarchive.wustl.edu/packages/wuarchive-ftpd/wu-ftpd-2.4.tar.gz
http://www.landfield.com/wu-ftpd/
ProFTPd http://www.proftpd.org
As for disabling telnet for this user there are 2 ways;
1. /var/adm/inetd.sec which allows you to disable telnet by an IP address - the one the user uses, but if the user has access to >1 machine then;
2. an entry in the users .profile to check for telnet login, then exit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 11:37 PM
09-11-2003 11:37 PM
Re: ftp-acces
The best way to do this is
SAM: Internet Services, Internet security;
Anyway the files,connected with security
of FTP and Telnet are:
/etc/services
/etc/inetd.conf
/etc/ftpusers
and indeed: /etc/passwd
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 12:13 AM
09-12-2003 12:13 AM
Re: ftp-acces
From 11.00 on, CiFS server is free, and available on the Application CD's. New machines probably even ship with CiFS already installed.
5012-7834 11.00 Appl CD 06-2003 4/4
5012-7838 11.11 Appl CD 06-2003 4/4
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 12:39 AM
09-12-2003 12:39 AM
Re: ftp-acces
There are syntax examples in the file, and I find this works well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 09:29 PM
09-12-2003 09:29 PM
Re: ftp-acces
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2003 06:03 PM
09-13-2003 06:03 PM
Re: ftp-acces
Search for wu_ftpd.
However, if all you need is ftp and need to disable shell access (ie, telnet), just change the user's shell from /usr/bin/sh to /usr/bin/false. While they will get a login prompt, it will exit immediately. And make sure you add (or edit the existing) /etc/shells with:
/sbin/sh
/usr/bin/ksh
/usr/bin/sh
/usr/bin/csh
/usr/bin/rsh
/usr/bin/rksh
/usr/bin/keysh
/bin/sh
/bin/ksh
/bin/csh
/bin/rsh
/bin/rksh
/usr/bin/false
(and any other shell that you may have assigned to users) ftpd requires that a user's shell appear in /etc/shells (man getusershell). Otherwise, ftpd will not allow the user to login.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 05:56 PM
09-16-2003 05:56 PM
Re: ftp-acces
An easy way to limit login via telnet is to change the user's shell to /usr/bin/false. They can still FTP, but get kicked out when they try to telnet.
Chuck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 10:08 PM
09-16-2003 10:08 PM
Re: ftp-acces
It is possible to restrict the user to his homedirectory (chroot) if you are running 11.X
# groupadd -g 55 ftponly
# useradd -d /home/ftponly -s /usr/bin/notelnet -g 55 -m ftponly
# echo "exit 0" >> /usr/bin/notelnet
# chmod +x /usr/bin/telnet
# mkdir -p ~ftponly/usr/bin
# cp /sbin/ls ~ftponly/usr/bin
# echo "/usr/bin/notelnet" >> /etc/shells
# cd /etc/ftpd
# cp /usr/newconfig/etc/ftpd/ftpaccess .
# vi ftpaccess
..
guestgroup ftponly.
..
#
# chown -R bin:bin ~ftponly
# chmod -R 755 ~ftponly
# vi /etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -a -l
# inetd -c
Let me know if this helps
Sundar