Mailinglist Archive: opensuse (2747 mails)
| < Previous | Next > |
Re: [opensuse] yum repos and zypper update
- From: "Rajko M." <rmatov101@xxxxxxxxxxx>
- Date: Wed, 31 Oct 2007 23:35:58 -0500
- Message-id: <200710312335.58898.rmatov101@xxxxxxxxxxx>
On Wednesday 31 October 2007 08:56:18 pm Patrick Shanahan wrote:
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: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
* Rajko M. <rmatov101@xxxxxxxxxxx> [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: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |