Operating System - HP-UX
1834158 Members
2535 Online
110064 Solutions
New Discussion

enable ftp loging for root

 
SOLVED
Go to solution
Manu_13
Frequent Advisor

enable ftp loging for root

Hi,

the ftpusers file does not have entry for root. still the ftp loging for root fails? how do i enable ftp login for root?

cheers,
manu
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: enable ftp loging for root

do a man on ftpaccess and ftpd. If you don't use ftpaccess then you can set the -l -L and other options in /etc/inetd.conf, otherwise if you use ftpaccess you need to set the "log" directive.

live free or die
harry d brown jr
Live Free or Die
Manu_13
Frequent Advisor

Re: enable ftp loging for root

i need to enable longin, not logging. there was a spelling mistake.

cheers,
manu
Suraj_2
Valued Contributor
Solution

Re: enable ftp loging for root

Hi Manu

Check the entries in /etc/shells.

It should have the entry of the shell used by root. Check the shell from /etc/passwd.


Hope this helps

Rgds
Suraj
Manu_13
Frequent Advisor

Re: enable ftp loging for root

there was no /etc/shells file. i created it and restarted the inetd. it worked.

thnx a lot!
manu