Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

utilisateur UID < 500 tjs present

46 réponses
Avatar
yitzhak
Bonjour,
Avant d'acheter mon disque "MiniPartner", j'avais installé leafnode sur
mon Mac Mini, histoire d'avoir les news plus raipidement. Et cela a
marché: c'était vingt fois plus rapide que mon FAI.

Seulement, avec un disque de 80Go, mon /var/spool a été vite rempli, et
j'ai dû tout enlever.

Mais maintenant que j'aimerais réinstaller leafnode, le problème c'est
que quand j'essaie de recréer l'utilisateur News sous Tiger, il me dit
que ce nom d'utilisateur est déjà utilisé. Or, je ne vois pas où.

Quelqu'un peut-il me conseiller, et pour supprimer cet utilisateur (ou
le réutiliser), et pour configurer son GID < 500 afin qu'il n'apparaisse
pas dans la fenêtre login ?

Merci.

Y.

--
Yitzhak Isaac Goldstein
AADP's 'left-wing Jewish intellectual'
'fuck me, it's a torment to live amongst the nations'
http://www.chez.com/desmondcoughlan/

10 réponses

1 2 3 4 5
Avatar
FiLH
(Laurent Pertois) writes:

FiLH wrote:

En même temps sudo -s c'est juste la façon faux cul d'être root hein...


Ah non, il reprend également l'environnement de l'utilisateur l'appelant
et donc ça évite de dupliquer les configs :-)


Bref si l'utilisateur se fait hacker, quand il passe root root se
choppe la merde (genre au hasard version àlakon de ls dans un bon
répertoire et avec . dans le path par exemple- c'est très
bourrin mais ça marche)... Vous m'en direz tant de la
sécurité du sudo !

Sinon : on fait un compte stoto pointant sur le homedir de toto avec
un uid 0 et hop on se choppe l'environnement :) (Méthode qui
présente les mêmes dangers de corruption de l'environnement
hein... me faites pas dire ce que je n'ai pas dit).

FiLH


--
FiLH photography. A taste of freedom in a conventional world.
Web: http://www.filh.org e-mail
FAQ fr.rec.photo : http://frp.parisv.com/
Sitafoto la photo a Bordeaux : http://sitafoto.free.fr/


Avatar
yitzhak
Laurent Pertois wrote:

Yitzhak Isaac Goldstein wrote:

Désactive Root ou bien décroche-toi de l'annuaire auquel tu pourrais
être relié. Mais je penche pour la première.


Je me sers de root quotidiennement...


J'en ai besoin et je ne l'ai pas activé, sudo me suffit, au pire sudo
-s, mais bon, ne rentrons pas dans un débat presque philosophique,
chacun ses goûts.

Plus radical, passe en mode "nom et mot de passe".


Je vais peut-être faire ça ..


C'est le plus simple.

Donc ... cet utilisateur news? Où se cache-t-il ?


Euh, base netinfo ?

Essaie ça dans un shell :

$ dscl localhost -read /Search/Users/news

ou

$ dscl localhost -search /Search/Users name news


Ca ne donne rien... :-(

Y.

--
Yitzhak Isaac Goldstein
AADP's 'left-wing Jewish intellectual'
'fuck me, it's a torment to live amongst the nations'
http://www.chez.com/desmondcoughlan/



Avatar
laurent.pertois
FiLH wrote:

Bref si l'utilisateur se fait hacker, quand il passe root root se
choppe la merde (genre au hasard version àlakon de ls dans un bon
répertoire et avec . dans le path par exemple- c'est très
bourrin mais ça marche)... Vous m'en direz tant de la
sécurité du sudo !


Ah ben, ça n'interdit pas le port du cerveau :)

Cela dit, on lit ça dans le man de sudo(8) :

To prevent command spoofing, sudo checks "." and "" (both denoting
current directory) last when searching for a command in the user's PATH
(if one or both are in the PATH). Note, however, that the actual PATH
environment variable is not modified and is passed unchanged to the
program that sudo executes.

Tu vois, ils y ont quand même pensé.

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.

Avatar
yitzhak
Laurent Pertois wrote:

Ca ne donne rien... :-(


Essaie ça :

$ dscl localhost -list /Search/Users

et regarde les noms.


[]/Users/desmond(1): dscl localhost -list /Search/Users
amavisd
appowner
appserver
clamav
cyrusimap
daemon
desmond
eppc
invite
jabber
lp
mailman
mysql
nobody
postfix
qtss
root
securityagent
sshd
tokend
unknown
uucp
windowserver
www
xgridagent
xgridcontroller
yann

Y.

--
Yitzhak Isaac Goldstein
AADP's 'left-wing Jewish intellectual'
'fuck me, it's a torment to live amongst the nations'
http://www.chez.com/desmondcoughlan/


Avatar
laurent.pertois
Yitzhak Isaac Goldstein wrote:

Ca ne donne rien... :-(


Essaie ça :

$ dscl localhost -list /Search/Users

et regarde les noms.

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.

Avatar
laurent.pertois
Yitzhak Isaac Goldstein wrote:

[]/Users/desmond(1): dscl localhost -list /Search/Users


[SNIP]

Ben, normalement tu n'as pas d'utilisateur "news", étrange... Quand tu
cherches à le créer, tu fais quoi comme manip ?

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.

Avatar
yitzhak
Laurent Pertois wrote:

Yitzhak Isaac Goldstein wrote:

[]/Users/desmond(1): dscl localhost -list /Search/Users


[SNIP]

Ben, normalement tu n'as pas d'utilisateur "news", étrange... Quand tu
cherches à le créer, tu fais quoi comme manip ?


Menu Pomme
Préférences Système
Comptes
Cadenas
[mot de passe]
Signe "+"
Nom: news
mot de passe: blah blah
confirmation: blah blah
"créer le compte"

Affiché en rouge sous le champ "news" .. 'le nom n'est pas disponible"

Un truc bizarre .. quand je tape le nom "news" dans le premier champ et
appuie sur TABULATION, il remplit automatiquement le champ "nom abrégé",
mais il met "news1" et pas "news".

Y.



--
Yitzhak Isaac Goldstein
AADP's 'left-wing Jewish intellectual'
'fuck me, it's a torment to live amongst the nations'
http://www.chez.com/desmondcoughlan/


Avatar
yitzhak
Yitzhak Isaac Goldstein wrote:

Un truc bizarre .. quand je tape le nom "news" dans le premier champ et
appuie sur TABULATION, il remplit automatiquement le champ "nom abrégé",
mais il met "news1" et pas "news".


Hé oui, quand je change "news1" en "totobahblah" (ou chaispas quoi), il
refuse toujours de créer le compte.

Y.


--
Yitzhak Isaac Goldstein
AADP's 'left-wing Jewish intellectual'
'fuck me, it's a torment to live amongst the nations'
http://www.chez.com/desmondcoughlan/

Avatar
laurent.pertois
Yitzhak Isaac Goldstein wrote:

Un truc bizarre .. quand je tape le nom "news" dans le premier champ et
appuie sur TABULATION, il remplit automatiquement le champ "nom abrégé",
mais il met "news1" et pas "news".


Mmmmm, un groupe peut-être...

Essaie ça :

dscl localhost -search /Search RecordName news

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.

Avatar
yitzhak
Laurent Pertois wrote:

Essaie ça :

dscl localhost -search /Search RecordName news


[]/Users/desmond(1): dscl localhost -search /Search
RecordName news
Groups/news RecordName = (news)

Y.


--
Yitzhak Isaac Goldstein
AADP's 'left-wing Jewish intellectual'
'fuck me, it's a torment to live amongst the nations'
http://www.chez.com/desmondcoughlan/

1 2 3 4 5