Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Everytime I reboot my CH3SNAS my /home/root/ folder is completely empty! No single file is left, even the .ssh folder is gone.
I use fun_plug 0.5.
Is this normal behaviour or am I doing something wrong perhaps?
Offline
Thanks for the quick reply!
I tried b) change root's home dir with usermod and it worked, thans
I've made following startup-script so that it's done automatically on startup:
#!/ffp/bin/sh # PROVIDE: mvhomeroot . /ffp/etc/ffp.subr name="mvhomeroot" start_cmd="mvhomeroot_start" stop_cmd=: mvhomeroot_start() { echo "Moving root's home folder..." usermod -d /mnt/HD_a2/home/root/ root } run_rc_command "$1"
Saved as 'mvhomeroot.sh' in /ffp/start.
Any comments on this one?
Last edited by Priet (2008-08-17 14:53:16)
Offline
I achieved an even simplier solution by modifying the home directories in /etc/passwd and storing these settings to disk via store-passwd.sh
Offline
czerwinski1977 wrote:
I achieved an even simplier solution by modifying the home directories in /etc/passwd and storing these settings to disk via store-passwd.sh
I've tried doing this a few times, and now (while running ffp on USB stick), every time I reboot, the few users I've changed (and saved via store-passwd.sh!!) are reset to /home/ftp... no idea how this is happening?!
Offline
I've noticed that behavior, too. The actual /etc/passwd stored in the flash system is still correct, but at boot time the device changes all the home directories to /home/ftp. Very annoying. I had to add a quick sed script to run at startup and correct them. I suppose it's a "feature" most likely for the built-in ftp server, which makes sense but annoys us.
Offline