Re: HELP! can't become root



On Saturday 06 October 2007 20:46, Kevin Mark wrote:
On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote:
Realistically, is there any way I can fix my system so I can log in as
root, without reinstalling the OS?

Here is the question: lets say you fix the initial problem and CAN log
in as root. What next? You have a few hundred files with the wrong
permission.

Q: How do you fix this? A: with great pains!

On an average unix system, you can access the data or configuration by
using a live cd or similar, then back that up. Now that you have the
important data like the output of 'dpkg --get-selections´, you now know
what packages to install when you reformat the partition! So you do a
base install, use 'dpkg --set-selections', do the other bits to install
the rest of the packages, and in about 1/2 a day, you can be back to a
reasonable state.

The other way is to fiddle with a few hundred files until you get an
only mildly broken system. At least that is the way I look at it, YMMV.
K

But I would still like to get a list of the normal /dev perm's. Keep in mind
that my system, so far ;) , seems to be functioning normally, except I can't
do 'su'. Another consideration is that I'm thinking of getting new hardware
and would as soon put off the systems work until then.





--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: HELP! cant become root
    ... root, without reinstalling the OS? ... How do you fix this? ... base install, use 'dpkg --set-selections', do the other bits to install ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: HELP! cant become root
    ... root, without reinstalling the OS? ... How do you fix this? ... base install, use 'dpkg --set-selections', do the other bits to install ... 'tis sage advice, i fear. ...
    (Debian-User)
  • Re: Our package system: "Fundamentally Flawed" - A Linux User.
    ... >> and an assumption that the install went well. ... >> and figure out how to fix it manually. ... even linux and bsd) can be improved. ... To unsubscribe, ...
    (freebsd-questions)
  • Re: Another Newbie Troubles with Debian
    ... make multiple selections...for example if I wanted to install the Web Server, ... DNS Server, FTP Server along with the desktop. ... If so type 'su' followed by the root password and then run ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Mount ext2/ext3 as specific user at system start?
    ... That will not fix his problem. ... Since it will automatically mount at ... it will be mounted by root. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)