search for: add_sudo

Displaying 2 results from an estimated 2 matches for "add_sudo".

2013 Oct 17
1
Authenticating sudo with ipa.
...essing keytab file [default]: Principal [host/192-168-0-100.local at LOCAL] was not found. Unable to create GSSAPI-encrypted LDAP connection. Oct 17 17:37:10 zabbix [sssd[ldap_child[6667]]]: Error writing to key table ## The user and sudo rules in ipa. [root at 192-168-0-100 ~]# ipa sudorule-show add_sudo Rule name: add_sudo Enabled: TRUE Host category: all Command category: all RunAs User category: all RunAs Group category: all Users: andrew [root at 192-168-0-100 ~]# ipa user-show andrew User login: andrew First name: Andrew Last name: Holway Home directory: /home/andrew Lo...
2013 Jul 17
3
sudo add user script
...re. If you execute the script as root it works beautifully and does just what you want. Which is add the user to the group and gives that user group rights to certain commands. But if you execute it as a user who only has sudo access to the /etc/sudoers file it errors out. cloud:~] bluethundr% ./add_sudo.sh reverse mapping checking getaddrinfo for $host failed - POSSIBLE BREAK-IN ATTEMPT! [sudo] password for bluethundr: Sorry, try again. [sudo] password for bluethundr: Sorry, try again. [sudo] password for bluethundr: Sorry, try again. sudo: 3 incorrect password attempts Connection to $host closed....