Hi On Fri, Aug 6, 2010 at 12:56 PM, Dinesh Kumar Rajagopal <dinesha...@gmail.com> wrote: > Dear ilug-c, > I am writing shell script which control services (i.e > start/stop/restart ) in production environment, for remote command execution > i am using ssh with RSH Key for non root user. because root account should > have password. so need to run the service in non root user. is this right > way to do ?
The best way to run root commands as non-root user is to configure sudo. Thanks baskar _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc