Sponsored Content
Full Discussion: Sudo ask for password
Operating Systems AIX Sudo ask for password Post 302322353 by lo-lp-kl on Wednesday 3rd of June 2009 12:52:05 PM
Old 06-03-2009
Sudo ask for password

Hello

I have a partition with Aix 5.3 and I install sudo

I put the commands that I want to use x user and I put the option that donkask for password.

But when I run with this user and I try to run that commands. ask me for a password.

I put this line for no ask for password with that user

htape LOCAL=NOPASSWD:RESPALDOS, !/usr/bin/su, !/usr/bin/passwd

$ sudo . /ommsetup.sh
Password:

Someone has this problem before.


Thanks for your tips
 

10 More Discussions You Might Find Interesting

1. Linux

sudo, root password

Hi all.. I'm secering a RH 2.1 server, with gnome (not my choice...), as X manager. Is ther anyway to get sudo ask for root password other then the actual user's password? Like when you launch the graphical IHM to create a new user, it asks for root's password? Is there a way to do the same... (5 Replies)
Discussion started by: penguin-friend
5 Replies

2. Shell Programming and Scripting

verify sudo password

edited and removed (0 Replies)
Discussion started by: mdpalow
0 Replies

3. Shell Programming and Scripting

sudo command with password

Hello everybody, Say I forgot my root password (shit happens, no?) and I'd like to brutally try 100 possibilities to delete a file using sudo. How can I make a script that tries all the passwords? The following doesn't work. Do you have a clue? foo:~$ cat test sudo rm dummy <<< 'password' echo... (1 Reply)
Discussion started by: chebarbudo
1 Replies

4. Shell Programming and Scripting

password getting displayed using sudo

Hi While doing the following command password is gettin dispalyed : ssh <host> "sudo command ; exit" .... while i type my password for 2nd its gettin displayed ... i tried stty -echo and stty echo ... still i am havin problem..:confused: (1 Reply)
Discussion started by: ningy
1 Replies

5. Solaris

Problem with password expire and sudo.

Hi, I have a small problem that I need to address regarding the password expiration for a number of different oracle accounts. Currently I have the MAXWEEKS set to 12 in the /etc/default/passwd file for all accounts. I also have sudo installed on the server and users access the oracle accounts... (2 Replies)
Discussion started by: sparcman
2 Replies

6. Shell Programming and Scripting

password in sudo script

salmo allikm warhmat allah wabrakato i want to do script with sudo like sudo su and want to put password in the script not get from user because i to made it startup when booting and i don't know how put in script for sudo thanks (5 Replies)
Discussion started by: pua06
5 Replies

7. Shell Programming and Scripting

ssh foo.com sudo command - Prompts for sudo password as visible text. Help?

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

8. Red Hat

Sudo + Nohup = no password?

Little confused here When i go to run sudo nohup ./script.ksh & I dont get asked for a password. It starts a process ID, I can see it when i do a ps -ef | grep script. But I dont get an output file from my script, so its not doing anything. What gives? does it have to do the "&" ? ... (4 Replies)
Discussion started by: nitrobass24
4 Replies

9. UNIX for Dummies Questions & Answers

Sudo -s without password prompt

hi, i have a requirement where i need to sudo to another user in the shell script.suppose consider user A and B, first user A calls a shell script and then i need to sudo to user B which executes another shell script inside the earlier one. also this needs to be automated like while sudo'ing to... (3 Replies)
Discussion started by: krk
3 Replies

10. Solaris

Sudo without password Solaris 11.2

Hi guys, I have the strangest issue... might be a huge oversight.. who knows!! :) I am trying to configure a user to use sudo with no password, here is my sudoers configuration file root@isha:~# egrep -v "^$|^#" /etc/sudoers root ALL=(ALL) ALL %wheel ALL=(ALL) NOPASSWD: ALL... (5 Replies)
Discussion started by: akame
5 Replies
ECACCESS-ASSOCIATION-PUT(1p)				User Contributed Perl Documentation			      ECACCESS-ASSOCIATION-PUT(1p)

NAME
ecaccess-association-put - Update/Create an Association SYNOPSIS
ecaccess-association-put -version|-help|-manual ecaccess-association-put [-debug] [-gateway name] [-password] source-file DESCRIPTION
Allow updating or creating an ECtrans Association. If the name exists then the Association is updated. If it does not exists then a new Association is created. In order to get a template for a new Association please use the following command: ecaccess-association-get -template association-name target-file The target-file for the Association Descriptive File does not have to be the name of the Association itself. The name for the Association is specified in the association-name parameter. When creating a new Association the -password option should be used to set the password (it can not be set in the Association Descriptive File as this would not be secure). ARGUMENTS
source-file The name of the Association Descriptive File to upload. OPTIONS
-gateway name This is the name of the ECaccess Gateway where the Association should be installed. It is by default the Gateway you are connected to. In order to get the name of your current Gateway you can use the ecaccess-gateway-name command. When using the commands at ECMWF the default Gateway is always "ecaccess.ecmwf.int". -password Allow prompting for a new password for the Association. -version Display version number and exits. -help Print a brief help message and exits. -manual Prints the manual page and exits. -debug Display the SOAP messages exchanged. EXAMPLES
ecaccess-association-put -password ./test Push the Association described in the ./test file of your current directory on your default Gateway. You will be also prompted for a new password. ecaccess-association-put -gateway ecaccess.ecmwf.int ./test Push the Association described in the ./test file of your current directory on the ecaccess.ecmwf.int Gateway. SEE ALSO
ecaccess-association-delete, ecaccess-association-get, ecaccess-association-list, ecaccess-association-protocol and ecaccess. perl v5.14.2 2012-04-16 ECACCESS-ASSOCIATION-PUT(1p)
All times are GMT -4. The time now is 12:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy