Skip to main content
Topic: Don't have privileges to usb and wifi after migrating from Arch (Read 373 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Don't have privileges to usb and wifi after migrating from Arch

Init system: runit

I have elogind installed and its service running

Code: [Select]
paru -Qs elogind
local/elogind 246.10-5
    The systemd project's logind, extracted to a standalone package
local/elogind-runit 20210413-1
    runit service scripts for elogind
local/lib32-elogind 246.10-2
    The systemd project's logind, extracted to a standalone package (32-bit)
local/libelogind 246.10-5
    elogind client libraries

Code: [Select]
ls /run/runit/service/elogind/
run  supervise

network manager is also installed and working

Code: [Select]
ls /run/runit/service/NetworkManager/
run  supervise

nmtui works with sudo but without sudo I get
Quote
not authorized to activate/deactivate connection
android-file-tranfer and hp-setup don't detect any devices unless run with sudo.

I added my user account to the groups groups network, video, audio and storage myself after migration, the rest are system pre-configured ones.

Also both video and audio which I did not have permission for before worked when I added myself to those groups and both of them have an id around 900 while the ones that aren't working network for example has a small number.

also my dwm start command in
Code: [Select]
~/.xinitrc
is
Code: [Select]
exec dbus-launch dwm
which should have fixed the privilege problem but it didn't.

finally here is my
Code: [Select]
/etc/group
with my username replaced by the word username

Code: [Select]
root:x:0:brltty,root
sys:x:3:bin
mem:x:8:
ftp:x:11:
mail:x:12:
log:x:19:
smmsp:x:25:
proc:x:26:polkitd
games:x:50:
lock:x:54:
network:x:90:username
floppy:x:94:
scanner:x:96:
power:x:98:username
adm:x:999:daemon
wheel:x:998:username
utmp:x:997:
audio:x:996:brltty,username
disk:x:995:
input:x:994:brltty,username
kmem:x:993:
kvm:x:992:
lp:x:991:cups
optical:x:990:
render:x:989:
sgx:x:988:
storage:x:987:username
tty:x:5:brltty
uucp:x:986:brltty
video:x:985:sddm,username
users:x:984:username
systemd-journal:x:983:
rfkill:x:982:
bin:x:1:daemon
daemon:x:2:bin
http:x:33:
nobody:x:65534:
dbus:x:81:username
systemd-oom:x:979:
systemd-resolve:x:978:
systemd-timesync:x:977:
uuidd:x:68:
polkitd:x:102:username
username:x:1000:
avahi:x:975:
git:x:974:
rtkit:x:133:username
usbmux:x:140:
libvirt:x:973:username
dnsmasq:x:972:
brlapi:x:971:brltty
brltty:x:970:
sambausers:x:969:username
adbusers:x:968:username
sddm:x:967:username
colord:x:966:
cups:x:209:
rpc:x:32:
saned:x:965:
tor:x:43:username
dhcp:x:964:
flatpak:x:963:username
geoclue:x:962:
dhcpcd:x:961:
ldap:x:439:
ntp:x:87:
s6log:x:981:
docker:x:980:username