You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to set a default user to log into a terminal session instead of defaulting to root. Similar to setting a default user in dietpi.txt at first boot.
The text was updated successfully, but these errors were encountered:
Related to another issue we had the idea to not start the shell directly when accessing the terminal page, but instead start login to show a regular login prompt. This enhance security as well and one can use any user. But it also means an additional step when using the terminal.
It could be even login -f <user>. login used used by agetty for regular local console logins as well, btw.
Otherwise, I'd generally prefer sudo over su. sudo -su <user> (-s -u) starts with the default shell of the user (when there is no $SHELL in environment), sudo -iu <user> does the same but with a login shell (sourcing /etc/profile etc).
Running 0.5.1.
It would be great to be able to set a default user to log into a terminal session instead of defaulting to root. Similar to setting a default user in dietpi.txt at first boot.
The text was updated successfully, but these errors were encountered: