Author Topic: User lpadmin  (Read 5426 times)

Ralph

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
User lpadmin
« 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
« Last Edit: Wed Sep 08 19:17:59 2021 by Ralph »

Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 706
  • Karma: +13/-0
  • Gender: Male
    • NuTyX distribution
Re: User lpadmin
« Reply #1 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
« Last Edit: Thu Sep 09 07:04:36 2021 by Thierry »

Ralph

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: User lpadmin
« Reply #2 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

But after

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

the group doesn't exists.
« Last Edit: Thu Sep 09 08:22:47 2021 by Ralph »

Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 706
  • Karma: +13/-0
  • Gender: Male
    • NuTyX distribution
Re: User lpadmin
« Reply #3 on: Thu Sep 09 08:30:01 2021 »
See my screenshot
Code: [Select]
thierry [ ~ ]$ grep lpadmin /etc/group
lpadmin:x:19:

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


« Last Edit: Thu Sep 09 08:31:58 2021 by Thierry »

Ralph

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: User lpadmin
« Reply #4 on: Thu Sep 09 08:35:33 2021 »
Quote from: Thierry

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

Correct

Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 706
  • Karma: +13/-0
  • Gender: Male
    • NuTyX distribution
Re: User lpadmin
« Reply #5 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

Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 706
  • Karma: +13/-0
  • Gender: Male
    • NuTyX distribution
Re: User lpadmin
« Reply #6 on: Thu Sep 09 11:03:39 2021 »
Thanks to point out that. I  will fixed it in 21.09.1