Permission issues after install hestiacp to ubuntu desktop 20.04

hi,
i try to install hestiacp in fresh ubunut 20.04 (desktop), but after install hestiacp get permission related problem.

  1. i can’t install or remove software : get Error: unable to remove , you do not have permission to remove software.

  2. can’t open authentication required dialog when click unlock button for unlock users setting. this problem start after install hestiacp. before install hestiacp everything work fine.

i already install ubunut more than 3 times but after every install hestiacp get permision related problem to main administrator user and user have already all administrative rights.

how to solve this problem?
thank you,

Hestia removes the sudo permissions for the admin group for security reasons.

Login as root and you can add it your self again.

also keep in mind that you’re running a server, a desktop os isnt a good idea to choose.

yes brother, i try some gui app with hestiacp so i need to choose desktop os in local network.

how to change it?

add mehul user to /etc/sudoers like bellow but not work.
mehul ALL=(ALL:ALL) ALL

my sudoers file:

#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults	env_reset
Defaults	mail_badpass
Defaults	secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo	ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d

how to add?

Should work fine

Not work :relieved:

how to prevent this changes in hst-install-ubuntu.sh?
which line should be comment?

No really possible Hestia deletes the admin command because it will break a lot of security things. Use Ubunutu server and the install the GUI afterwards…

2 Likes

thank you brother, your small tips save my big times…

add user to root group and solve my permission problem.

adduser yourUsername root

thank you for your effort.

If it was so easy why didn’t you look it up first …

i am not familiar with this :thinking:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.