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

perte des sudoers ?

1 réponse
Avatar
yapu
je cherche toujours à éteindre mon serveur à distance (TI 550 sous
10.5.8).
Le système vient d'etre réinstallé.

il boote habituellement sous un utilisateurs standard, et je me connecte
dessus en SSH avec un role admin.

Quand lui donne l'ordre sudo reboot, il gicle bien l'utilisateur
standard et la plupart des process, mais il s'arrete en cours.



si je redemande reboot ou halt, il me répond :
"sudo: uid 505 does not exist in the passwd file!
serveur:~ admin$ postdrop: warning: unable to look up public/pickup: No
such file or directory"

il ne reste plus que :
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE
VSIZE
1308 top 4.3% 0:00.20 1 16 27 684K 196K 1272K
18M
1242 bash 0.0% 0:00.09 1 14 18 180K 196K 900K
18M
1241 sshd 0.0% 0:00.10 1 10 53 112K 928K 532K
22M
1232 sshd 0.0% 0:00.43 1 20 53 176K 928K 1492K
22M
1168 httpd 0.0% 0:00.00 1 11 204 160K 2716K 648K
20M
1167 httpd 0.0% 0:00.00 1 11 204 160K 2716K 648K
20M
1166 httpd 0.0% 0:00.00 1 11 204 160K 2716K 648K
20M
1165 httpd 0.0% 0:00.00 1 11 204 160K 2716K 648K
20M
1164 httpd 0.0% 0:00.00 1 11 204 160K 2716K 648K
20M
1163 httpd 0.0% 0:01.16 1 11 204 48K 2716K 1888K
20M
1159 httpsproxy 0.0% 0:00.03 1 16 20 184K 196K 844K
18M
1057 mcxalr 0.0% 0:00.86 1 30 20 260K 272K 1232K
18M
1056 mcxalr 0.0% 0:00.39 2 21 22 248K 272K 1192K
18M
207 httpd 0.0% 0:00.40 1 8 68 68K 7012K 424K
27M
206 httpd 0.0% 0:01.50 1 11 68 40K 7012K 3300K
27M
41 diskarbitr 0.0% 0:02.24 1 123 19 412K 196K 1040K
18M
12 notifyd 0.0% 0:00.80 2 50 21 216K 200K 480K
18M
11 DirectoryS 0.0% 0:17.97 5 61 36 1692K 200K 3360K
21M
1 launchd 0.0% 0:02.32 3 27 26 224K 196K 584K
19M
0 kernel_tas 0.3% 3:34.22 41 2 213 1856K 0 61M
152M


que faire ?
--
Philippe Manet

1 réponse

Avatar
NicolasAlex.Michel.remove
Philippe Manet wrote:

si je redemande reboot ou halt, il me répond :
"sudo: uid 505 does not exist in the passwd file!



Salut Philippe


C'est étrange ...

Il y a 2 trucs qui me viennent à l'esprit, à tester :

sudo shutdown -r now

ou créer un user 505 dans /etc/passwd


Bonne chance :)


--
Nicolas Michel