‘/usr/bin/myapp’ is a link to ‘/usr/bin/consolehelper’. When non-root user try to run ‘/usr/bin/myapp’ on command prompt, it shows ‘userhelper must be setuid root’. But running with ‘sudo /usr/bin/myapp’ it works fine. While using with GUI, it shows ‘Insufficient rights’ popup. I tried by changing permissions of related files ‘/etc/security/console.apps/myapp’ and ‘/etc/pam.d/myapp’. I am getting same popup while opening ‘System->Administration->Users and
Tag: sudo
Is there a way to ‘store’ Sudo temporarily
I’m quite new to Linux. I remember using a tutorial were you were able to declare your sudo (+password) at the start and then use terminal without having to do sudo or import your password again. I.e. Sudo yum-get update -> yum-get update. Sorry if this is a very obvious question, I honestly don’t remember where the tutorial was from,
SSSD and sudo: mismatch between sudoHost and server hostname
I’m running SSSD/LDAP on CentOS6 to authenticate users and I’ve configured it also to get SUDO information from the LDAP server. If I run hostname on my server I get: I configured sssd.conf with a search base, for example: Users who have SUDO rights on this machine have this kind of entry: Now, as you see there is a mismatch
Editing the sudoers file on Mac or Linux when you have no permissions
I’m trying to install something on my MacOS (or Linux) system and I don’t have permission because I’m not the admin. So I tried using sudo and it says that I’m not in /etc/sudoers file. I’ve tried editing the sudoers file but it won’t let me, so I “googled” it. Everybody says to use visudo to edit the file. The
How do you find the original user through multiple sudo and su commands?
When running a script via sudo or su I want to get the original user. This should happen regardless of multiple sudo or su runs inside of each other and specifically sudo su -. Answer Results: Use who am i | awk ‘{print $1}’ OR logname as no other methods are guaranteed. Logged in as self: Normal sudo: sudo su
How do I use sudo to redirect output to a location I don’t have permission to write to? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question