Permanently change password on livedForum: Other Help Topics Topic: Permanently change password on lived started by: friedgold Posted by friedgold on May 03 2005,15:40
How do I change the passwords seems to be a common topic on these boards. The standard answer is to use sudo su to become root and then passwd to change passwords. However if you are booting from a livecd/frugal install when you reboot the passwords you set will be lost. Here's my solution for this:Add the following into /opt/bootlocal.sh chpasswd <<EOF root:root_pass_here dsl:dsl_pass_here EOF Then create a backup file (if you haven't already) from the myDSL panel to save your settings. When you next reboot the lines you've added to bootlocal.sh will set the password for root/dsl to the ones you've specified. This is especially useful when you want to start various services on boot such as ssh,ftp,etc which require a password to be set before you can login. Posted by meo on May 04 2005,16:46
Hi friedgold!Thanks, that might be useful sometime. Keep on having fun, meo |