nunca lo hice, pero supongo que con un knoppix y desde una consola root, montas la particion ......
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
UNIX GURU UNIVERSE
UNIX HOT TIP
Unix Tip 2088 - September 19, 2003
http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
NULL ROOT PASSWD WITHOUT VI
As admins We never forget the root password,
RIGHT?
Although sometimes we do inherit machines in
which we don't know the root password.
Here is a way to null the root password from
the password file.
It comes a time in every admins life that we
will have to go into mini-root and change the
password file without the use of vi.
The following example shows how to achieve this
on the /etc/shadow file, but the same basic
commands can be achieved on the /etc/passwd file
for those platforms that don't support shadow
passwords.
Use "ed" - and the 13 dots method
---------------------------------
# cp /etc/shadow /etc/shadow.bak
# ed /etc/shadow
1p
s/:.............:/::/
1p
w
q
-----Original Message-----
From: Obi Wan Kenobi [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 29, 2003 4:49 PM
To: [EMAIL PROTECTED]
Subject: [LUG.ro] usuario root
hola, tengo un problema con el server de la empresa donde trabajo, que esta montado sobre un Linux Red Hat, el buen hombre que lo hizo se fue a EEUU llevandose consigo el usuario Root, hay alguna manera de poder saber cual es el usuario o de tumbarlo y crear uno nuevo sin estropear el server? gracias
