Control: tags -1 pending Thanks
I committed to salsa On Thu, 2025-05-01 at 12:46 +0200, Holger Wansing wrote: > Hi, > > Am 1. Mai 2025 10:56:16 MESZ schrieb g1 <g...@libero.it>: > > > > The command > > $ sudo usermod -a -G foo netdev > > tries to add user "netdev" to group "foo", and is bound to fail. > > > > The correct syntax for adding user <user> to (supplementary) group <group> > > is > > # usermod -a -G <group> <user> > > The text says > "Make desktop user, e.g. foo, belong to group "netdev" by the following:" > > So you are right, the example is wrong, the <user> argument has to be the > last one, like this: > > > - $ sudo usermod -a -G foo netdev > + $ sudo usermod -a -G netdev foo > > > > Holger > > > > >