Browse Source

Bugfix: README: Make usermod commands consistent, including important -a option

Without -a, existing groups are removed, which can be quite bad if that's how the user has sudo access
Luke Dashjr 13 years ago
parent
commit
fad90b3662
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README

+ 1 - 1
README

@@ -874,7 +874,7 @@ will give output like:
  0 crw-rw---- 1 root dialout 188, 0 2012-09-11 13:49 /dev/ttyUSB0
 This means your account must have the group 'dialout' or root priviledges
 To permanently give your account the 'dialout' group:
- sudo usermod -G dialout `whoami`
+ sudo usermod `whoami` -a -G dialout
 Then logout and back in again