View Single Post

   
  #6 (permalink)  
Old 02-15-2008, 05:19 PM
Ian Wilson
 
Posts: n/a
Default Re: Lost ftp account in /etc/passwd

Ronald J Marchand wrote:
> "Tom Parsons" <sconews@tegan.com> wrote in message
> news:20050826104853.22912@tegan.com...
>
>>Ronald J Marchand enscribed:
>>| > | Openserver 5.0,6
>>| > |
>>| > | The user account for ftp is gone. How is it reinstated?
>>| > | Account manager complains about user ids below 200!
>>| >
>>| > Gone or never added?
>>| >
>>| > A ftp user is not installed by default in 5.0.5
>>|
>>| 5.0.6, and it was there. Unfortunately, the disk motor is dying now
>>| compounding the problem.
>>
>>I'm not understanding the revelance.
>>Are you wanting to transfer the files?
>>The ftp user doesn't prevent ftp, its primary use is for anonymous ftp.
>>If you are trying to get the files off quickly, rsync is more efficient.

>
> I didn't detail the problem. I have a sick machine on my hands (hard drive
> drops out) and I wanted to ftp a tarball of user data to another machine.
> This one will not accept an FTP connection and the syslog file contains info
> that the ftp user is not there. And it isn't. I didn't know how to
> reinstate it either.


As Tom says, you don't need an "ftp" user to use FTP. Just log on as any
user (or root) and use the ftp command.

> However, I have never used rsync and I will now read the man page.


AFAIK rsync is good if you want to *regulary* synchronise some set of
files across two machines. E.g. daily. Then its worth the (relatively
minor) effort to set up rsync and ssh.

For a one-off transfer thats unlikely to be repeated, I'd make a
compressed tarball and use ftp.
Reply With Quote