[ale] Give superuser to gui apps.
DJ-Pfulio
DJPfulio at jdpfu.com
Fri Aug 28 13:53:48 EDT 2015
On 08/28/2015 01:36 PM, DJ-Pfulio wrote:
> On 08/28/2015 11:06 AM, Atlanta Geek wrote:
>> Hi all.
>> Im normally a console guy but sometimes I do got to the gui. Im running
>> ubuntu14.10 trying to add users and configure vpn. It wont let my user
>> because he doesnt have privileges.
>>
>> Im the only user. how can i give my user accout permission to do admin
>> things. Is there a group that I need to add him to.
>>
>
> Support for 14.10 ended last June. Upgrade. If you can't move releases
> every 6 months, only run LTS releases - 14.04 is the latest.
>
> Do not run GUI apps with sudo. Bad things can happen when settings are
> saved in your HOME but owned by root. The gui version of sudo is going
> to be deprecated and policy-kit will be used.
>
> Most of the things people need to to do with sudo is editing config
> files - use sudoedit for that - always.
>
> So ... does sudo work for your current userid?
On ubuntu, either wheel or sudo are the group to be in to have sudo
escalation. Of course, you can use any group you like or just specify 1
account, without a group in the sudoers file.
Oh - and there is one exception for sudoedit - that is when editing the
sudoers files ... use visudo for that. If you use a non-GUI editor,
using sudo is fine - sudo vi file.txt It is the GUI tools that seem to
screw things up by saving settings/creating setting files when not asked
to do so. I've seen one system where someone was following a script and
at their first login, before running any other program did a sudo gedit
/etc/some-file-here and all their GUI settings were locked since root
owned ~/.config/ . It was bad.
More information about the Ale
mailing list