Bug #317
closedSSH authorized keys lost on upgrade on embedded
0%
Description
After embedded upgrade, the SSH authorized keys are lost until editing and saving admin.
Updated by Jim Pingle almost 15 years ago
It isn't just be the authorized_keys file, but all of /home
We may need to mount the alt. slice and copy /home it if it isn't present on the current slice.
Granted, on Nano, people probably won't be dropping many if any files in /home, but there is still the possibility that people will expect that directory to be persistent.
To fix the authorized_keys issue, we'd probably just need to do something like this at every boot:- Grab a list of all users
- Iterate this list, and run: local_user_set($user);
That way the keys and other user info will be sync'd on boot, regardless of the firmware update status.
Updated by Angel Torres almost 15 years ago
Gives me the following error which breaks all internet and lan access.
Fatal error: Call to undefined function local_sync_accounts() in /etc/rc.bootup on line 22
Posted in forum as well
http://forum.pfsense.org/index.php/topic,22655.msg116506.html#msg116506
Updated by Angel Torres almost 15 years ago
Sorry that was line 228 in /etc/rc.bootup
Updated by Chris Buechler over 14 years ago
- Status changed from Feedback to Resolved
Updated by Jim Pingle almost 14 years ago
- Status changed from Resolved to New
This has apparently started happening again:
http://forum.pfsense.org/index.php/topic,31906.0.html
Updated by Ermal Luçi almost 14 years ago
- Status changed from New to Feedback
Can yo please try a snapshot from tomorrow and see if it works?
Updated by Ermal Luçi almost 14 years ago
- Status changed from Feedback to Resolved
Confirmed on forums http://forum.pfsense.org/index.php/topic,31906.0.html