bigtreetech / CB1

OS System image for CB1
366 stars 61 forks source link

Change user name to pi #22

Open MDFPereira opened 2 years ago

MDFPereira commented 2 years ago

Hello. Is there any possibility to use the normal user name, pi? biqu is messing some permitions and it would be much easier to have it as pi.

shawnchr commented 2 years ago

What permission? if you are referring to gcode that is because they forgot to change the permissions before compressing the image that have lost of issues that need fixed biqu user is not the problem.

TxBillbr commented 2 years ago

Installing with kiauh correctly chooses the users and changes the scripts to use biqu user. The only permissions problem I found was the root-owned gcode directory (which one can remove, or change owners and perms. You could also choose to make a new user named pi and operate from that login.

ToyVo commented 2 years ago

you could rename the user with these three commands

usermod -l pi biqu
usermod -m pi -d /home/pi
groupmod -n pi biqu

you should probably disable root login with passwd -l root

jscancella commented 1 year ago

Making the user pi would greatly help with creating other images using customPiOS