Official NuTyX forums

Help => Installation => Topic started by: Ralph on Wed Sep 08 19:14:44 2021

Title: User lpadmin
Post 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
Title: Re: User lpadmin
Post by: Thierry on Thu Sep 09 07:03:04 2021
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)
Title: Re: User lpadmin
Post by: Ralph on Thu Sep 09 08:14:26 2021
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

Code: [Select]
sudo cards Install cups .....

the group doesn't exists.
Title: Re: User lpadmin
Post by: Thierry on Thu Sep 09 08:30:01 2021
See my screenshot (https://imgur.com/facbmnp)
Code: [Select]
thierry [ ~ ]$ grep lpadmin /etc/group
lpadmin:x:19:

I guess you mean it's not add to your own account


Title: Re: User lpadmin
Post by: Ralph on Thu Sep 09 08:35:33 2021
Quote from: Thierry

I guess you mean it's not add to your own account

Correct
Title: Re: User lpadmin
Post by: Thierry on Thu Sep 09 08:40:11 2021
Means if you create a new user now. it will be included in the new user account:

Code: [Select]
sudo setup-nutyx -cu
Title: Re: User lpadmin
Post by: Thierry on Thu Sep 09 11:03:39 2021
Thanks to point out that. I  will fixed it in 21.09.1