Sujet : Re: sudo override
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.os.linux.miscDate : 16. Oct 2024, 19:55:54
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vep27q$2bpp9$14@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 16/10/2024 13:04, Anssi Saari wrote:
vjp2.at@at.BioStrategist.dot.dot.com writes:
It seems I need to use sudo on minicom,
but not for sudo, to access the USB port.
>
It is annoying but not fatal.
Is there any way to turn off this reqmt?
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, but I am part of the dialout group and can access a USB serial port : I vaguely think I might have added myself for that reason]
So it might be all you need to do is add your user to the dialout
group. Then again, /dev/ttyAMA0 on my Raspberry Pi running Ubuntu
doesn't follow this convention, so YMMV.
-- There is something fascinating about science. One gets such wholesale returns of conjecture out of such a trifling investment of fact.Mark Twain