Talk:Ajaxterm

From SME Server
Revision as of 14:32, 17 March 2008 by Mweinber (talk | contribs)
Jump to navigation Jump to search

User/permissions

Installing:

smeserver-ajaxterm      noarch     1.0.5-1.el4.sme  smecontribs        42 k

gave errors

  Installing: smeserver-ajaxterm       [1/1]warning: user ajaxterm does not exist - using root

from the spec

 --dir /opt/ajaxterm 'attr(0750,ajaxterm,www)' \...
 --file /opt/ajaxterm/ 'attr(0640,ajaxterm,www)' \
 --file /opt/ajaxterm/ajaxterm.py 'attr(0550,ajaxterm,www)' \
 --file /opt/ajaxterm/login.pl 'attr(0550,ajaxterm,www)' \

then when you start, you get an error, until you add the ajaxterm user (and fix the permissions)

service ajaxterm restart
/usr/bin/id: ajaxterm: No such user

adduser ajaxterm

service ajaxterm restart
Starting Ajaxterm daemon (ajaxterm.py):                    [  OK  ]

user must be added before install. Article updated (mweinber, 17 Mar 2008)

config

the config setprop values don't stick until you first create the ajaxterm value

config set Ajaxterm service

Article updated (mweinber, 17 Mar 2008)

servicelink

alter the symlink so it obeys status|disabled