Linux

How can I log information about ftp accesses to a file?

1) In /etc/syslog.conf, add the line: daemon.debug /tmp/daemon.log 2) # touch /tmp/daemon.log # refresh -s syslogd 3) Modify your inetd.conf so that ftpd is called with the “-l” flag. You may also want the “-d” flag. This can be done with ‘smit inetdconf’. All the syslog messages from various system daemons should now appear in …

How can I log information about ftp accesses to a file? Read More »

How do I get rid of the verbose error messages?

Many of the messages from the Unix commands are available in different languages. This is controlled by the LANG environment variable, the default being En_US meaning English in the US. All the default messages have a message number associated with them, e.g.: $ cat no-such-file cat: 0652-050 Cannot open no-such-file. If you prefer the terser …

How do I get rid of the verbose error messages? Read More »

Scroll to Top