bartoosthoek
Posts: 6
Joined: Sat Dec 17, 2016 3:16 pm

Authentication required although my custom user is root

Wed Aug 05, 2020 7:56 am

Hi All,

I have a question regarding the user rights regarding the desktop environment. From a fresh install I have created a new user and I followed all tips and instructions to give my user the same rights as the default “pi” user, with the intended to remove user pi (for security).

From command line everything works perfect, except when I want to run gpartition from the desktop, it requires “authentication”, which is logic with this type of application. However I can only select user “pi” and user “root” (see image below) and not my custom user. How can I add my user to this list? Although my user is part of all the groups as the “pi” user, am I missing something?
545EAD0B-27C5-4F3D-8B27-9C1AC46D9E86.jpeg
Auth
545EAD0B-27C5-4F3D-8B27-9C1AC46D9E86.jpeg (135.99 KiB) Viewed 190 times
Thanks in advance

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Authentication required although my custom user is root

Wed Aug 05, 2020 8:59 am

Use pi and your current password for the pi userid.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

pidd
Posts: 727
Joined: Fri May 29, 2020 8:29 pm
Location: Birkenhead, Wirral, UK
Contact: Website

Re: Authentication required although my custom user is root

Wed Aug 05, 2020 3:05 pm

iirc gparted will only run from a member of sudo, if your custom user isn't a sudo member he will not get authority to run gparted.

User avatar
jojopi
Posts: 3274
Joined: Tue Oct 11, 2011 8:38 pm

Re: Authentication required although my custom user is root

Wed Aug 05, 2020 3:30 pm

It is a known bug that Raspbian does not trust the sudo group, and Raspberry Pi OS trusts only the pi user.

Add the missing 51-debian-sudo.conf file.

Return to “Beginners”