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

Re: admin password?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 31.12.2012 06:03, Osamu Aoki wrote:
> If you did not lock system with grub password, you can always
> login as root without password.
> 
> Google with "grub init=/bin/bash mount" you get many howtos 
> describing:
> 
> Boot with
> 
> init=/bin/bash
> 
> or
> 
> init=/bin/sh
> 
> for GRUB.  Then at root prompt
> 
> mount -o remount,rw /
> 
> to reset with "passwd".

I recommend booting with "rw init=/bin/bash". The "rw" removes the
need to run "mount -o remount,rw /".

I would also like to add running command "sync" after changing the
password with "passwd" to ensure that the change gets written to disk.


- -- 
Mika Suomalainen
http://mkaysi.github.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Homepage: http://mkaysi.github.com/
Comment: Public key: http://mkaysi.github.com/PGP/0x82A46728.txt
Comment: gpg --fetch-keys http://mkaysi.github.com/PGP/0x82A46728.txt
Comment: Fingerprint = 24BC 1573 B8EE D666 D10A  AA65 4DB5 3CFE 82A4 6728
Comment: I have personal problem with PGP/MIME...
Comment: ...so signature *IS* long. See http://git.io/6FLzWg
Comment: Please remove PGP lines in replies. http://git.io/nvHrDg
Comment: Charset of this message should be UTF-8.
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJQ4VuVAAoJEE21PP6CpGco2nUP/1Za3dkQ70XckVthpQ73UO06
Uo12ph/4+cCiPTwH5na2VmJj/AlFdKiwvKJWaKLfantZjVp+/1lW6bGaOtUKLPKV
a0lBGBlV/0zPX1mzI5ukZ1288l1RACLj+1O8qH7mdTLH/ZjYImlAJJqs5g4qMQNZ
6ikWsP4jO5sjMRs+RaFSTl4rhFikZcBaDfMhk5PHD8yalkkGGpBCXfl4JYlquwKW
fWx2yJDjz1S39nj6QYC02s3LplXXZ35vJurArfrF1gtfF7l89h5pD/ekCgnD6Ocj
QZrUlIQ0I6H3sfONx0cSFiTQNXi8oqBMg+aU1b2dse8IdTSDUWsUOPFdHkI9NpJ5
oUh9gUFL3lGEOLjCKLbQTNVVs/zhPDRqfXCHwRmNEbh60aeFzDF7G5HcSUvn8+CE
PuxBIpp5ORBGJpBOFc3D/8UdnBj0Fo2oT0MUbhvVCtdrzQpaO+Ba9A4BhTXUiO7w
p9BGDU/NgdrLqESNKuPjFIH8v8njM6MOrcKeNmqz5Mik9jlPbCq/ROxAGlmbxflg
ykngSKIx64HRURi5OT1mI70BzQZ9x8aILNZGVMpgGcttMubVb85PeVDM20DXnH+F
p9gJD3LKOsyeSHHLsJk1iMeJmaUK/tEhwqa4UBUZ6DpTh7VpU7oKESwG9KKElykg
ez4kBTtEWV/vMSoE5juA
=IFLM
-----END PGP SIGNATURE-----


Reply to: