- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftpaccess and ftpd
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
тАО09-13-2005 07:29 PM
тАО09-13-2005 07:29 PM
I just want disable some users from using ftp, without changing any current functionality.
Can some one post the entries to be kept in ftpaccess and modification to inetd.conf?
Right now no ftpaccess file.
Regds
TT
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 07:34 PM
тАО09-13-2005 07:34 PM
Re: ftpaccess and ftpd
"Securing the FTP service on HP-UX: Introduction to the ftpaccess file"
is a good source about this topic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 07:43 PM
тАО09-13-2005 07:43 PM
Re: ftpaccess and ftpd
man 4 ftphots
Its format is like:
[allow|deny] username host(s)
So,
deny root *
should deny root login from anywhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 07:44 PM
тАО09-13-2005 07:44 PM
Re: ftpaccess and ftpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 07:46 PM
тАО09-13-2005 07:46 PM
Re: ftpaccess and ftpd
You can prohibit incoming incoming ftp from a specific IP address (deny option in ftpaccess).
Use of ftpaccess is disabled by default. To enable ftpaccess, set "ftpd -a" flag in inetd.conf, then "inetd -c".
I suggest you download WU-FTPD from software.hp.com and do this here with a combination of the /etc/shells, /etc/group, and ftpaccess files.
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 07:49 PM
тАО09-13-2005 07:49 PM
Re: ftpaccess and ftpd
You can check the /etc/ftpd/ftpaccess file for details.
Attached.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 08:01 PM
тАО09-13-2005 08:01 PM
Re: ftpaccess and ftpd
# cat /etc/ftpd/ftphosts
# chmod 444 /etc/ftpd/ftphosts
# chown bin:bin /etc/ftpd/ftphosts
You can use another method as,
#!/bin/ksh
#ftpnew.ksh
if [ "$LOGNAME" = "
then
echo "No Access to other users for using ftp"
sleep 1
fi
chmod 755 /usr/bin/ftpnew.ksh
chown bin:bin /usr/bin/ftpnew.ksh
alias ftp=/usr/bin/ftpnew.ksh
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 08:25 PM
тАО09-13-2005 08:25 PM
Solution#cat /etc/ftpd/ftpusers
root
abcd
Here, root and abcd cant access FTP.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 08:39 PM
тАО09-13-2005 08:39 PM
Re: ftpaccess and ftpd
1. touch /etc/ftpd/ftpusers
2. for example, user 'root'&'matt' is not allow to access system via ftp login, then
place like following in /etc/ftpd/ftpusers.
------------ example ---------------------
# cat /etc/ftpd/ftpusers
root
matt
------------ example ---------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 08:39 PM
тАО09-13-2005 08:39 PM
Re: ftpaccess and ftpd
-- Plz look at ftpusers man page --
ftpd rejects remote logins to local user accounts that are named in /etc/ftpd/ftpusers.
If you want to control ftp client access to users then you have to use script wrapper on ftp binary to use it.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 08:42 PM
тАО09-13-2005 08:42 PM
Re: ftpaccess and ftpd
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=842075
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 11:52 PM
тАО09-13-2005 11:52 PM
Re: ftpaccess and ftpd
Thanks all for the reply. I go with ftpusers, which is very easy without changing anything else.
Regds
TT