System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

disable prompting for password

Jenny John
Advisor

disable prompting for password

Everytime when i su - i am prompted for password. For ex. if i am login as oracle and i su - oracle it will prompt for password.
Is there any method to enable one time authenication.
5 REPLIES
Patrick Wallek
Honored Contributor

Re: disable prompting for password

The only time you would not be prompted for a password is if you 'su - ' while root. Otherwise, it will always prompt for a password.
Jenny John
Advisor

Re: disable prompting for password

Is there any way to disable it.
James R. Ferguson
Acclaimed Contributor

Re: disable prompting for password

Hi Jenny:

> Is there any way to disable it.

No, not if you are using 'su'. Only if you are running as the 'root' user does 'su - username' not prompt for a password.

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: disable prompting for password

>>Is there any way to disable it.

Sure, don't put a password on the account you are su'ing to. ;)
Sunny123_1
Esteemed Contributor

Re: disable prompting for password

Hi

Use sudo utility.

Regards
Sunny