Adding a user to a group
Posted: 28 Jan 2018, 20:32
Hello,
I know it sounds strange but I can't add the guest-user to any group in porteus. I am trying to set-up my scanner in porteus and iscan can't connect to the USB-port. Also, the arduino-software can't connect to the usb2serial-adapter I use. I need to start arduino as root to get access.
So when I type
to add the guest-user to the dialout-group (used by /dev/ttyUSBxx), the lp-group (used by the epkowa-driver for the usb-scanner) and the scanner-group I get this:
When I type it directly in a root-terminal (without sudo) it seems to work but the user doesn't get added to these groups.
When I type
in a guest-terminal, afterwards I always get the same:
So I thought "maybe the groups don't exist" and tried creating them in a root-terminal:
and
and
...but I always got an error-message that the group already exists. However, when I type in a root-terminal:
I get:
In a guest-terminal I get:
So...what is going wrong here?
I know it sounds strange but I can't add the guest-user to any group in porteus. I am trying to set-up my scanner in porteus and iscan can't connect to the USB-port. Also, the arduino-software can't connect to the usb2serial-adapter I use. I need to start arduino as root to get access.
So when I type
Code: Select all
sudo usermod -a -G dialout,lp,scanner guest
Code: Select all
sudo: usermod: Unknown command
When I type
Code: Select all
id
Code: Select all
uid=1000(guest) gid=100(users) Gruppen=100(users),93(scanner),1000(vbox)
Code: Select all
# groupadd dialout
Code: Select all
# groupadd lp
Code: Select all
# groupadd scanner
Code: Select all
groups
Code: Select all
root scanner vbox
Code: Select all
users scanner vbox