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: (3) </ 1 [2] 3 >/

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

reply to topic new topic new poll
Topic: root password< Next Oldest | Next Newest >
dexdex Offline





Group: Members
Posts: 25
Joined: Feb. 2005
Posted: Oct. 26 2005,19:53 QUOTE

OK, I have a USB-ZIP Pendrive installation and how do I change the root password there? Ok I can set with sudo passwd but only for the current session after rebooting the password is lost.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 26 2005,20:37 QUOTE

after setting the password, add "etc/shadow" to .filetool.lst.
This works only if you use the backup/restore feature.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
dexdex
Unregistered






Posted: Oct. 27 2005,09:17 QUOTE

thx for the answer, but your hint does not work. Perhaps I should give a little bit more information about my dsl installation. I use a 128 MB USB Stick with USB-ZIP installation (the USB-HDD does not work) So the stick will split in sda1 and sda2 during the USB-ZIP installation. my backup medium is sda2 and the backup is running correctly because I use a static IP with the bootlocal.sh method. And I add etc/shadow to the filetool.lst

PS: One more info - I did not choose the toram installion option only vga`normal and ssh

Perhaps you will find a solution, would be very nice, because I need the ssh to connect remotly to the dsl system.
Back to top
dexdex
Unregistered






Posted: Oct. 27 2005,10:05 QUOTE

I found a solution. Instead of add the etc/shadow simple add /etc/passwd to the filetool.lst. But the question that comes with this solution, if there could a security problem?

PS: /etc/shadow does not work and at the moment I can live with the /etc/passwd solution ;-)
Back to top
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 27 2005,15:02 QUOTE

That's odd....i backup my passwords using only /etc/shadow.  I don't use the backup/restore feature, though, and instead have the file inside a tar.gz mydsl extension.  That's most likely the difference. The restore is probably being run by dsl, where the extensions are installed by root.  If someone can verify this before I check it out myself, please let me know and i'll edit my "tips" post.

What security issues are you concerned about?  As long as no one else has access to your backup you should be fine, but i'm far from expert on security matters.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
14 replies since April 03 2005,12:04 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: root password

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