Changes between Version 12 and Version 13 of HowTo/WriteInstallScript


Ignore:
Timestamp:
09/25/12 13:14:49 (7 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/WriteInstallScript

    v12 v13  
    88The first step is to write your install script. While writing your script you should keep in mind that:
    99   * your script '''does not run in the context of your user''', make sure that you change the permissions of anything installed in your home directory so that you have access to them when you login
    10    * your script '''does run as a user with [http://en.wikipedia.org/wiki/Sudo sudo privileges]''', you can do anything that you can do in the context of your user. Make sure you use `sudo` when:
     10   * your script '''does run as a user with [http://en.wikipedia.org/wiki/Sudo sudo privileges]'''. Make sure you use `sudo` when:
    1111      * you execute privileged commands (e.g. `yum`, `apt-get`, `service`)
    1212      * you place things in your home directory