export HOME=/opt/root in /opt/etc/profileyes, thanks a lot!! make a lot more sense to put it there, and source /opt/etc/profile from /jffs/configs/profile.addThat should work. Alternatively you could just putexport HOME=/opt/rootin/opt/etc/profile
No need.and source /opt/etc/profile from /jffs/configs/profile.add
/opt/etc/profile is already sourced from /etc/profile.make sure that IF external ssd is mounted then the admin (uid==0) home is /opt/rootWhat are you trying to achieve? This seems unnecessarily complicated.
Then the solution in post #2 should be all you need. Unless you've got a non-standard configuration the only interactive login account is the admin (UID=0) user. There aren't any other interactive login accounts so you don't need to cater for other UIDs.make sure that IF external ssd is mounted then the admin (uid==0) home is /opt/root
it is a standard configuration. thanks a lot for taking from your time to answer and follow this thread!Then the solution in post #2 should be all you need. Unless you've got a non-standard configuration the only interactive login account is the admin (UID=0) user. There aren't any other interactive login accounts so you don't need to cater for other UIDs.
We use essential cookies to make this site work, and optional cookies to enhance your experience.