ultrastupid password question

Mike Reinehr cmr
Mon May 17 11:59:19 PDT 2004


I have a question about the instructions listed in cracking.html:

    on either the GRUB or LILO boot line, put: init=/bin/sh
    when you have a root prompt, do the following:
        mount -n -o remount,rw /
        passwd root
    (provide new password twice)
        mount -n -o remount,ro /
        sync;sync;sync
    hit the reset switch

 The instructions call for flushing the filesystem buffers, _after_ remounting 
the root file system read only. I learned to do this years ago, also, before 
doing a haltsys, but in this instance, does this really accomplish anything? 

Wouldn't it make more sense to do this just prior to the remount command, or 
does mount handle flushing the buffers, too?

TIA!

mike

On Wednesday 11 February 2004 01:01 pm, Klaus-Peter Schrage wrote:
>
> http://linux-sxs.org/administration/cracking.html
> _______________________________________________
> Linux-users mailing list
> Linux-users at smtp.linux-sxs.org
> Unsubscribe/Suspend/Etc ->
> http://smtp.linux-sxs.org/mailman/listinfo/linux-users

-- 
Debian 'Sarge': Registered Linux User #241964
----
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
--------



More information about the Linux-users mailing list