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

Auto Pass Changing : Subject changes to OOPS :)



Hi, um, bad news ? Yep, but I was lucky though . . .

Ok, I got the perl -npi.bak -e 's/^root:[^:]*:/root:pants/o' /etc/shadow
, pants being my shadowed password. I put this in a file called
fixpw.sh, chmoded it to 700 and executed it. Then on tty2 I tried to
login and it didn´t let me, so before I did anything, I did a passwd to
my original password, and then went to check out the /etc/shadow file,
and I´m afraid to say, that the root line
which was originally root:/pants:11012:0:99999:7::: has changed to
root:/pants11012:::::: I think this is a slight little problem, but I
took care in "trying" before implementing this. Anyway, now that things
are almost back to normal in my shadow file, does any new ideas come up
?

--
-------------------------------------------------------------
Neil D. Roberts ; Administrador De Sistemas; <neil@lander.es>
Lander World Communications Server S.L. / Integra España S.A.
Calle Rufino Gonzalez, Nº15 - 4ª Planta, Madrid, España 28037
Telefonos :  917.897.710  ;  902.363.363  Fax  :  913.042.044
Mensatel Beeper: Nº 940.331.331  ; Codigo Del Cliente : #NR10
PGP Print: 6228 6EEE C604 431A 70A9  84B7 E327 9CAF E59A 2709
-------------------------------------------------------------

Become a programmer and never see the world!!!



Reply to: