[gentoo-user] What groups should user "root" be in?
Greetings, still hunting down the reasons for my laptop not producing any sound, I have meanwhile found reports on the web "no sound even though root is in group audio" or "Dbus doesn't "care" who root is -- it checks the ident- ity of the account that requested an action, and if that account isn't allowed to perform that action, the request is denied" [1]. I can't remember ever having manually added user "root" to any groups since I installed Gentoo on my laptop (as opposed to adding my own user- id to quite some groups)m and these are the few groups "root" is into: $ id root uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),26(tape),27(video) $ Should there be more? In particular, should "root" be in group "audio"? Sincerely, Rainer [1] https://www.linuxquestions.org/questions/showthread.php?p=3640443#post3640443
Re: [gentoo-user] What groups should user "root" be in?
Dr Rainer Woitok wrote: > Greetings, > > still hunting down the reasons for my laptop not producing any sound, I > have meanwhile found reports on the web "no sound even though root is in > group audio" or "Dbus doesn't "care" who root is -- it checks the ident- > ity of the account that requested an action, and if that account isn't > allowed to perform that action, the request is denied" [1]. > > I can't remember ever having manually added user "root" to any groups > since I installed Gentoo on my laptop (as opposed to adding my own user- > id to quite some groups)m and these are the few groups "root" is into: > >$ id root >uid=0(root) gid=0(root) > groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),26(tape),27(video) >$ > > Should there be more? In particular, should "root" be in group "audio"? > > Sincerely, > Rainer > > [1] > https://www.linuxquestions.org/questions/showthread.php?p=3640443#post3640443 > > If it helps, this is what I have: root@fireball / # cat /etc/group | grep root root::0:root bin::1:root,bin,daemon daemon::2:root,bin,daemon sys::3:root,bin,adm adm::4:root,adm,daemon disk::6:root,adm wheel::10:root,dale2,dale floppy::11:root,dale dialout::20:root,dale,dale2 tape::26:root video::27:root,dale,dale2,sddm root@fireball / # Looking at the whole file, not everything mentions root, most don't actually. Dale :-) :-)
Re: [gentoo-user] What groups should user "root" be in?
On 21/05/19 10:25AM, Dr Rainer Woitok wrote: > Greetings, > > still hunting down the reasons for my laptop not producing any sound, I > have meanwhile found reports on the web "no sound even though root is in > group audio" or "Dbus doesn't "care" who root is -- it checks the ident- > ity of the account that requested an action, and if that account isn't > allowed to perform that action, the request is denied" [1]. > > I can't remember ever having manually added user "root" to any groups > since I installed Gentoo on my laptop (as opposed to adding my own user- > id to quite some groups)m and these are the few groups "root" is into: > >$ id root >uid=0(root) gid=0(root) > groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),26(tape),27(video) >$ > > Should there be more? In particular, should "root" be in group "audio"? > Are you running your machine day-to-day as root? That sounds like a recipe for disaster... That preaching aside, I do have audio working as a normal user and my groups are - $ groups aisha wheel video portage lxc lxd aisha $ groups root root bin daemon sys adm disk wheel floppy tape video lxc lxd Fwiw, I only added lxc/lxd to root manually (I think, it's an old machine). Hope this helps, ymmv. Cheers > Sincerely, > Rainer > > [1] > https://www.linuxquestions.org/questions/showthread.php?p=3640443#post3640443 >