Red Hat Bugzilla – Bug 130119
Update from FC1 to FC2 overwrites the Home dir of the ftp user in /etc/passwd
Last modified: 2007-11-30 17:10:47 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510
Description of problem:
When updating from FC1 to FC2, the /etc/passwd entry for the anonymous
ftp user is overwritten (more exact: the home dir entry).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install FC1
2. Configure the anonymous ftp user with a special home dir
3.Update to FC2
Actual Results: /etc/passwd entry will be overwritten
Expected Results: No changes /etc/passwd entry.
The same problem when updating RH9->FC1
The krb5-workstation package (which includes the kerberized ftp
server) doesn't touch the 'ftp' account in its scripts. Reassigning
vsftpd doesn't modify /etc/passwd while installing. Scripts checked.
Seems to me more like anaconda problem.
No, vsftpd does set it
See from its %post --
/usr/sbin/usermod -d /var/ftp ftp >/dev/null 2>&1 || :
You're right (Thx Jeremy). The home directory is changed to default
dir. Anyway I don't see any reason why it is changed so I'll remove it
from next release.