Properly written scripts tell the system what shell they are to be run under in the first line of the script. If that is set correctly then you should have no problems.
Go to /home/hcispt, it uses tcsh. You can see how it’s profiles are set up. As a matter of fact you could copy some of the profiles, .cshrc etc. and then modify to suit your needs.
I know of no Cloverleaf routines that care which shell you are using. As Jonathan said, when executing a script, you can use any shell you wish simply by the first line, e.g.,
#!/usr/bin/ksh
Unless you really know what you are doing I would run the scripts using sh or ksh. The scripting language for the csh or tcsh is vastly different.
We use multiple users to control Cloverleaf, all within the Unix group ‘hcimgr’.
We use ‘hci’ as an ‘admin’ user and this owns the Cloverleaf installation and our ‘admin’ code.
User ‘hcimgr’ is the ‘manager’ all the test and prod Cloverleaf sites.
Users ‘hexxxxx’ are our personal logins where we perform development work.
We use ‘sudo’ from our personal logins (or from operations) to login as hci or hcimgr.
With this setup, ‘hci’ and the Cloverleaf installation is pretty much vanilla.
We can also protect code by having this owned by ‘hci’ within a site owned by ‘hcimgr’ – we actually use link links as we share code across multiple sites.
We use multiple users to control Cloverleaf, all within the Unix group ‘hcimgr’.
We use ‘hci’ as an ‘admin’ user and this owns the Cloverleaf installation and our ‘admin’ code.
User ‘hcimgr’ is the ‘manager’ all the test and prod Cloverleaf sites.
Users ‘hexxxxx’ are our personal logins where we perform development work.
We use ‘sudo’ from our personal logins (or from operations) to login as hci or hcimgr.
With this setup, ‘hci’ and the Cloverleaf installation is pretty much vanilla.
We can also protect code by having this owned by ‘hci’ within a site owned by ‘hcimgr’ – we actually use link links as we share code across multiple sites.
Do you su to hci to turn on/off processes? Or how do you handle that?
-- Max Drown (Infor)
Author
Replies
Viewing 8 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.