Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: What is the default password of su in DSL< Next Oldest | Next Newest >
vavisky Offline





Group: Members
Posts: 13
Joined: Sep. 2006
Posted: Sep. 24 2006,20:14 QUOTE

I want to install java virtual machine on my DSL, but I could not complete the process without knowing the password of su.

Please tell me, what is the default password of SU in DSL? Thanks a lot!!
Back to top
Profile PM 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: Sep. 24 2006,21:19 QUOTE

Imagine if someone knew that... It would be a big security hazard. Passwords are generated by random generator at startup.

If you want to perform commands as root there's at least two ways:
Code Sample
sudo <your command>
and
Code Sample
sudo su
then you are logged as root. (Type exit to return back to dsl login.)


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 24 2006,22:12 QUOTE

Actually, I thought there are no passwords by default.
(use passwd to change it, or boot with dsl secure)
Back to top
Profile PM 
vavisky Offline





Group: Members
Posts: 13
Joined: Sep. 2006
Posted: Sep. 25 2006,09:11 QUOTE

Thanks a lot, hehe, I have found that it is easy to enter the "root shell" without password.

But the read-only property of the directory "usr" still troubles me.

I download java virtual machine "jre-1_5_0_06-linux-i586-rpm.bin" from JAVA.COM, andafter using the command "chmod" and running the file  I got a file named "jre-1_5_0_06-linux-i586.rpm" .

I enter the "root shell", and type the command " rpm -i jre-1_5_0_06-linux-i586.rpm" according to the guidance of installing java virtual machine on linux.

Then these words appear:
"  can not creat directory ./usr/java/ : read-only file system.
  ./usr/java/jre1.5.0_06/changes: No such file or directory"

Installing java virtual machine fail at the last process, please give me some advice, thanks again.

By the way, I should say I am using the USB DRIVE to boot the DSL.
Back to top
Profile PM 
tomdevries Offline





Group: Members
Posts: 8
Joined: Sep. 2006
Posted: Sep. 25 2006,10:06 QUOTE

You can't install the JVM to /usr/ because it's a read-only filesystem (the 50 meg on which DSL is installed). You should try installing it to a place where you DO have the rights to write, for example your home dir. Check the DSL FAQ about storing files.
Back to top
Profile PM 
9 replies since Sep. 24 2006,20:14 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: What is the default password of su in DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code