[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ✘Input device permissions
From: |
Gary E. Miller |
Subject: |
Re: ✘Input device permissions |
Date: |
Mon, 13 Apr 2020 19:09:04 -0700 |
Yo Hal!
On Mon, 13 Apr 2020 19:01:38 -0700
Hal Murray <address@hidden> wrote:
> address@hidden said:
> > "improper" is when gpsd can not re-ope the device after dropping
> > root. If it ever had root.
>
> I'd be happy with a warning for that case.
>
> Should it drop-root before opening devices?
Then with only a warning, that would fail.
This comment is in gpsd.c:
/*
* We open devices specified on the command line *before* dropping
* privileges in case one of them is a serial device with PPS support
* and we need to set the line discipline, which requires root.
*/
Dunno what that means.
> What should permissions on shared memory be?
Beats me. I always went with the long standing NTP defaults.
> Is this a good reminder to fix that stuff so readers are read only?
What read-only readers do you refer to?
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgphGpNUBdkvj.pgp
Description: OpenPGP digital signature
- ✘Input device permissions, Gary E. Miller, 2020/04/13
- Re: ✘Input device permissions, Hal Murray, 2020/04/13
- Re: ✘Input device permissions, Gary E. Miller, 2020/04/13
- Re: ✘Input device permissions, Hal Murray, 2020/04/13
- Re: ✘Input device permissions,
Gary E. Miller <=
- Re: ✘Input device permissions, Hal Murray, 2020/04/13
- Re: ✘Input device permissions, Gary E. Miller, 2020/04/13
- Re: ✘Input device permissions, Hal Murray, 2020/04/13
- Re: ✘Input device permissions, Gary E. Miller, 2020/04/13
- Re: ✘Input device permissions, Hal Murray, 2020/04/13
- Re: ✘Input device permissions, James Browning, 2020/04/13