root passwordForum: Other Help Topics Topic: root password started by: getoverit Posted by getoverit on April 03 2005,12:04
i was playing around with dsl last night when it asked me for the root password, i figured there wasent one so i hit enter.... but it says incorrect... whats the root password? thanksWes Posted by tronik on April 03 2005,13:34
covered OFTEN on the forums...there is no root password. use 'sudo su' to get a root shell, set your own root password. blah. Posted by cbagger01 on April 04 2005,03:25
In other words:sudo passwd and type in your new root password here. Posted by SalgerKlesk on April 18 2005,10:15
how can i say to DSL that **** is my new password? In other words, what is the exact command i have to type?
Posted by cbagger01 on April 18 2005,16:15
Open an xterminal window and type:passwd (to set password for username "dsl") or sudo passwd (to set password for username "root") Posted by dexdex on Oct. 26 2005,19:53
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.
Posted by mikshaw on Oct. 26 2005,20:37
after setting the password, add "etc/shadow" to .filetool.lst.This works only if you use the backup/restore feature. Posted by dexdex on Oct. 27 2005,09:17
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. Posted by dexdex on Oct. 27 2005,10:05
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 ;-) Posted by mikshaw on Oct. 27 2005,15:02
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. Posted by dexdex on Oct. 28 2005,11:12
I will check later if the mydsl running by root and restore feature by dsl user, but thx again for the hint. But at the moment a I have to solve another problem, to find out what kind of filesystem is the sda2 partiton on my stick. The reason ist that have to use the stick storage under other operatings systems at the office (pdf presentation etc. under windows) sda2 seem to be not fat system and windows do not recognize the sda2 only the sda1. But anyway thats another topic. Perhaps somebody who is in charge for the FAQ could add the root password topic to the FAQ. It seems, that many User (not running a simple hd install) like to have a special root and dsl password. I found so many root passwd questions. Posted by mikshaw on Oct. 28 2005,14:49
I hear that Windows will not recognize multiple partitions on a stick. I'm not sure why...whether it was intentional or if the developers just didn't think about the possibility of multiple partitions.I'm pretty sure that the restore is run by user dsl, so you wouldn't have write access to /etc. (EDIT: That last sentence is incorrect. Restore works fine for /etc files.) Kent just posted in another thread about how to use the backup&restore tool to create mydsl extensions of individual files. The post concerned a specific set of files, and added something about building a new CD, but the first part of the process can be used for /etc/shadow. < http://damnsmalllinux.org/cgi-bin....;t=4905 > As he said, make sure to revert the filetool list to its original state after you've made your special package. Posted by humpty on Nov. 02 2005,19:28
I don't intend on setting a password for root or dsl,however i might if there is a security risk. How easy is it for a hacker to gain access to my PC if I am connected? (e.g telnet, login ..etc?) Posted by mikshaw on Nov. 02 2005,19:53
As far as I know, applications such as ssh and telnet will not accept remote connections unless you have set a password, so you should be pretty safe in that respect.
Posted by macadavy on April 17 2006,03:47
Thanks, cbagger01, just what I needed to know! (Now you know what a newbie I am!)
|