On Wednesday 02 Mar 2011 19:25:08 Matt Lawrence wrote:
> >> Oddly enough, I don't get any output or errors when I do "sudo -u ggs -i
> >> ls".  Looks like I need a different solution.
> > 
> > Are there any files in ggs's home directory?  And what is ggs's login
> > shell set to?  If the login shell isn't a shell which can execute
> > commands as normal, the above will fail, as it's passed to the login
> > shell of the ggs user.
> 
> Yes, there are files in the home directory for ggs.  The shell is 
> /usr/bin/ksh.

For sudo -i to work AFAIK user oracle needs to be able to execute the shell as 
user ggs, i.e. with 'sudo -u ggs -i ls' the real command run is something like 
'/usr/bin/ksh ls'.  Depending on your sudoers this may not be the case.


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**********************************************************************************************
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
supp...@henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************

_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to