Re: privileged user in RedHat

Liste des GroupesRevenir à col misc 
Sujet : Re: privileged user in RedHat
De : mm+usenet-es (at) *nospam* dorfdsl.de (Marco Moock)
Groupes : comp.os.linux.misc
Date : 28. Aug 2024, 11:01:14
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240828120114.258c0432@dorfdsl.de>
References : 1 2
User-Agent : Claws Mail 4.3.0 (GTK 3.24.31; i586-slackware-linux-gnu)
On Wed, 28 Aug 2024 03:53:18 -0400 "186282@ud0s4.net"
<186283@ud0s4.net> wrote:

On 8/28/24 2:21 AM, Marco Moock wrote:
Hello!
 
Is there any definition for the word "privileged user" in the Linux
(especially RedHat) environment? 
 
   User 'root' is the only, initially, "privileged user".


Ok, but what does privileged then mean in the RHEL/ROCP environment?

I know that stuff like sudo exists, but I'm mostly asking about the
term.

   (note that 'sudo' kinda breaks this security measure, so
   research and set it CAREFULLY). You do NOT have to use
   'visudo' ... but then it's on YOU to get it 100% right.
   Anything 'vi' I tend to REMOVE because I find line-editors
   SO offensive these days.

I love vim, but this is irrelevant here. :-)

I am currently learning RedHat OpenShift and the courses include a
question where the answer is that 2 containers run with UID 27 are
called privileged. (DO190 ch03s08 if you have access).
 
I am aware that it is common that normal (real people) users start
with 1000 ongoing, server process users are below. Is there a
difference on the IDs or is that just tradition? 
 
   It is "tradition" now to set the first 'regular' user
   to ID 1000, group 1000. Not all 'unix-like' systems
   may obey the same traditions, but Linux distros kinda
   all go that way.
 
   The SYSTEM doesn't really care about the ID numbers.

Aren't there some applications/scripts that check those IDs?
IIRC in Debian some bash environment/profile stuff checks the UID to
set environment variables different for root.

   Oh, Raspberry Pi's ... 'sudo' often requires NO
   password. NOT great.

IIRC this is related to the OS installed on it. I run them with Debian
and Debian asks the user PW when using sudo by default, but this can be
easily changed in sudoers.


Date Sujet#  Auteur
5 Jul 25 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal