On Wednesday 31 October 2007 08:56:18 pm Patrick Shanahan wrote:
> * Rajko M. <[EMAIL PROTECTED]> [10-31-07 20:34]:
> > Creating script
> >   myrepo
> > that will contain necessary commands like 'su' to switch to root
> > user,
>
> how are you going to pass roots password via script, clear text?
> Sounds secure.
>
> > 'createrepo <options>' to refresh repository metadata, 'zypper
> > refresh' to refresh zypper cashe and finally 'zypper update -t
> > package' is probably way easier, or rpm -i <package_name> for single
> > package.
>
> might be better using roots crontab ?

For the purpose, yes it would be better to run as cron job, or for the manual 
run leave out 'su' and run script as root. 

-- 
Regards,
Rajko.
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to