Hi,

Thanks for your report.

Le vendredi 30 juin 2006 à 09:56 +0200, Michal Politowski a écrit :
> The test to see if the script is run by root uses bash specific extensions
> not necessarily available in /bin/sh:
> - the $UID variable (use $(id -u))
> - the [[ comand ([ is standard)
Committed to SVN - should be uploaded very soon

> As an aside: I don't really understand why to put this test there at all.
Ajaxterm service is run with start-stop-daemon --pidfile option, and the
pid file cannot be written in /var/run as a standard user, which means
the service can be started but not stopped by non-privileged user.

However, standard user can run their own instances.

Cheers,
Julien


Reply via email to