NuTyX official Forum
Help => Installation => Topic started by: Ralph on Wed Sep 08 19:14:44 2021
-
Why is the default sudo user not in the group lpadmin ? It would definitely make life easier for beginners.
Best regards
Ralph
-
I think it's depending which ISO you choose.
I looked at the source:
https://github.com/NuTyX/nutyx/blob/e02055ed69258785fc957e1feec5bfe99a4f521b/scripts/setup-nutyx.in#L207
and
https://github.com/NuTyX/nutyx/blob/e02055ed69258785fc957e1feec5bfe99a4f521b/scripts/setup-nutyx.in#L246
It's normaly plan that a new user is part of the lpadmin group ... if the group was created. This group is created when cups is installed at pre-install (https://github.com/NuTyX/packages-x86_64/blob/rolling/gui/cups/cups.pre-install)
-
I see the group creation in the cups pre-install script
https://github.com/NuTyX/packages-x86_64/blob/rolling/gui/cups/cups.pre-install (https://github.com/NuTyX/packages-x86_64/blob/rolling/gui/cups/cups.pre-install)
But after
sudo cards Install cups
.....
the group doesn't exists.
-
See my screenshot (https://imgur.com/facbmnp)
thierry [ ~ ]$ grep lpadmin /etc/group
lpadmin:x:19:
I guess you mean it's not add to your own account
-
I guess you mean it's not add to your own account
Correct
-
Means if you create a new user now. it will be included in the new user account:
sudo setup-nutyx -cu
-
Thanks to point out that. I will fixed it in 21.09.1