Hello,
Is it possible to delete the default "pi" user in Raspbian?
I want to use same users with they uid and gid.
Regards.
Code: Select all
userdel -r -f pi
adduser user1
adduser user2
Code: Select all
sudo add user userx
Code: Select all
sudo visuo
Code: Select all
# User privilege specification
root ALL=(ALL:ALL) ALL
userx ALL=(ALL:ALL) ALL
Code: Select all
sudo cat/etc/group | grep pi
Code: Select all
adm:x:4:pi
dialout:x:20:pi
cdrom:x:24:pi
sudo:x:27:pi
audio:x:29:pi
video:x:44:pi
plugdev:x:46:pi
games:x:60:pi
users:x:100:pi
input:x:101:pi
netdev:x:108:pi
Code: Select all
sudo usermod -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,netdev userx
Code: Select all
deluser -r pi
Code: Select all
AdminIdentities=unix-group:sudo;unix-user:0