How to config FTP server for Root Login

I’d like to be able to FTP into my machine as root. When I try this it
denies access. How do I allow it?

Chris Rose wrote:

I’d like to be able to FTP into my machine as root. When I try this it
denies access. How do I allow it?

From the QNX4 ftpd online help:

The ftpd daemon authenticates users according to
these rules:

  1. The username must be in the password database /etc/passwd and
    must not have a null password. The client must provide a password
    before any file operations may be performed.

  2. The username must not appear in the file etc/ftpusers, which
    contains a list of users who aren’t allowed to use ftp.
    One username is listed per line. If this file is missing,
    anyone on the local system may access ftp.

  3. The user must have a standard shell (i.e. one listed in
    /etc/shells).

Chris Rose <chris.rose@viasat.com> wrote:

I’d like to be able to FTP into my machine as root. When I try this it
denies access. How do I allow it?

Have you enabled ftp in your inetd.conf?
Are you running inetd?

What error do you get?

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

If your problem is only with the ‘root’ user, but other users work ok, then
most likely you just need to remove root from /etc/ftpusers

Rob Rutherford

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:b7k4ns$ll9$1@nntp.qnx.com

Chris Rose <> chris.rose@viasat.com> > wrote:
I’d like to be able to FTP into my machine as root. When I try this it
denies access. How do I allow it?

Have you enabled ftp in your inetd.conf?
Are you running inetd?

What error do you get?

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Robert Rutherford wrote:

If your problem is only with the ‘root’ user, but other users work ok, then
most likely you just need to remove root from /etc/ftpusers

That’s one – also, root must have a password. Even after you remove
root from /etc/ftpusers, it will not allow login with the (default)
blank password.

lew