SUMM: root ftp access

From: Guy Dallaire <dallaire_at_total.net>
Date: Wed, 04 Jun 1997 16:08:35 -0400

Thanks to all who replied. In particular to:

Thomas Leitner <tom_at_finwds01.tu-graz.ac.at>
Tom Webster <webster_at_ssdpdc.mdc.com>
farley_at_Manassas1.TDS-GN.LMCO.COM (Patrick Farley)
BigRedDog <ckrieger_at_latrade.com>
Steve VanDevender <stevev_at_hexadecimal.uoregon.edu>
Rob <rkasper_at_sybase.com>
"Tim O'Connor" <tco_at_alpha.uhlaw.com>
James Michaud <michelob_at_ed.ray.com>

Sorry if I forgot someone

Original question:

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

I searched the archives but saw no summaries on this one:

I tried to enable (temporarily) ftp access to my server by root but could
not do it. I modified the /etc/ftpusers file and removed user root from the
file but it did not work. Also, I noticed that ftpd is NOT running on my
system. I tried with ps auxww | grep ftpd and got nothing !

Strange or normal ? Other users have no problems accessing the server via ftp.

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

Solution:

You have to remove root from /etc/ftpusers. ALSO, you have to make sure
that the shell listed for root in /etc/passwd is present in /etc/shells. In
the case of root on a DU system, the shell is /sbin/sh (and NOT bin/sh), by
default, the shells in /sbin are NOT in /etc/shells

Regarding ftpd, is is spawned by inetd when it is needed. You'll only see
it with ps while someone has an ftp session opened to your server.

Thanks to everyone !



-------------------------------------------------------------------
Guy E Dallaire, SysAdmin, DBA
Le Directeur General des Elections du Quebec, QC, Canada
Phone: (418) 646-8618
Fax: (418) 644-9624

    ** "Honni soit qui disco pense"

-------------------------------------------------------------------
Received on Wed Jun 04 1997 - 22:16:31 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT