1847796 Members
4041 Online
104021 Solutions
New Discussion

Re: ftpusers file

 
kacou
Regular Advisor

ftpusers file

where can i find my 'ftpusers' file?
does it exist by default?
7 REPLIES 7
marvik
Regular Advisor

Re: ftpusers file

You can try with a find command like below for any file.

find / -name "ftpusers" -print.

Yes it should be there by default
Asif Sharif
Honored Contributor

Re: ftpusers file

/etc/ftpd/ftpusers
Regards,
Asif Sharif
kacou
Regular Advisor

Re: ftpusers file

the ''loginlog'' file does not exist in my hpux server. but it exits in my sun server (/var/adm/loginlog). where can i find it in my hpux server?
Steven Schweda
Honored Contributor

Re: ftpusers file

> where can i find my 'ftpusers' file?

Where "man ftpusers" says it should be?

> the ''loginlog'' file [...]. where can i
> find it in my hpux server?

What does "man loginlog" say? (Perhaps it's
trying to tell you something.)
James R. Ferguson
Acclaimed Contributor

Re: ftpusers file

Hi:

> the ''loginlog'' file does not exist in my hpux server. but it exits in my sun server

...and so you have a case of one Unix not being quite the same as another...nothing new there.

*However*. If you do:

# man -k login

...which lists the man entries relative to the *keyword* "login" you will find:

# last

...which will note that if '/var/adm/wtmp' is present, a users "last" login information will be recorded. For 'su' events, however, you need to see '/var/adm/sulog'.

Regards!

...JRF...
kacou
Regular Advisor

Re: ftpusers file

this file ''/var/adm/wtmp' '' exits but i can not read it.
Rasheed Tamton
Honored Contributor

Re: ftpusers file

All the sample files are in /usr/newconfig
The ftpusers will be in /usr/newconfig/etc/ftpd/examples

copy it to /etc/ftpd


/var/adm/wtmp - contains a record of all logins and logouts. You have to use the last command to view it.

last -R |more
last -R root |more
last -R username |more