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:43] – [Configure mail server] 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 =====
Line 143: Line 155:
 Don't forget to set the timezone.  Don't forget to set the timezone. 
  
-PENDIENTEFIX THE HOUR PROBLEM I HAVE.+If ''raspi-config'' doesn't worktry this: 
 + 
 +<code> 
 +dpkg-reconfigure tzdata 
 +</code> 
 + 
 +Taken from: [[http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=10291]]
raspberrypi/setup.1381066998.txt.gz · Last modified: 2022/12/02 22:02 (external edit)