FTP User deletion

nappa

Verified User
Joined
Jun 10, 2003
Messages
32
I've got a server that a client has deleted the user " ftp " on the machine. The FTP will no longer start up. Is there anything wrong with me simply adding in a user by the name of FTP and my choice of password ? or will it affect the way DA uses proftp ?
 
Probaly you don't need to set the password. But as for security you should set it's shell to /sbin/nologin or wherever it is on you system.

Check the logs to see if it start up correctly after adding the user.
 
Presuming you're running a version of RHL or RHEL, dd this line:

ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin

directly under the line beginning "gopher", in /etc/passwd.

Then if it doesn't exist, add this line:

ftp:x:50:

directly under the line dip:x:40: in /etc/group

and the line:

ftp:*:12284:0:99999:7:::

under the line beginning "gopher" in /etc/shadow.

That should do it.

Jeff
 
Back
Top