December 3, 200916 yr Start off by saying I am not the most savy Linux user. Recently I have made changes to my unraid installation such as changing the root password, editing crontab and making some bash scripts. It seems that when I reboot the changes are lost. Is this by design? Do I need to make a change somewhere or did I possibly not format the USB stick with Read / Write? Thanks for any help.
December 3, 200916 yr Start off by saying I am not the most savy Linux user. Recently I have made changes to my unraid installation such as changing the root password, editing crontab and making some bash scripts. It seems that when I reboot the changes are lost. Is this by design? Do I need to make a change somewhere or did I possibly not format the USB stick with Read / Write? Thanks for any help. You do need to apply the changes after every boot as the unRAID OS runs in RAM once it is loaded. In /boot/config/ (the config folder on the flash drive) there is the go script. you can put stuff in there to make the changes you want after every boot. Take a look at the Third party Boot Flash Plugin Architecture in the wiki also. It may be a little involved for what you are looking to do, but it is what some of the members that right addons take advantage of. The crontab stuff will change on reboot, but if you change the root password that should stick.
December 3, 200916 yr Author Thanks for the quick reply, the root password doesn't seem to take. Logged in as root i typed in 'passwd' and the new password. Upon reboot it resets itself. Is there a better different way of doing it for Unraid?
December 3, 200916 yr Thanks for the quick reply, the root password doesn't seem to take. Logged in as root i typed in 'passwd' and the new password. Upon reboot it resets itself. Is there a better different way of doing it for Unraid? Yes, set it using the "users" page in the management web-page. A copy of the password file is then stored on the flash drive (and restored when you reboot)
December 3, 200916 yr Thanks for the quick reply, the root password doesn't seem to take. Logged in as root i typed in 'passwd' and the new password. Upon reboot it resets itself. Is there a better different way of doing it for Unraid? set the root password via the web interface. Under the Users section for the web interface just enter the password twice and hit apply.
Archived
This topic is now archived and is closed to further replies.