welcome: please sign in

The following 130 words could not be found in the dictionary of 7 words (including 7 LocalSpellingWords) and are highlighted below:
accomplished   Administration   After   an   and   appended   appropriate   are   authorization   Automatic   automatic   basis   be   bin   body   by   called   can   cat   Category   Changing   chsh   command   contain   Coop   create   crontab   Crontab   daemons   default   desire   desired   directory   does   downtime   easier   edit   Editing   editor   either   end   example   file   following   For   for   from   have   his   home   if   impracticality   in   Instead   is   it   know   knowing   lack   life   like   link   ln   login   loginshell   mail   make   may   Message   message   might   mire   name   Needs   not   notice   Notifications   of   on   or   per   personal   place   pointing   reboot   Reboot   rebooted   replaced   requesting   restart   run   script   sent   server   shell   should   similar   simple   single   so   some   Something   Subject   symbolic   System   that   The   the   then   there   This   Tips   to   unscheduled   use   useful   user   username   users   utilizing   was   way   when   Where   will   Work   work   would   your   zsh  

Clear message


The following are some Tips that might make your life easier.

1. Automatic Reboot Notifications

For some users it may be useful to have an automatic way of knowing when the HCoop server(s) is rebooted. For example, if there was unscheduled downtime and an user does not have an automatic script in place (either from lack of desire or simple impracticality) to restart personal daemons, it would be useful for that user to know when to restart the appropriate daemons.

This can be accomplished on a per user basis by utilizing a crontab file and a single command.

1.1. Editing the Crontab

After requesting authorization for crontab, an user can run:

crontab -e

to edit his personal crontab. Crontab will use the default editor or the editor in VISUAL or EDITOR to edit the users crontab file. Something similar to the following should then be appended to the end of the file:

@reboot cat ~/.reboot_notice | mail -s "[Reboot Message Subject]" <username>

Where <username> is the name of the user and [Reboot Message Subject] is replaced by the desired Subject of the message.

The user should then edit ~/.reboot_notice to contain the desired body of the message that will be sent.

2. Changing login shell on mire

chsh will not work on mire.

Instead create a symbolic link in your home directory called .loginshell, pointing to your desired login shell, like for example so:

ln -s /bin/zsh ~/.loginshell

CategorySystemAdministration CategoryNeedsWork

TipsAndTricks (last edited 2013-05-30 17:33:06 by ClintonEbadi)