Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-07-2005, 01:17 PM   #1 (permalink)
 
True Techie

Join Date: Nov 2005

Posts: 109

Adam123

Default Installing Java

Ive been reading on the "Unoffical Ubuntu Guide". I'm trying to install Java so i can download Limewire. I goto the terminal and i type...

PHP Code:
sudo apt-get install sun-j2re1.5
sudo apt
-get install sun-j2re1.5
java 
-version 
It then asks me for a password...I tried the password i use for my user account, and that wont work...Any ideas?
Adam123 is offline  
Old 12-07-2005, 02:05 PM   #2 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

need root password probably
horndude is offline  
Old 12-07-2005, 05:19 PM   #4 (permalink)
 
Ultra Techie

Join Date: Nov 2004

Posts: 905

Sevoma is on a distinguished road

Send a message via AIM to Sevoma
Default

type in the console:
"sudo passwd root"
without the quotes.
type in the root (admin) password you want.

then you can use that.

Good luck
__________________
<a href=\"http://truecombat.us\"><img src=\"http://www.truecombat.us/images/buttons/tcusbannersmall.jpg\"></a>

Sevoma Web Hosting
Sevoma is offline  
Old 12-09-2005, 05:54 AM   #5 (permalink)
void's Avatar
 
True Techie

Join Date: Oct 2005

Posts: 198

void

Default

IMO I wouldn't do that as that enables the root account. Ubuntu doesn't enable a root account by default, like so other distros. When it asks for a password it is asking for your password. This gives you 15 minutes of root privileges. After that you will be prompted for your password again. It is likely that your user account hasn't got the right privileges to use the 'sudo' command. To change this go to System -> Administration, and click users. Under the user privileges tab you should find a check box with "Executing system administration tasks", if its unchecked then check it. If you have enable the root account you can undo it by going to the terminal and typing "sudo passwd -l root" without the quotes. But if you tried enabling root from your account it should not have let you if you couldn't use the 'sudo' command.

See here about Ubuntu and root
void is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On