currently root
https://github.com/Fourdee/DietPi/issues/796#issuecomment-296365067
Would it be possible to make username changeable in dietpi.txt on first install?
@sootstone
Would it be possible to make username changeable in dietpi.txt on first install?
Good idea 馃憤 , i'll see what we can do.
We'll attempt to achieve this for v6.0, however, we have a limit of 1 month for completion with many other features yet to implement, so this may be a continuing process in v6.0's future.
https://github.com/Fourdee/DietPi/issues/1355
Not enough time to make this into v6.0, and, is low priority.
Moving to v6.1
Agree, also I would make it optional, or default, but optional to just stay with root. Generally I agree to use non-root user for security reasons, but on otherwise secure/updated servers with just ports 80+443 forwarded, limited hardened web services there and for local access, strong password + SSH key authentication, I would clearly prefer the comfort advantages of by default using root for server maintenance.
But all our scripts should just work the same, if started with sudo, right?
@MichaIng
But all our scripts should just work the same, if started with sudo, right?
Yep, sudo
elevates to root
user. Effectively the same as logging in as root.
Currently, following has been implemented:
dietpi
user on SSH/local terminal login and usagePending:
dietpi
user?Marking as closed, in favor of: https://github.com/Fourdee/DietPi/issues/1877
Most helpful comment
Would it be possible to make username changeable in dietpi.txt on first install?