Main Menu

User lpadmin

Started by Ralph, Wed Sep 08 19:14:44 2021

Previous topic - Next topic

Ralph

Why is the default sudo user not in the group lpadmin ? It would definitely make life easier for beginners.

Best regards
Ralph

Thierry

#1
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

Ralph

#2
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

But after

sudo cards Install cups .....

the group doesn't exists.

Thierry

#3
See my screenshot
thierry [ ~ ]$ grep lpadmin /etc/group
lpadmin:x:19:


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



Ralph

Quote from: Thierry

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

Correct

Thierry

Means if you create a new user now. it will be included in the new user account:

sudo setup-nutyx -cu

Thierry

Thanks to point out that. I  will fixed it in 21.09.1