Dietpi: General | Change default user to dietpi

Created on 22 Apr 2017  路  8Comments  路  Source: MichaIng/DietPi

Enhancement Priority Low

Most helpful comment

Would it be possible to make username changeable in dietpi.txt on first install?

All 8 comments

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:

  • Use of, and support for dietpi user on SSH/local terminal login and usage

Pending:

  • Desktops/VNC as dietpi user?
  • Implement unique users for each software installation title that requires it (different ticket: https://github.com/Fourdee/DietPi/issues/1877)

Marking as closed, in favor of: https://github.com/Fourdee/DietPi/issues/1877

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Invictaz picture Invictaz  路  3Comments

Fourdee picture Fourdee  路  3Comments

k-plan picture k-plan  路  3Comments

Fourdee picture Fourdee  路  3Comments

oshank picture oshank  路  3Comments