Hello all, I use in.ftpd My question is: how can I disable anonymous login? I only want people I know transferring files to and from my computer. I have already read the man pages, but I think I have misunderstood something. "/etc/nologin can be used to disable ftp access". I have tried this and it really disables all kind of access! I have tried the options -A and the file "ftpchroot", like the man page suggests. anonymous can still login, even if he does not see any file. I just want my ftpd to refuse the connection, how do I do that???? Regards, Tazio
In article <3B2E1228.3010601@tiscalinet.it>,
Tazio Ceri
Hello all,
I use in.ftpd My question is: how can I disable anonymous login? I only want people I know transferring files to and from my computer. I have already read the man pages, but I think I have misunderstood something. "/etc/nologin can be used to disable ftp access". I have tried this and it really disables all kind of access! I have tried the options -A and the file "ftpchroot", like the man page suggests. anonymous can still login, even if he does not see any file. I just want my ftpd to refuse the connection, how do I do that????
AFAIK, all the users who CAN'T access ftp are listed in /etc/ftpusers. Just add anonynous to theis file. Nik
On 18 Jun 2001 10:37:28 -0400, Tazio Ceri wrote:
I use in.ftpd My question is: how can I disable anonymous login? I only want people I know transferring files to and from my computer. I have already read the man pages, but I think I have misunderstood something.
You can remove the entry for the "ftp" user in /etc/passwd. If that doesn't exist, the anonymous login should fail. Just to be safe, you could also enter "anonymous" into the file /etc/ftpusers, which is a list of usernames that ftpd will deny ftp access to (like root and daemon account names). If you already know everyone that will be transferring files, you may want to investigate using scp (secure copy, comes with [Open]SSH). You could create a special account for this (say, scpuser) and add each person's public SSH ID to its authorized_keys file. It'll give you a fairly secure mode of transferring files, if you don't mind the bother of managing the public IDs. dano
-A permits *only* anonymous logins, which probably isn't what you want. The simplest solution is to remove 'anonymous' and 'ftp' from the /etc/passwd file. This will disable all anonymous ftp logins Of course, I'm assuming you're running the default in.ftpd Regards Anders On Monday 18 June 2001 16:37, Tazio Ceri wrote:
Hello all,
I use in.ftpd My question is: how can I disable anonymous login? I only want people I know transferring files to and from my computer. I have already read the man pages, but I think I have misunderstood something. "/etc/nologin can be used to disable ftp access". I have tried this and it really disables all kind of access! I have tried the options -A and the file "ftpchroot", like the man page suggests. anonymous can still login, even if he does not see any file. I just want my ftpd to refuse the connection, how do I do that????
Regards, Tazio
-- Suche Nullen! Götzen-Dämmerung - oder wie man mit dem Pingvin philosophirt
participants (4)
-
Anders Johansson
-
Daniel Prosser
-
Nik Gare
-
Tazio Ceri