View previous topic :: View next topic |
Author |
Message |
Chemtux n00b
Joined: 10 Apr 2002 Posts: 22 Location: The Netherlands
|
Posted: Mon Apr 22, 2002 3:04 pm Post subject: Emerge --update system deletes user |
|
|
Hi, big problem.
Today I did a 'emerge --update system', which re-installed the kernel sources the base??? and sysvinit. After this emerge it deleted the user directory from which I used 'su' to do the emerge. Upon reboot I had no root-password set, so I had to give a new root-password and I had to add a new user. In short I lost all my important stuff in my user directory.
Can somebody explain and maybe help getting my files back. _________________ Nope |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Apr 22, 2002 6:26 pm Post subject: |
|
|
Sounds like you had your /etc/passwd and /etc/shadow files overwritten. Type "emerge --help config" from the command line to learn more about config file protection and how to use it to protect critical system files.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
Guest
|
Posted: Mon Apr 22, 2002 7:26 pm Post subject: |
|
|
Yep, all sorts of files were overwritten in /etc
I think I can recommend everybody not to use the CONFIG_PROTECT="" option. The main reason I lost my user dir, was for the stupid reason that my fstab wasn't correct and therefor my /home wasn't mounted.
I hope someone will learn from my mistake |
|
Back to top |
|
|
|