<br><br><div class="gmail_quote">On Wed, Dec 19, 2012 at 11:15 AM, Rick Hornsby <span dir="ltr"><<a href="mailto:richardjhornsby@gmail.com" target="_blank">richardjhornsby@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
<br>
On Dec 19, 2012, at 10:52, Rob Funk <<a href="mailto:rfunk@funknet.net" target="_blank">rfunk@funknet.net</a>> wrote:<br>
<br>
> On Wednesday, December 19, 2012 10:39:49 AM Rick Hornsby wrote:<br>
>> Side note: basically, never log in as root.<br>
><br>
> Agreed.<br>
><br>
>> Unless the system is so<br>
>> borked there is no other way to get in. Log in as yourself, and use sudo<br>
>> to execute administrative tasks that require root privs. In some rare<br>
>> cases, switching to root for a few minutes is easier -<br>
>><br>
>> $ sudo su - root<br>
><br>
> Easier: sudo su -<br>
> (root is the default.)<br>
<br>
</div>indeed. Typed it out in the explicit form w/o thinking.<br>
<div><br>
> OR<br>
> sudo -i<br>
><br>
> Or, if you want something closer to your usual environment, but as root:<br>
> sudo su<br>
> OR even better:<br>
> sudo -s<br>
<br>
</div>If you do this, maybe modify your own path first to include /sbin and /usr/sbin. No distro I've worked in has ever included the sbin directories in the user path by default.<br>
<br>
I sometimes add them out of principle anyways. There are a few things in there that a non priv user might run (ping? or did that get moved to /bin?)<br></blockquote><div><br>Running Mint 14.1 The root password by default is the same as whoever installed. During setup, I used a totally unacceptable PW even by my standards.<br>
<br>tom@tom-Inspiron-1520-mint ~ $ passwd<br>Changing password for tom.<br>(current) UNIX password: <br>passwd: Authentication token manipulation error<br>passwd: password unchanged<br><br>tom@tom-Inspiron-1520-mint ~ $ sudo passwd<br>
[sudo] password for tom: <br>Enter new UNIX password: <br>Retype new UNIX password: <br>passwd: password updated successfully<br>tom@tom-Inspiron-1520-mint ~ $ <br><br>tom@tom-Inspiron-1520-mint ~ $ sudo su root<br>[sudo] password for tom: <br>
<br>#tried the new password<br><br>Sorry, try again.<br><br>[sudo] password for tom: # tried original password<br><br>tom-Inspiron-1520-mint tom # <br><br>I want to be able to change the password that I login with after I startup my laptop.<br>
<br>
<br> <br>
<br>
_______________________________________________<br>
colug-432 mailing list<br>
<a href="mailto:colug-432@colug.net" target="_blank">colug-432@colug.net</a><br>
<a href="http://lists.colug.net/mailman/listinfo/colug-432" target="_blank">http://lists.colug.net/mailman/listinfo/colug-432</a><br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div><br>