Ninad,<br>thanks for the valuable guidance. Since I am newbie to linux i did not <br>experiment but followed as per your guidance. extract of terminal reproduced below:<br><br>sriranga@ubuntu:~$ cd tesseract-ocr-read-only-408/<br>
sriranga@ubuntu:~/tesseract-ocr-read-only-408$ sudo password<br>[sudo] password for sriranga: <br>sudo: password: command not found<br>sriranga@ubuntu:~/tesseract-ocr-read-only-408$ sudo passwd<br>Enter new UNIX password: <br>
Retype new UNIX password: <br>passwd: password updated successfully<br>sriranga@ubuntu:~/tesseract-ocr-read-only-408$ sudo ldconfig<br>sriranga@ubuntu:~/tesseract-ocr-read-only-408$ sudo<br>usage: sudo -h | -K | -k | -L | -l | -V | -v<br>
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]<br> {-i | -s | <command>}<br>usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...<br>sriranga@ubuntu:~/tesseract-ocr-read-only-408$ sudo ldconfig<br>
sriranga@ubuntu:~/tesseract-ocr-read-only-408$ su<br>Password: <br>root@ubuntu:/home/sriranga/tesseract-ocr-read-only-408# ldconfig<br>root@ubuntu:/home/sriranga/tesseract-ocr-read-only-408# <br><br>Nothing displayed for ldconfig. where I made a mistake?<br>
-sriranga(77yrsold)<br><br><div class="gmail_quote">On Wed, Jun 30, 2010 at 6:46 AM, Ninad Pundalik <span dir="ltr"><<a href="mailto:ninadsp16289@gmail.com">ninadsp16289@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div class="im">> > ocr-read-only-408$ su<br>
> > Password:<br>
> > su: Authentication failure<br>
</div>@Sriranga: 'su' is the command that logs you into the root shell and<br>
hence, the password required would be that of the root user. If you<br>
have not set a password for the root, then it is a randomly generated<br>
password (AFAIK) at install by Ubuntu. If you wish to set the root<br>
password, you must do that first with 'sudo passwd', first give your<br>
account's password (so that sudo is authenticated) and then enter the<br>
new password for root twice. I'd recommend the command I've given in<br>
the next line, if an interactive root login is a must.<br>
<div class="im"><br>
> Instead of su, use "sudo bash" to become root on a shell console. When<br>
> prompted for password, give your own password and you should be root.<br>
</div>@Nishant: The recommended way to get to a root shell without using<br>
'su' is to use 'sudo -i' (read the sudo manpage for further details<br>
about this option). It ensures that environment variables like<br>
SUDO_USER and other SUDO_* variables are correctly setup in the shell.<br>
<br>
NOTE: Unless you know what you are doing, logging into root<br>
interactively (with either su or sudo -i) is not recommended by<br>
Ubuntu. Using sudo for each command ensures that an audit trail<br>
remains, should something go wrong. There are people who debate the<br>
advantages of sudo, and you may google it up, to read both sides of<br>
the story, as I am not experienced enough to take any side and support<br>
it.<br>
<br>
Ninad S. Pundalik<br>
Twitter: @ni_nad | Identica : @ninad | <a href="http://ninadpundalik.co.cc/blog" target="_blank">http://ninadpundalik.co.cc/blog</a><br>
GPG Key Fingerprint: 2DF7 B856 C75E C9F9 0504 C0EF D456 1946 7C45 2C6<br>
<div><div></div><div class="h5"><br>
--<br>
ubuntu-in mailing list<br>
<a href="mailto:ubuntu-in@lists.ubuntu.com">ubuntu-in@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-in" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-in</a><br>
</div></div></blockquote></div><br>