03-29-2010
UNless you want to post the entire sudoers file I'm not sure I can help you much more. Can you check to see if there are additional lines that feature the appadmin user or the groups to which it belongs further on in the sudoers file. Sometimes these can overwrite rather that add to the privileges.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
As recommended by the moderators I will start my questions here...
I am a little confused by my Linux (CentOS/RHEL) distribution's sudo
mechanism. Or perhaps I just do not know how to use sudo. I can run
a sed command as the root user but it fails to write a root-owned
directory... (6 Replies)
Discussion started by: duderonomy
6 Replies
2. UNIX for Dummies Questions & Answers
I am trying to run a command from different user on my server. However when i execute the command it asks for password can you please help.
when i use this command to switch user no password is required
1) sudo su - bilbtf42
when i use
2) sudo su - bilbtf42 cp file1 direcotry1/file1
... (3 Replies)
Discussion started by: blackeyed
3 Replies
3. Cybersecurity
Hello,
I'm running rhel6 64bit. Accidentally I ran % chmod -R 777 /etc and after that I have a problem to do 'su' or 'sudo'. When I did sudo it complained that /etc/sudoers has 777 while it should be 0440. I changed that and also restored right permission for:
-rw-r--r-- 1 root root 1966 May 19... (2 Replies)
Discussion started by: susja
2 Replies
4. Shell Programming and Scripting
Hi All,
I running a unix command using sudo option inside shell script. Its working well. But in crontab the same command is not working and its throwing
"sudo: sorry, you must have a tty to run sudo". I do not have root permission to add or change settings for my userid. I can not even ask... (9 Replies)
Discussion started by: Apple1221
9 Replies
5. AIX
I'm looking for a way to track commands that are run as root after a user runs sudo su - root. I have a profile set up for root that will track the commands by userid but if we change the shell it only stores it in that shells history file. (2 Replies)
Discussion started by: toor13
2 Replies
6. Shell Programming and Scripting
Hi, Have a need to run the below command as a "karuser" from a java class which will is running as "root" user. When we are trying to run the below command from java code getting the below error.
Command:
sudo -u karuser -s /bin/bash /bank/karunix/bin/build_cycles.sh
Error:
sudo: sorry,... (8 Replies)
Discussion started by: Satyak
8 Replies
7. Shell Programming and Scripting
Hi,
I am new to scripting. I am trying to write a script to ssh one remote machine and run a sudo command.
ssh <hostname> sudo -S <command> < ~/pass.txt
I am stored my password in pass.txt.
I am getting error
sudo: no tty present and no askpass program specified
Please suggest me how can... (1 Reply)
Discussion started by: venkia9
1 Replies
8. Shell Programming and Scripting
My git user has permission in sudoers to run a wrapper script to move files into my webroot.
Everything is working fine except for the chown line. After the script has run, the files ar still root:root instead of apache:apache.
Scratching my head...:confused:
#!/bin/sh
echo
echo "****... (4 Replies)
Discussion started by: dheian
4 Replies
9. Shell Programming and Scripting
In a nutshell, I want $USER to reflect my user ID in a script run with sudo. I'm working with OSX in case that makes a difference.
If I 'sudo echo $USER', I get my user ID. But if I 'sudo myscript.sh' and myscript.sh has a line to echo $USER, I get 'root' I'm hoping there's a switch I can add... (1 Reply)
Discussion started by: jnojr
1 Replies
10. Shell Programming and Scripting
I'm working on a script to SSH and SUDO as (sap user sidadm) then automatically run commands that the sidadm user can run such as R3trans -v, tp, etc..
I can SSH without password and SUDO..
but the commands don't run after I SSH and SUDO to the sidadm user...here is the commands that I've... (2 Replies)
Discussion started by: icemanj
2 Replies
LEARN ABOUT MOJAVE
bioutil
bioutil(1) BSD General Commands Manual bioutil(1)
NAME
bioutil -- tool for viewing/changing Touch ID configuration and listing/deleting enrolled fingerprints
SYNOPSIS
bioutil {-r | -w [-f { 0 | 1 }] [-u { 0 | 1 }] [-a { 0 | 1 }]} | [-c] | [-p] | [-d <uid>] [-s]
DESCRIPTION
bioutil provides the possibility of viewing and changing Touch ID configuration, both system-wide and user-specific. It also allows listing
and deleting enrolled fingerprints.
OPTIONS
-r, --read
Read Touch ID configuration.
-w, --write
Write Touch ID configuration.
-s, --system
Indicates that system-wide configuration is to be read/written (user-specific configuration is the default) or that a system-wide
list/delete operation is to be performed.
-f, --function
Enables (1) or disables (0) overall Touch ID functionality (system-wide configuration only).
-u, --unlock
Enables (1) or disables (0) Touch ID for unlock.
-a, --applepay
Enables (1) or disables (0) Touch ID for ApplePay (user-specific configuration only).
-c, --count
Provides number of enrolled fingerprints of the current user or of all users (when run with -s as an administrator)
-p, --purge
Deletes all enrolled fingerprints of the current user or of all users (when run with -s as an administrator)
-d, --delete
Deletes all enrolled fingerprints of the user with given user ID (must be run as an administrator)
EXAMPLES
bioutil -r
Reads Touch ID configuration for the current user.
bioutil -r -s
Reads system-wide Touch ID configuration.
bioutil -w -u 1
Enables Touch ID for unlock for the current user.
sudo bioutil -w -s -u 0
Disables Touch ID for unlock for the whole system.
bioutil -c
Prints the number of enrolled fingerprints of the current user.
bioutil -p
Deletes all enrolled fingerprints of the current user.
sudo bioutil -c -s
Prints numbers of enrolled fingerprints of all enrolled users.
sudo bioutil -p -s
Deletes all fingerprints from the system.
sudo bioutil -s -d 501
Deletes all fingerprints of user 501.
Darwin May 31, 2019 Darwin