11-19-2008
Ok then what is the output of sudo -l when you are user test?
10 More Discussions You Might Find Interesting
1. AIX
I want give a user "sar" permission, so I modify the sudoers file: unix1 is the group for users can use sar command
Cmnd_Alias RUN_SAR = /usr/sbin/sar
User_Alias UNIX1_USERS = %unix1
UNIX1_USERS ALL = NOPASSWD:RUN_SAR
However, when I run sar command, it shows:
$ sar 1 4
sar: The... (1 Reply)
Discussion started by: rainbow_bean
1 Replies
2. Shell Programming and Scripting
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:
#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies
3. Ubuntu
I'm fairly new to unix and I was trying to change the name of my host and my user. I changed the name in /hostname using this: gksudo gedit /etc/hostname I then tried changing the name back but it still gave the same error: {env_reset,... (1 Reply)
Discussion started by: H3jck
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am using ubuntu 12.04 and every time I installed new program or do:
sudo apt-get install -f
I get the following mesage:
Download done.
sha256sum mismatch jdk-7u3-linux-x64.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (--configure):
subprocess... (2 Replies)
Discussion started by: programAngel
2 Replies
5. UNIX for Advanced & Expert Users
Hi
I am trying to automate the deployment of a tar ball onto a set of remote servers and am getting this error from the ssh -
sudo: no tty present and no askpass program specified
What I have done is add some code into the user's ssh key that does a few things like delete the existing... (2 Replies)
Discussion started by: steadyonabix
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have installed sudo on Solaris 10 (sparc). When I try to add a user I get the following:
-bash-3.00$ sudo addusr scarlet sudo
sudo: /usr/local/etc/sudoers.d is owned by uid 2, should be 0
Password:
I entered a password, thinking it was for the sudo user but it failed. Then I entered the... (3 Replies)
Discussion started by: Scarlet
3 Replies
7. Emergency UNIX and Linux Support
Im Using Centos Version
$ cat /etc/redhat-release
CentOS release 6.4 (Final)
I'm Using Sudo Version
$ sudo -V
Sudo version 1.8.6p3
Sudoers policy plugin version 1.8.6p3
Sudoers file grammar version 42
Sudoers I/O plugin version 1.8.6p3
tried to setup notification mail for sudo,... (2 Replies)
Discussion started by: babinlonston
2 Replies
8. Solaris
I cannot solve the following error bellow.
Can someone help me on this please?
Mar 31 07:08:45 serverx sudo: fork
Mar 31 07:18:50 serverx sudo: fork
Mar 31 07:28:45 serverx sudo: fork
Mar 31 07:38:47 serverx sudo: fork
Mar 31 07:48:45 serverx sudo: fork
Mar 31 07:58:45 serverx... (1 Reply)
Discussion started by: pangarano
1 Replies
9. Shell Programming and Scripting
Team ,
I am trying to sudo to instnace using a shell script .In out put i am getting this error for every line ...I am running this script as root ..
sudo su - userid -i db2 "command "
Error
/etc/profile: shopt: not found
how can we overcome this error ? Can someone help on... (1 Reply)
Discussion started by: rocking77
1 Replies
10. AIX
Hello,
I tried installing sudo on a lab AIX server. It has been successfully installed. but i still see the below errors.
/>sudo -V
Sudo version 1.8.27
Configure options: --prefix=/opt/freeware --sbindir=/opt/freeware/sbin --libdir=/opt/freeware/lib --mandir=/opt/freeware/man... (8 Replies)
Discussion started by: System Admin 77
8 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