Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge --update system deletes user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Chemtux
n00b
n00b


Joined: 10 Apr 2002
Posts: 22
Location: The Netherlands

PostPosted: Mon Apr 22, 2002 3:04 pm    Post subject: Emerge --update system deletes user Reply with quote

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
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Apr 22, 2002 6:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Mon Apr 22, 2002 7:26 pm    Post subject: Reply with quote

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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum