Boot to sudo user instead of root?

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
iCynik
Posts: 2
Joined: Tue Jan 10, 2017 1:29 am

Boot to sudo user instead of root?

Post by iCynik »

Hello. I wanted to know if it's possible to boot to a sudo user instead of booting to root. I have a RPi set up as an attendance program for some kids and I don't want them fiddling with the Pi and thus having access to root.
User avatar
WarHawk
Posts: 610
Joined: Thu Jul 20, 2017 8:55 am

Re: Boot to sudo user instead of root?

Post by WarHawk »

create a new sudo capable user, boot into that

as root

Code: Select all

adduser username

Code: Select all

usermod -aG sudo username
https://www.digitalocean.com/community/ ... quickstart
Post Reply