"Leonardo Boselli" <[EMAIL PROTECTED]> wrote:
> Change the subject of my reported bug to 
> "does not run as root"
> and severity to "normal"
> Anyway in the README.debian is written that the user running the
> program  must be member of dialout group. By default only root is a
> "virtual" menber  of that group. Please add an option to run as root.
> (two years ago used to  work).

Thanks for your report. As it is written in the user manual that is
part of the distribution, under "Installation", in Unix/Linux systems
access to the serial or USB port is normally restricted to users in
a group (in Debian, the "dialout" group). This means that the system
administrator should add users to this group if they are to have access
to that port, not that the application should be run as root.

We decided to not allow root to run the application because of security
reasons: a simple attack can be done by creating a file in
/root/.gpsman-dir/patch.tcl
to gain access or destroy data with root privileges. In case one wants to
run the risk, this restriction can be made void as follows:

- edit the file  /usr/lib/gpsman/main.tcl
- find the line

if { $UNIX && $env(user) == "root" } {

and replace it by

if { 0 } {

I would appreciate that you contact me directly when you have problems
with gpsman. I will be glad to help.

By the way, I hope that a new release, 6.3.2, will be available within
some weeks. It solves some bugs present in 6.3.1. I will notify you when
it is ready.

Best regards,
Miguel Filgueiras


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to