What is the default password of su in DSL


Forum: USB booting
Topic: What is the default password of su in DSL
started by: vavisky

Posted by vavisky on Sep. 24 2006,20:14
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!!

Posted by Zucca on Sep. 24 2006,21:19
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.)

Posted by ^thehatsrule^ on Sep. 24 2006,22:12
Actually, I thought there are no passwords by default.
(use passwd to change it, or boot with dsl secure)

Posted by vavisky on Sep. 25 2006,09:11
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.

Posted by tomdevries on Sep. 25 2006,10:06
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.
Posted by vavisky on Sep. 25 2006,10:34
Thanks,tomdevries, I will read the DSL FAQ later to study knowledge about storaring files.

But I have to point out, that the directory" usr" is automaticly selected by the JVM file when I run the JVM rpm files, but not I choose the directory.

Posted by Zucca on Sep. 25 2006,10:37
Why don't you install it from MyDSL?
Posted by vavisky on Sep. 25 2006,10:52
From MY DSL?
I do not know how to do it,hehe  :laugh:

Posted by ^thehatsrule^ on Sep. 25 2006,14:14
vavisky: please read the first page that pops up under dillo when you enter DSL, or the wiki.
Posted by vavisky on Sep. 25 2006,14:21
Ok, I will read the WIKI. :D  Thanks
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.