Sujet : Re: sudo override
De : lew.pitcher (at) *nospam* digitalfreehold.ca (Lew Pitcher)
Groupes : comp.os.linux.miscDate : 16. Oct 2024, 02:07:12
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <ven3k0$1n6t1$1@dont-email.me>
References : 1
User-Agent : Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
On Tue, 15 Oct 2024 23:59:01 +0000, vjp2.at wrote:
It seems I need to use sudo on minicom,
but not for sudo, to access the USB port.
I'm not sure what you mean here.
Do you mean that, in order to use minicom as an unprivileged user,
you must run minicom under sudo (eg "sudo minicom") so that it
can access a USB serial communications device?
It is annoying but not fatal.
Is there any way to turn off this reqmt?
If my guess above is correct, then you probably have a permissions
problem, in that the USB serial device permission bits exclude your
unprivileged user from read/write access.
You can fix this in a couple of ways:
1) make changes to the udev rules governing the USB device so that
the new rules grant your unprivileged user read/write access, or
2) as root, add your unprivileged user's UID to a group that /does/
have read/write access to the USB device.
HTH
-- Lew Pitcher"In Skills We Trust"