ts-7000
[Top] [All Lists]

[ts-7000] Re: Ts-7800 Debian FTP login

To:
Subject: [ts-7000] Re: Ts-7800 Debian FTP login
From: "naturalwatt" <>
Date: Sat, 29 Aug 2009 18:16:05 -0000
--- In  Jason Stahls <> wrote:
>
> dvir_in_new_z wrote:
> > It didn't work. passwd did set a password to the Telnet login, but I fail 
> > to login to the FTP server with that password.
> 
> I don't have a 7800 nor do I run Debian, but sounds like the FTPd itself 
> is stopping the login of root which really isn't a bad thing :)  Check 
> the manual from whatever ftpd it's using and I'm sure theirs a way in 
> the config to turn on anonymous login and/or root login.  Odds are if 
> you create a new user with useradd you'll be able to login as that user.
> 
> -- 
> Jason Stahls
>

The man page for the Debian FTPD states:

     Ftpd authenticates users according to five rules.

           1.   The login name must be in the password data base, /etc/passwd,
                and not have a null password.  In this case a password must be
                provided by the client before any file operations may be per-
                formed.  If the user has an S/Key key, the response from a
                successful USER command will include an S/Key challenge. The
                client may choose to respond with a PASS command giving either
                a standard password or an S/Key one-time password. The server
                will automatically determine which type of password it has
                been given and attempt to authenticate accordingly. See
                skey(1) for more information on S/Key authentication. S/Key is
                a Trademark of Bellcore.

           2.   The login name must not appear in the file /etc/ftpusers.

           3.   The user must have a standard shell returned by
                getusershell(3).

           4.   If the user name appears in the file /etc/ftpchroot the ses-
                sion's root will be changed to the user's login directory by
                chroot(2) as for an ``anonymous'' or ``ftp'' account (see next
                item).  However, the user must still supply a password.  This
                feature is intended as a compromise between a fully anonymous
                account and a fully privileged account.  The account should
                also be set up as for an anonymous account.

           5.   If the user name is ``anonymous'' or ``ftp'', an anonymous ftp
                account must be present in the password file (user ``ftp'').
                In this case the user is allowed to log in by specifying any
                password (by convention an email address for the user should
                be used as the password).

So check these items. Setting a valid passwd for root and editting 
/etc/ftpusers worked for me.

You should also check /etc/shells which is what item (3) basically is trying to 
say.

Martin



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU