- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: inetd.conf and ftpaccess
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
01-29-2002 01:47 PM
01-29-2002 01:47 PM
inetd.conf and ftpaccess
Issue 1: Guest accounts FTP were not being logged into the xferlog.
Issue 2: Some files that were FTPed into the system were truncated.
I did 2 things to fix this;
in inetd i did the following (to fix issue 2)
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -P -a
in ftpaccess i did the following (to fix issue 1)
log commands real,anonymous,guest
log transfer anonymous,guest,real inbound,outbound
After the changes were complete i did
inetd -c
Before real,anonymous users were being logged. Currently (post changes) nothing is getting logged, what did I do wrong? Only time will tell on the truncation problem... but i need to get logging re-enabled ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 01:56 PM
01-29-2002 01:56 PM
Re: inetd.conf and ftpaccess
You're right though, the -a does enable the use of the ftpaccess file.
my inetd.conf file looks like this:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -lvio -u077
-l = logs to syslog
-v = verbose (debug)
-i = log transferred files to xferlog (received files)
-o = log transferred files to xferlog (outgoing files)
-i = inbound
-o = outbound
that's how I remember it.
Scott.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 01:59 PM
01-29-2002 01:59 PM
Re: inetd.conf and ftpaccess
-u sets umask on transferred files.
I like to log this stuff so I can tell which idiots delete files using ftp.
I'm trying to figure out a way using the ftp access file to allow them to drop files (write) but not delete anything that's there currently.
I'll get around to looking at it again one day.
:)
Hope this helps
Scott.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 01:59 PM
01-29-2002 01:59 PM
Re: inetd.conf and ftpaccess
At HP-UX 11.00 ftpd messages are written to syslogd with a facility of "local5" and a level of "debug". By default syslogd does
not capture messages with a level of "debug". To log these messages do the following:
o Add the following line to /etc/syslog.conf:
local5.debug /var/adm/syslog/syslog.log
NOTE: Be careful to use tab as a field delimeter and not spaces.
o Run the following to make syslogd read the configuration changes:
kill -HUP `cat /var/run/syslog.pid`
ftpd messages should now be logged to /var/adm/syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 02:07 PM
01-29-2002 02:07 PM
Re: inetd.conf and ftpaccess
I keep forgetting it's 11x only.
We only have two 10.20 machines here and they're REALLY old.
(one of them is an E55).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 02:28 PM
01-29-2002 02:28 PM
Re: inetd.conf and ftpaccess
I am looking for xferlog, for all of the detail that it provides.
ftpd says that ftpaccess overrides all logging options on the ftpd commandline.
Any thoughts on that ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 02:34 PM
01-29-2002 02:34 PM
Re: inetd.conf and ftpaccess
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 02:37 PM
01-29-2002 02:37 PM
Re: inetd.conf and ftpaccess
I think ftpaccess needs to be modified in some way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 05:32 PM
01-29-2002 05:32 PM
Re: inetd.conf and ftpaccess
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2002 07:01 AM
01-30-2002 07:01 AM
Re: inetd.conf and ftpaccess
How can I tell if wuftpd is installed or the daemon that ships?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2002 07:52 AM
01-30-2002 07:52 AM
Re: inetd.conf and ftpaccess
The Washington University code appeared for 11.0 during 1998 and would be part of later copies. The 'xferlog' facility is one of its features. Patch PHNE_23949 is the latest 'ftpd' patch.
Regards!
...JRF...