[clug-talk] how to boot without knowing any password
lost at l-w.ca
Sat Jul 31 21:37:58 PDT 2010
On 10-07-31 09:12 PM, clug-lists at vlietwerkz.ca wrote:
> Ubuntu and most of it's variants don't /use/ a root password though it
> can be set if you really want. The root password is not set by default
> for security reasons. The effect is that if an attacker attempts to log
> in as root, they will have no success no matter how many times they try
> because the root user is not /able/ to log in directly...
> The proper method for Ubuntu / Kubuntu / etc. is to log in as an admin
> enabled user - usally the user that was first set up - and use the
> command line as such:
> # sudo<whichever command/binary you want to use>
> The system will prompt you for the user's password. The password is
> hidden - in fact, no characters of any sort are displayed, so be careful
> typing the user's password. If they are set up as an admin and are also
> in the "sudoer" file, then the application will(should) execute as root.
> A neat little trick I use to keep from having to type sudo all the time
> is to run:
> # sudo su -
> It's a neat trick, but don't get in the habit of doing it all the time -
> it's bad muju.
Or you could just use "sudo -i" which accomplishes the same thing.
Of course, none of this helps if you can't log in in the first place
because you don't know ANY password on the system. This is the case in
the original query.
lost at l-w.ca
More information about the clug-talk