vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Bob Reinkemeyer enlightened us with: > After doing a emerge -u world I am no longer able to log in. Part > of the update was shadow ( I think this is the problem.) Any way to > get them back? Boot with the 'init=/bin/bash' parameter, remount your root filesystem r/w with 'mount / -o remount,rw' and edit some files. Then remember to do 'mount / -o remount,ro' before you reboot. Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |
| |||
| Sybren Stuvel wrote: > Bob Reinkemeyer enlightened us with: >> After doing a emerge -u world I am no longer able to log in. Part >> of the update was shadow ( I think this is the problem.) Any way to >> get them back? > > Boot with the 'init=/bin/bash' parameter, remount your root filesystem > r/w with 'mount / -o remount,rw' and edit some files. Then remember to > do 'mount / -o remount,ro' before you reboot. > > Sybren Thanks for the help. Looks like the update replaced my /etc/passwd file. Fortunatly it creates a backup. I just had to replace with the bbackup. I was asked after the update completed if I wanted to replace config files, I should have considered the implications more carefully before just answering yes. Bigbob |
| |||
| Bob Reinkemeyer wrote: > Sybren Stuvel wrote: > > >>Bob Reinkemeyer enlightened us with: >> >>>After doing a emerge -u world I am no longer able to log in. Part >>>of the update was shadow ( I think this is the problem.) Any way to >>>get them back? >> >>Boot with the 'init=/bin/bash' parameter, remount your root filesystem >>r/w with 'mount / -o remount,rw' and edit some files. Then remember to >>do 'mount / -o remount,ro' before you reboot. >> >>Sybren > > Thanks for the help. Looks like the update replaced my /etc/passwd > file. Fortunatly it creates a backup. I just had to replace with the > bbackup. I was asked after the update completed if I wanted to > replace config files, I should have considered the implications more > carefully before just answering yes. > > Bigbob Doing that once nuked my /etc/fstab file. YUCK |
| |||
| Ken Scharf wrote: > Bob Reinkemeyer wrote: >> >> Looks like the update replaced my /etc/passwd file. >> I was asked after the update completed if I wanted to replace config >> files, I should have considered the implications more carefully before >> just answering yes. > > Doing that once nuked my /etc/fstab file. YUCK ^ insert I here -- Ben M. |
| |||
| Ken Scharf wrote: > Bob Reinkemeyer wrote: >> Sybren Stuvel wrote: >> >> >>>Bob Reinkemeyer enlightened us with: >>> >>>>After doing a emerge -u world I am no longer able to log in. Part >>>>of the update was shadow ( I think this is the problem.) Any way to >>>>get them back? >>> >>>Boot with the 'init=/bin/bash' parameter, remount your root filesystem >>>r/w with 'mount / -o remount,rw' and edit some files. Then remember to >>>do 'mount / -o remount,ro' before you reboot. >>> >>>Sybren >> >> Thanks for the help. Looks like the update replaced my /etc/passwd >> file. Fortunatly it creates a backup. I just had to replace with the >> bbackup. I was asked after the update completed if I wanted to >> replace config files, I should have considered the implications more >> carefully before just answering yes. >> >> Bigbob > Doing that once nuked my /etc/fstab file. YUCK It also nuked my fstab as well as all my other important config files. I've gotten most back, but K3b, smb4k, and nvidia won't work. Can't get to a console without x running to fix it. Moral of the story is read exactly what the update is going to do before answering yes. My fault. Like so many other lessons in computers, sometimes you have to learn the hard way. Bigbob |
| ||||
| Bob Reinkemeyer wrote: > > Thanks for the help. Looks like the update replaced my /etc/passwd > file. Fortunatly it creates a backup. I just had to replace with the > bbackup. I was asked after the update completed if I wanted to > replace config files, I should have considered the implications more > carefully before just answering yes. > I always perform etc-update when requested, but look first to see what files it wants to update and make a backup of the file before I let it change anything. -- Apollo |