From root you can doThat should be sufficient to recreate the user. The other settings (home directory and shell) should be created automatically with the default settings.
But you will probably also need to add the user to various groupsThere may be others you need. That's going by the list of groups one of my users is in.
Code:
adduser --uid 1000 --gid 100 pi
But you will probably also need to add the user to various groups
Code:
usermod -a -G adm,dialout,sudo,cdrom,audio,video,plugdev,games,users,input,render,netdev,gpio,i2c,spi pi
Statistics: Posted by rpdom — Sun Mar 31, 2024 10:50 am