Hi guys, i am using ubuntu 20.04 and ISPConfig 3 i want to add a superuser who has privilage to see the folder root i add the user as follows: Code: useradd tomdf and then: Code: usermod -aG sudo tomdf then i check it: Code: tomdf@server2:~$ whoami tomdf tomdf@server2:~$ sudo -l -U tomdf [sudo] password for tomdf: Matching Defaults entries for tomdf on server2: env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin User tomdf may run the following commands on server2: (ALL : ALL) ALL however when i want access to root folder i get permission denied maybe you have any idea what was going wrong? thanks for your help
Read man page for command sudo, about parameters -l and -U. If you really want to use them, use man sudoers. Meanwhile, log in to that host as user tomdf and use commands Code: id sudo -i