See:Â <a href="http://ubuntu.sun.ac.za/wiki/index.php/SUDOInfo">http://ubuntu.sun.ac.za/wiki/index.php/SUDOInfo</a><div><br><br><div class="gmail_quote">On 9 September 2012 06:40, Nico Michael(iBurst) <span dir="ltr"><<a href="mailto:nick.michael@ptaisp.co.za" target="_blank">nick.michael@ptaisp.co.za</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi there <br>
<br>
<b>I need to work as root user </b><br>
I need to enable the root user and set the root user password in my
Ubuntu workstation in a VMÂ <br>
I could do sudu su but I need to login with full root as the root
user<br>
<br>
<b>This is in a VM and risks mitigated</b><br>
Regarding risks this is a VM so I will make an image in the VMwareÂ
server to recover from damage.<br>
<br>
<b>How do I set root password</b><br>
I know is solaris you would use a passwd command to set the root
user's password<br>
<br>
<b>What is root home directory</b><br>
I also know in solaris the root users home directory in not
/home/root  what is it in Ubuntu Linux?<br>
<b><br>
</b><b>The root or sudo user cant see programs pathed for non-root
users how do I fix that</b><br>
Also I have seen certain program ran when you logged in as non-root
user which did not get pathed and did not run on a Centos Server
when you logged in as root<br>
<br>
<b>I need to run Sun Java not the non-industry non-standard Java
Ubuntu provides</b><br>
One of the problems all professional Java developers have with
Ubuntu is we need to use the Industry standard so our programs work
Ubuntu tends to install its own "Non-Industry non-standard" Java<br>
Which we always have to remove and then it becommes a mission to get
Sun java to work <br>
<br>
<b>To get Sun Java running on Ubuntu</b><br>
I remove the "Ubuntu supplied non-standard Java" then I edit
/etc/profile and add JAVA_HOME="/usr/lib/jvm/java-6-sun-1.0.0.30Â
and then export JAVA_HOME<br>
<br>
<b>Java does not run as the sudo or root user</b><br>
This works when I run     java -version                     I get
the right version of Java<br>
how ever when I run        sudo java -version           It cant
find Java<br>
<br>
 which file and or older do you put path information so the Root or
SUDO user can find the Java ?<br>
<br>
<br>
Please advise<span class="HOEnZb"><font color="#888888"><br>
<pre cols="72">--
Kind Regards
Nico Michael
<a href="http://www.arduino.org.za" target="_blank">http://www.arduino.org.za</a></pre>
</font></span></div>
<br>--<br>
ubuntu-za mailing list<br>
<a href="mailto:ubuntu-za@lists.ubuntu.com">ubuntu-za@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-za" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-za</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><b>Hilton Gibson</b></div><div>Systems Administrator</div><div>JS Gericke Library</div><div>Room 1025D</div><div>Stellenbosch University</div><div>Private Bag X5036</div>
<div>Stellenbosch</div><div>7599</div><div>South Africa</div><div><br></div><div>Tel: +27 21 808 4100 | Cell: +27 84 646 4758</div><div><a href="http://library.sun.ac.za" target="_blank">http://library.sun.ac.za</a></div>
<div><a href="http://scholar.sun.ac.za" target="_blank">http://scholar.sun.ac.za</a></div><br>
</div>