diff --git a/Manuals/Tcar-ug/Scripts/Bash/prepare.docbook b/Manuals/Tcar-ug/Scripts/Bash/prepare.docbook index 88cf009..795cc3a 100644 --- a/Manuals/Tcar-ug/Scripts/Bash/prepare.docbook +++ b/Manuals/Tcar-ug/Scripts/Bash/prepare.docbook @@ -67,13 +67,65 @@ This option verifies packeges required by centos-art.sh script. installs or updates required packages. When required packages aren't installed, - this option uses sudo yum install - command to perform the installation task. When required - packages are installed, this option uses sudo yum - update to update them, if there is any related - actualization to be applied on. In both cases, it is required - that you configure the sudo command first. + this option uses sudo yum install command + to perform the installation task. When required packages are + installed, this option uses sudo yum update + to update them, if there is any related actualization to be + applied on. In both cases, it is required that you configure + the /etc/sudoers configuration file + first. + + + + To edit the /etc/sudoers configuration + file, do login as root first and then, use + visudo command for edition. + + + + + illustrates + the relevant parts you need to change inside the + /etc/sudoers configuration file in order + for the prepare functionality to be able + of installing and/or updating the software packages that + centos-art.sh needs to work. The + configuration shown in this example assumes you are using + centos as username. + + + + The <filename>/etc/sudoers</filename> configuration file + + /etc/sudoers configuration file + + + +## Installation and management of software +Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/up2date, /usr/bin/yum + +## Next comes the main part: which users can run what software on +## which machines (the sudoers file can be shared between multiple +## systems). +## Syntax: +## +## user MACHINE=COMMANDS +## +## The COMMANDS section may have other options added to it. +## +## Allow root to run any commands anywhere +root ALL=(ALL) ALL + +## Allow the centos user to run installation and management of +## software anywhere. +centos ALL=(ALL) SOFTWARE + + + + + +