User Tools

Site Tools


raspberrypi:setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
raspberrypi:setup [2013/10/06 15:47] – [Set Timezone] rlunaroraspberrypi:setup [2022/12/02 22:02] (current) – external edit 127.0.0.1
Line 61: Line 61:
  
 <code> <code>
-addgroup USERNAME +adduser --group --home /home/USERNAME  USERNAME 
-# adduser --ingroup USERNAME --home /home/USERNAME  USERNAME+# adduser --ingroup USERNAME --home /home/USERNAME USERNAME
 </code> </code>
  
Line 81: Line 81:
 delgroup pi delgroup pi
 </code> </code>
 +
 +
 +===== Delete the sudoers information of "pi" user =====
 +
 +It is not necessarily, because it's already deleted, but imagine that someone manages to create again the pi user: it will have automatic sudo permissions for everything!!!
 +
 +To prevent that, issue the ''sudo visudo'' command and remove this line of the sudoers file: 
 +
 +<code>
 +pi ALL=(ALL) NOPASSWD: ALL
 +</code>
 +
  
 ===== Think about backup ===== ===== Think about backup =====
raspberrypi/setup.1381067262.txt.gz · Last modified: 2022/12/02 22:02 (external edit)