Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #59470

Re: sudo override

From Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups comp.os.linux.misc
Subject Re: sudo override
Date 2024-10-16 19:46 +0000
Organization A noiseless patient Spider
Message-ID <vep565$28lti$1@dont-email.me> (permalink)
References <vemvk5$j4c$1@reader1.panix.com> <sm0ed4gxnhm.fsf@lakka.kapsi.fi> <vep27q$2bpp9$14@dont-email.me> <vep4l0$2ceen$1@dont-email.me>

Show all headers | View raw


On Wed, 16 Oct 2024 19:37:04 +0000, Rich wrote:

> The Natural Philosopher <tnp@invalid.invalid> wrote:
>> On 16/10/2024 13:04, Anssi Saari wrote:
>>> On some Linux systems, maybe even typically, permissions are like 
>>> this for serial devices:
>>> 
>>> crw-rw---- 1 root dialout 188, 0 Oct 12 12:07 /dev/ttyUSB0
>> 
>> [ that device does not exist on my installation,
> 
> It appears dynamically when you plug in a USB serial device to a USB 
> port.

Hence my reference to udev rules. Specifically, the udev rules that
create the /dev file related to the USB device in question. You can
alter or add to these rules to give that device node a specific owning
UID and GID, and/or specific rwx rules for owner, group and other.

BUT, it would be simpler for the OP to just add their own UID to the
group that udev assigns group ownership of the USB device to.

-- 
Lew Pitcher
"In Skills We Trust"

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

sudo override vjp2.at@at.BioStrategist.dot.dot.com - 2024-10-15 23:59 +0000
  Re: sudo override Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2024-10-16 01:07 +0000
  Re: sudo override Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2024-10-16 15:04 +0300
    Re: sudo override The Natural Philosopher <tnp@invalid.invalid> - 2024-10-16 19:55 +0100
      Re: sudo override Rich <rich@example.invalid> - 2024-10-16 19:37 +0000
        Re: sudo override Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2024-10-16 19:46 +0000
        Re: sudo override The Natural Philosopher <tnp@invalid.invalid> - 2024-10-16 21:40 +0100
      Re: sudo override Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-10-16 21:01 +0000
        Re: sudo override "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2024-10-17 00:58 -0400
          Re: sudo override Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-10-17 05:46 +0000
            Re: sudo override Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2024-10-17 13:01 +0300
              Re: sudo override Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-10-17 06:51 -0400
                Re: sudo override "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2024-10-17 13:28 -0400
                Re: sudo override Rich <rich@example.invalid> - 2024-10-17 21:09 +0000
                Re: sudo override Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-10-17 21:21 +0000
          Re: sudo override Eric Pozharski <apple.universe@posteo.net> - 2024-10-18 07:51 +0000
            Re: sudo override vjp2.at@at.BioStrategist.dot.dot.com - 2024-10-20 00:46 +0000

csiph-web