<div dir="ltr"><br><br><div class="gmail_quote">2008/9/5 Johnny Rosenberg <span dir="ltr"><<a href="mailto:gurus.knugum@gmail.com">gurus.knugum@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">2008/9/4 W. D. Allen <span dir="ltr"><<a href="mailto:ballensr@roadrunner.com" target="_blank">ballensr@roadrunner.com</a>></span><div class="Ih2E3d"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I'm new to Ubuntu 8.04 LTS Desktop Edition. I can use my root password<br>
in Ubuntu desktop system administration, etc., however when I go to<br>
terminal and enter su my password fails.<br>
<br>
Been trying to use 'recovery mode' to fix problem but can not locate it<br>
on CD.<br>
<br>
Any guidance would be gratefully accepted.<br>
</blockquote></div><div>You are not supposed to use su in Ubuntu. The "proper" way to go is sudo.</div>
<div>With sudo you have all rights for one command only, like:</div><div>sudo copy myfile.virus /boot/</div></div></blockquote><div></div><div>Ooops… of course I mean cp, I don't think there is a copy command anyway, at least not by default.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><div></div><div>You will then be asked for your password and then the command (cp in this case) is performed.</div>

<div>If you want to do something else as root within a few minutes, you don't need to enter your password again, just:</div><div>sudo another_command other_parameters</div><div>(No password is required this time)</div>

<div>If you wait for some minutes, I think it's 15, and then try sudo, sudo will ask for your password again.</div><div>sudo command1 -options file1 file2 # You will be asked for your password. The command will be executed as root.</div>

<div>command2 -options file3 file4 # This command will be executed as user (if that's your user name).</div><div>sudo command3 -options file5 # This command will be executed as root, but no password is required.</div>

<div># Now wait for 20 minutes</div><div>sudo command4 -options file6 file7 # This command will be performed as root and your password is required again.</div><div>If you want to use su anyway, try:</div>
<div>sudo su</div><div>I hope this helps.</div><div>J.R.</div></div>
</blockquote></div><br></div>