Is it safe to rename the dietpi user? Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
griphook
Posts: 5
Joined: Tue Jan 08, 2019 3:29 pm

Is it safe to rename the dietpi user?

Post by griphook »

I wanted to see if I could rename the dietpi account? Will this mess up anything?
User avatar
MichaIng
Site Admin
Posts: 2293
Joined: Sat Nov 18, 2017 6:21 pm

Re: Is it safe to rename the dietpi user?

Post by MichaIng »

Do NOT rename the dietpi user as it is used by DietPi scripts and installed software at least to share permissions via dietpi group.

If you want to connect as different user create an additional one, e.g.:
useradd -m michaing

And give him sudo permissions:
echo 'michaing ALL=NOPASSWD: ALL' > /etc/sudoers.d/michaing

(Replace "michaing" with the desired user name)
griphook
Posts: 5
Joined: Tue Jan 08, 2019 3:29 pm

Re: Is it safe to rename the dietpi user?

Post by griphook »

Thanks thats what I thought! I just wanted to be sure. :)
Post Reply