-- sir/madam Hi in my system i have installed fedora core-3 and i dont know why some system users are deleted from /etc/passwd file and when i start some services like postgresql , sendmail etc the system says system user "postgres" does't exist i have some important data in my system. so pls tell me hoew to include these system users again without reinstalling the packages. i tried with forcebly updating the rpms. but didn't solved the problem
Thanks/Regards Mallikarjun Mudumali 9880023898 Thanks/Regards Mallikarjun Mudumali 9880023898
On 1/31/06, anupama 2004 mallik.linux@gmail.com wrote:
-- sir/madam Hi in my system i have installed fedora core-3 and i dont know why some system users are deleted from /etc/passwd file and when i start some services like postgresql , sendmail etc the system says system user "postgres" does't exist i have some important data in my system. so pls tell me hoew to include these system users again without reinstalling the packages. i tried with forcebly updating the rpms. but didn't solved the problem
Thanks/Regards Mallikarjun Mudumali 9880023898 Thanks/Regards Mallikarjun Mudumali 9880023898
--
hey,
create the users like posgre and other users through "useradd" command. Normally these users are created when u install the packages or rpms.
useradd postgre
Regards
Ankush Grover
On Tue, 2006-01-31 at 16:09 +0530, anupama 2004 wrote:
-- sir/madam Hi in my system i have installed fedora core-3 and i dont know why some system users are deleted from /etc/passwd file and when i start some services like postgresql , sendmail etc the system says system user "postgres" does't exist i have some important data in my system. so pls tell me hoew to include these system users again without reinstalling the packages. i tried with forcebly updating the rpms. but didn't solved the problem
IIRC, if you did an upgrade instead of a clean install, rpm creates a .rpmnew (the new file) or .rpmsave (the old file) file for each critical configuration file that needs to be replaced.
Check and see if you have a /etc/passwd.rpmnew or /etc/passwd.rpmsave file. If so you probably also have a matching /etc/shadow.rpmxxx file. If these files exist then it is likely you will need to manually merge the changes into the /etc/passwd and /etc/shadow files.