[sudo-users] Sudo Run As Issue.

Gary.Haden at saga.co.uk Gary.Haden at saga.co.uk
Wed Feb 15 09:58:04 EST 2012


Hi,

That worked fine.

Thanks a lot for the quick response.

Gary.


                                                                           
             "Todd C. Miller"                                              
             <Todd.Miller at cour                                             
             tesan.com>                                                 To 
                                       Gary.Haden at saga.co.uk               
             07/02/2012 17:40                                           cc 
                                       sudo-users at sudo.ws                  
                                                                   Subject 
                                       Re: [sudo-users] Sudo Run As Issue. 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




The problem is that you have two places where you are setting the
global value of runas_default for user devaxs.  Instead of:

    Defaults:ORAGRP runas_default=oracle

Try:

    Defaults!/saga/app/oracle/proc_gen/proc.shl runas_default=oracle

Or just remove the runas_default=oracle line and run

    $ sudo -u oracle /saga/app/oracle/proc_gen/proc.shl

 - todd



Please consider the environment before printing this email
The opinions expressed in this e-mail are those of the individual and not necessarily the company. This e-mail and attachment[s] are confidential to the sender and are solely for use by the intended recipient.

Saga Services Limited: Company Registration No. 732602
Saga Publishing Limited: Company Registration No. 2152564
The above companies are wholly owned subsidiaries of Saga Group Limited.

Saga Holidays is a registered trading name of Acromas Holidays Limited: Company Registration No. 2174052
Saga Shipping is a registered trading name of Acromas Shipping Limited: Company Registration No. 3267858
Saga Personal Finance is a registered trading name of Acromas Financial Services Limited: Company Registration No. 3023493

Saga Group Limited: Company Registration No. 638891
All companies registered at: Enbrook Park, Sandgate, Folkestone, Kent CT20 3SE
Saga Charitable Trust is a UK registered charity No. 291991

Saga Services Limited is authorised and regulated by the Financial Services Authority.
Acromas Financial Services Limited is authorised and regulated by the Financial Services Authority.
Acromas Holidays Limited is an appointed representative of Automobile Association Insurance Services Limited which is authorised and regulated by the Financial Services Authority.
Acromas Insurance Company Limited is authorised by the Financial Services Commission, Gibraltar.

This e-mail and attachment[s] has been scanned for the presence of computer viruses. Saga accept no responsibility for computer viruses once this e-mail has been transmitted.




More information about the sudo-users mailing list