[BL training-materials-updates] Dialout group: what to do to have the new group

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Nov 19 18:00:47 CET 2018


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=49901dbc057e13df59db4df4965d02c8923990a3

>---------------------------------------------------------------

commit 49901dbc057e13df59db4df4965d02c8923990a3
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Nov 19 18:00:47 2018 +0100

    Dialout group: what to do to have the new group
    
    - Thanks to Alex for the "su user" tip
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

49901dbc057e13df59db4df4965d02c8923990a3
 labs/kernel-board-setup/kernel-board-setup.tex | 7 +++++--
 labs/sysdev-u-boot/sysdev-u-boot.tex           | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/labs/kernel-board-setup/kernel-board-setup.tex b/labs/kernel-board-setup/kernel-board-setup.tex
index 3835281..549602e 100644
--- a/labs/kernel-board-setup/kernel-board-setup.tex
+++ b/labs/kernel-board-setup/kernel-board-setup.tex
@@ -85,8 +85,11 @@ to the \code{dialout} group:
 sudo adduser $USER dialout
 \end{verbatim}
 
-{\bf You need to {\em completely} log out of your session and log in again
-for the group change to be effective.}
+{\bf Important}: for the group change to be effective, in Ubuntu 18.04, you have to
+{\em completely reboot} the system \footnote{As explained on
+\url{https://askubuntu.com/questions/1045993/after-adding-a-group-logoutlogin-is-not-enough-in-18-04/}.}.
+A workaround is to run \code{su <youruser>}, but it is not global.
+You have to run it in each terminal.
 
 Now, you can run \code{picocom -b 115200 /dev/ttyUSB0}, to start serial
 communication on \code{/dev/ttyUSB0}, with a baudrate of \code{115200}. If
diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index 00ec7db..07829f4 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -73,8 +73,11 @@ allowed to write to the serial console:
 sudo adduser $USER dialout
 \end{verbatim}
 
-{\bf You need to {\em completely} log out of your session and log in again
-for the group change to be effective.}
+{\bf Important}: for the group change to be effective, in Ubuntu 18.04, you have to
+{\em completely reboot} the system \footnote{As explained on
+\url{https://askubuntu.com/questions/1045993/after-adding-a-group-logoutlogin-is-not-enough-in-18-04/}.}.
+A workaround is to run \code{su <youruser>}, but it is not global.
+You have to run it in each terminal.
 
 Run \code{picocom -b 115200 /dev/ttyUSB0}, to start serial
 communication on \code{/dev/ttyUSB0}, with a baudrate of 115200.




More information about the training-materials-updates mailing list