Re: sudo override

Liste des GroupesRevenir à col misc 
Sujet : Re: sudo override
De : lew.pitcher (at) *nospam* digitalfreehold.ca (Lew Pitcher)
Groupes : comp.os.linux.misc
Date : 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"

Date Sujet#  Auteur
16 Oct 24 * sudo override17vjp2.at
16 Oct 24 +- Re: sudo override1Lew Pitcher
16 Oct 24 `* Re: sudo override15Anssi Saari
16 Oct 24  `* Re: sudo override14The Natural Philosopher
16 Oct 24   +* Re: sudo override3Rich
16 Oct 24   i+- Re: sudo override1Lew Pitcher
16 Oct 24   i`- Re: sudo override1The Natural Philosopher
16 Oct 24   `* Re: sudo override10Lawrence D'Oliveiro
17 Oct 24    `* Re: sudo override9David W. Hodgins
17 Oct 24     +* Re: sudo override6Lawrence D'Oliveiro
17 Oct 24     i`* Re: sudo override5Anssi Saari
17 Oct 24     i `* Re: sudo override4Chris Ahlstrom
17 Oct 24     i  `* Re: sudo override3David W. Hodgins
17 Oct 24     i   +- Re: sudo override1Rich
17 Oct 24     i   `- Re: sudo override1Lawrence D'Oliveiro
18 Oct 24     `* Re: sudo override2Eric Pozharski
20 Oct 24      `- Re: sudo override1vjp2.at

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal