[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Deleted root account in passwd



Pete Clarke wrote:

Hi there,

<dumb mode>I managed to delete the root entry in /etc/passwd whilst playing on a test box</dumb mode> Is there an easy way of re-inserting, or copying the backup passwd file I have without physical access to the box?

I can ssh into it, but only as a regular user - obviously I can't su to root as it doesn't exist anymore :-)

Any ideas?

Cheers


Surely you've set up sudo for normal root-type things? If not, without physical access, I don't know of any way around the problem.

--
Kent



Reply to: