[root] plus d'accès root (résolu)

Questions et astuces concernant l'installation et la configuration d'archlinux
Répondre
Avatar de l’utilisateur
-redhead-
archer
Messages : 139
Inscription : dim. 26 janv. 2014, 12:08
Localisation : Rhones

[root] plus d'accès root (résolu)

Message par -redhead- »

Bonjour,

Je suis sous arch depuis quelque mois et je m'y trouve bien.

Mais la j'ai un petit problème, je ne peux plus me loguer en root !

Voila ce qu'il me dit

Code : Tout sélectionner

[redhead@arch-pc ~]$ su
Mot de passe : 
su: échec d'exécution de /bin/bash    : Aucun fichier ou dossier de ce type
En cherchant j'ai trouvé quelque truc à essayer, mais pas de résultat

Code : Tout sélectionner

[redhead@arch-pc ~]$ /usr/bin/su
Mot de passe : 
su: échec d'exécution de /bin/bash    : Aucun fichier ou dossier de ce type
[redhead@arch-pc ~]$ /usr/bin/su -s /usr/bin/bash
Mot de passe : 
su: utilisation de l'interpréteur restreint /bin/bash    
su: échec d'exécution de /bin/bash    : Aucun fichier ou dossier de ce type
[redhead@arch-pc ~]$ /usr/bin/su -s /bin/bash
Mot de passe : 
su: utilisation de l'interpréteur restreint /bin/bash    
su: échec d'exécution de /bin/bash    : Aucun fichier ou dossier de ce type
J'ai fait un kdesu pour voir, ça ne fonctionne pas non plus
J'ai aussi fait un sudo passwd root, ça ne change rien

Ce qui c'est passé juste avant, c'est que j'avais 2 pacnew : group et passwd
Je n'ai pas modifier group
Et j'ai reporter les modifs de passwd.pacnew dans passwd, ce qui donne :

Code : Tout sélectionner

root:x:0:0:root:/root:/bin/bash    
bin:x:1:1:bin:/bin:/usr/bin/nologin
#bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:daemon:/sbin:/usr/bin/nologin
#daemon:x:2:2:daemon:/sbin:/bin/false
mail:x:8:12:mail:/var/spool/mail:/usr/bin/nologin
#mail:x:8:12:mail:/var/spool/mail:/bin/false
ftp:x:14:11:ftp:/srv/ftp:/usr/bin/nologin
#ftp:x:14:11:ftp:/srv/ftp:/bin/false  
http:x:33:33:http:/srv/http:/usr/bin/nologin
#http:x:33:33:http:/srv/http:/bin/false
uuidd:x:68:68:uuidd:/:/sbin/nologin
dbus:x:81:81:dbus:/:/sbin/nologin 
nobody:x:99:99:nobody:/:/usr/bin/nologin
#nobody:x:99:99:nobody:/:/bin/false
redhead:x:1000:100::/home/redhead:/bin/bash
polkitd:x:102:102:Policy Kit Daemon:/:/usr/bin/nologin
#polkitd:x:102:102:Policy Kit Daemon:/:/bin/false
usbmux:x:140:140:usbmux user:/:/sbin/nologin
avahi:x:84:84:avahi:/:/usr/bin/nologin
#avahi:x:84:84:avahi:/:/bin/false
mysql:x:89:89::/var/lib/mysql:/usr/bin/nologin
#mysql:x:89:89::/var/lib/mysql:/bin/false
kdm:x:135:135::/var/lib/kdm:/usr/bin/nologin
#kdm:x:135:135::/var/lib/kdm:/bin/false
rtkit:x:133:133:RealtimeKit:/proc:/sbin/nologin
amule:x:1001:1000:aMule Client:/var/lib/amule:/usr/bin/nologin
#amule:x:1001:1000:aMule Client:/var/lib/amule:/bin/false
tor:x:43:43::/var/lib/tor:/usr/bin/nologin
#tor:x:43:43::/var/lib/tor:/bin/false
ntp:x:87:87:Network Time Protocol:/var/lib/ntp:/usr/bin/nologin
#ntp:x:87:87:Network Time Protocol:/var/lib/ntp:/bin/false
git:x:999:999:git daemon user:/:/bin/bash   
colord:x:124:124::/var/lib/colord:/usr/bin/nologin
#colord:x:124:124::/var/lib/colord:/bin/false
systemd-journal-gateway:x:191:191:systemd-journal-gateway:/:/usr/bin/nologin
#systemd-journal-gateway:x:191:191:systemd-journal-gateway:/:/bin/false
# systemd-journal-gateway:x:191:191::/:/usr/bin/nologin
systemd-timesync:x:192:192:systemd-timesync:/:/usr/bin/nologin
#systemd-timesync:x:192:192:systemd-timesync:/:/bin/false
# systemd-timesync:x:192:192::/:/usr/bin/nologin
systemd-network:x:193:193::/:/usr/bin/nologin
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:daemon:/sbin:/bin/false
mail:x:8:12:mail:/var/spool/mail:/bin/false
ftp:x:14:11:ftp:/srv/ftp:/bin/false
http:x:33:33:http:/srv/http:/bin/false
uuidd:x:68:68:uuidd:/:/sbin/nologin
dbus:x:81:81:dbus:/:/sbin/nologin
nobody:x:99:99:nobody:/:/bin/false
redhead:x:1000:100::/home/redhead:/bin/bash
polkitd:x:102:102:Policy Kit Daemon:/:/bin/false
usbmux:x:140:140:usbmux user:/:/sbin/nologin
avahi:x:84:84:avahi:/:/bin/false
mysql:x:89:89::/var/lib/mysql:/bin/false
kdm:x:135:135::/var/lib/kdm:/bin/false
rtkit:x:133:133:RealtimeKit:/proc:/sbin/nologin
amule:x:1001:1000:aMule Client:/var/lib/amule:/bin/false
tor:x:43:43::/var/lib/tor:/bin/false
ntp:x:87:87:Network Time Protocol:/var/lib/ntp:/bin/false
git:x:999:999:git daemon user:/:/bin/bash
colord:x:124:124::/var/lib/colord:/bin/false
systemd-journal-gateway:x:191:191:systemd-journal-gateway:/:/bin/false
# systemd-journal-gateway:x:191:191::/:/usr/bin/nologin
systemd-timesync:x:192:192:systemd-timesync:/:/bin/false
# systemd-timesync:x:192:192::/:/usr/bin/nologin
systemd-network:x:193:193::/:/usr/bin/nologin
Il y a un # devant les anciennes lignes.
Je ne sais pas s'il y a un lien, mais je suppose que oui.

Donc, en gros , AU SECOUR !

Merci d'avance si quelqu'un a une idée !
Dernière modification par -redhead- le sam. 21 juin 2014, 20:10, modifié 1 fois.
--
Redhead
Moviuro
Elfe
Messages : 765
Inscription : dim. 17 juin 2012, 22:49

Re: [root] plus d'accès root

Message par Moviuro »

Si tu as un live sous la main, il faut passer dessus et éditer la ligne root du passwd.

Sinon, tu peux poster ls -l / ? et aussi la fin de ton /var/log/pacman.log ? (Je parie sur la MAJ foireuse de filesystem pour laquelle tu as utilisé pacman -Su --force)

Sinon, sudo fonctionne ?

Aussi, ton code est monstrueux : tu peux pas mettre juste ce que crache exactement diff /etc/passwd /etc/passwd.pacnew ?
psycho : Latitude E6430 ; BTRFS over LUKS, UEFI & secureboot
schizo : Acer 8942G ; KDE 4, BTRFS over LUKS ; W7 (prend la poussière)
toxo : i5-6600K, bspwm, VM W10 en PCI-passthrough
deadman : Lenovo Thinkcenter, OpenBSD 6.0-stable
popho.be : Kimsufi KS-3, FreeBSD 11.0
Loi de Murphy : Le jour où tu as besoin d'une backup, tu te dis que tu aurais dû en mettre en place
Venez sur IRC en plus du forum !
Avatar de l’utilisateur
-redhead-
archer
Messages : 139
Inscription : dim. 26 janv. 2014, 12:08
Localisation : Rhones

Re: [root] plus d'accès root

Message par -redhead- »

Merci de la réponse :)

Je veux bien éditer la ligne root du passwd, mais pour mettre quoi à la place ?
Et je peux le faire avec sudo.

Le ls -l de quel repertoire ?
Je n'ai pas utilisé pacman -Su --force.

la fin de /var/log/pacman.log:

Code : Tout sélectionner

[2014-06-21 11:40] [PACMAN] upgraded linux (3.14.6-1 -> 3.15.1-1)
[2014-06-21 11:40] [PACMAN] upgraded linux-headers (3.14.6-1 -> 3.15.1-1)
[2014-06-21 11:40] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2014-06-21 11:40] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> Starting build: 3.10.44-1-lts
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-lts.img
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> Image generation successful
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> Starting build: 3.10.44-1-lts
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2014-06-21 11:40] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-06-21 11:40] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-lts-fallback.img
[2014-06-21 11:41] [ALPM-SCRIPTLET] ==> Image generation successful
[2014-06-21 11:41] [PACMAN] upgraded linux-lts (3.10.43-1 -> 3.10.44-1)
[2014-06-21 11:41] [PACMAN] upgraded lirc-utils (1:0.9.0-71 -> 1:0.9.0-73)
[2014-06-21 11:41] [PACMAN] upgraded nvidia (337.25-1 -> 337.25-3)
[2014-06-21 11:41] [PACMAN] upgraded pam (1.1.8-4 -> 1.1.8-5)
[2014-06-21 11:41] [PACMAN] upgraded phonon-qt5-gstreamer (4.7.1-1 -> 4.7.2-1)
[2014-06-21 11:41] [PACMAN] upgraded virtualbox-guest-modules (4.3.12-3 -> 4.3.12-5)
[2014-06-21 11:41] [ALPM-SCRIPTLET] In order to use the new version, reload all virtualbox modules manually.
[2014-06-21 11:41] [PACMAN] upgraded virtualbox-host-modules (4.3.12-3 -> 4.3.12-5)
[2014-06-21 11:41] [PACMAN] upgraded wxgtk (3.0.0-3 -> 3.0.1-1)
[2014-06-21 11:46] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-redhead/PKGDEST.79A/package-query-1.3-1-x86_64.pkg.tar.xz'
[2014-06-21 11:46] [PACMAN] upgraded package-query (1.2-2 -> 1.3-1)
[2014-06-21 11:47] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-redhead/PKGDEST.4MM/yaourt-1.4-1-any.pkg.tar.xz'
[2014-06-21 11:47] [PACMAN] upgraded yaourt (1.3-1 -> 1.4-1)
[2014-06-21 12:01] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-redhead/PKGDEST.YSi/yaourt-gui-1.0-1-any.pkg.tar.xz'
[2014-06-21 12:01] [PACMAN] installed yaourt-gui (1.0-1)
[2014-06-21 12:02] [PACMAN] Running 'pacman -R automoc4 boost bullet chrpath cmake doxygen eigen2 enet freealut git glproto gobject-introspection imake intltool js kdelibs3 lib32-flex lib32-libxaw lib32-openal libftdi libmsn libotr3 linux-headers llvm nasm nepomuk-widgets openarena-data openssh phonon-qt5-gstreamer scons soprano sparsehash swig unixodbc unzip usbmuxd vala wget wxgtk2.9 xorg-util-macros xulrunner zip'
[2014-06-21 12:53] [PACMAN] Running 'pacman -Su'
[2014-06-21 12:53] [PACMAN] starting full system upgrade
[2014-06-21 12:53] [PACMAN] Running 'pacman -Syu'
[2014-06-21 12:53] [PACMAN] synchronizing package lists
[2014-06-21 12:53] [PACMAN] starting full system upgrade
Mon code est monstrueux ?? Plait il ?
--
Redhead
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17615
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [root] plus d'accès root

Message par benjarobin »

Il n'y a rien de monstrueux... Bref, peux tu depuis un liveCD rentrer dans un chroot ? Si oui peux tu lancer ceci :

Code : Tout sélectionner

pacman -Qqk
Sinon hors du chroot, peux tu donner la sortie de

Code : Tout sélectionner

cd /mnt #La ou tu as monté ta partition root
ls -ld bin usr/bin usr/bin/bash usr/bin/su usr/sbin sbin
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
-redhead-
archer
Messages : 139
Inscription : dim. 26 janv. 2014, 12:08
Localisation : Rhones

Re: [root] plus d'accès root

Message par -redhead- »

Pardon de mon ignorance mais je ne suis pas sur d'avoir compris ce que tu me demande avec le chroot.

Tu veux que j'aille sur un live cd(manjaro, c'est bien), que je monte ma partition root dans /mnt et que je fasse un arch-chroot /mnt/root et ensuite que je fasse pacman -Qqk, c'est bien ça ?

Ensuite il faut que je sorte du chroot, comment faire ?

Que j'aille sous la partition root et que je fasse le ls -ld, ça c'est ok !:)
--
Redhead
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17615
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [root] plus d'accès root

Message par benjarobin »

-redhead- a écrit :Tu veux que j'aille sur un live cd(manjaro, c'est bien), que je monte ma partition root dans /mnt et que je fasse un arch-chroot /mnt/root
Oui presque... La commande est : arch-chroot /mnt
-redhead- a écrit :Ensuite il faut que je sorte du chroot, comment faire ?
Via la commande : exit...
-redhead- a écrit :Que j'aille sous la partition root et que je fasse le ls -ld, ça c'est ok !:)
En gros oui...

Sinon tout est expliqué dans le Wiki...
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
-redhead-
archer
Messages : 139
Inscription : dim. 26 janv. 2014, 12:08
Localisation : Rhones

Re: [root] plus d'accès root

Message par -redhead- »

benjarobin a écrit :Oui presque... La commande est : arch-chroot /mnt
Ben en fait, sous manjaro c'est chroot /mnt :D
benjarobin a écrit :
-redhead- a écrit :Ensuite il faut que je sorte du chroot, comment faire ?
Via la commande : exit...
hihi! chuis bête !
benjarobin a écrit :Sinon tout est expliqué dans le Wiki...
Certe !

Donc voila le résultat :

Code : Tout sélectionner

[root@manjaro manjaro]# chroot /mnt
[root@manjaro /]# pacman -Qqk
draftsight /usr/share/mime/application/dassault-systemes_draftsight-dwg.xml
draftsight /usr/share/mime/application/dassault-systemes_draftsight-dwt.xml
draftsight /usr/share/mime/application/dassault-systemes_draftsight-dxf.xml
[root@manjaro /]# exit
[root@manjaro manjaro]# cd /mnt
[root@manjaro mnt]# ls -ld bin usr/bin usr/bin/bash usr/bin/su usr/sbin sbin
drwxr-xr-x 3 root root  86016 21.06.2014 10:01 usr/bin/
lrwxrwxrwx 1 root root      7 04.06.2014 14:39 bin -> usr/bin/
lrwxrwxrwx 1 root root      7 04.06.2014 14:39 sbin -> usr/bin/
-rwxr-xr-x 1 root root 783528 11.06.2014 09:20 usr/bin/bash*
-rwsr-xr-x 1 root root  27592 24.04.2014 13:44 usr/bin/su*
lrwxrwxrwx 1 root root      3 04.06.2014 14:39 usr/sbin -> bin/
[root@manjaro mnt]# 
Je vois pas bien ce que draftsight viens faire la dedans ! Mais bon.
Qu'en penses tu ?
--
Redhead
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17615
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [root] plus d'accès root

Message par benjarobin »

Je pense qu'il n'y a aucun souci... Que se passe-t-il si tu essayes de démarrer sous ArchLinux ? Cela ne fonctionne pas ?
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
-redhead-
archer
Messages : 139
Inscription : dim. 26 janv. 2014, 12:08
Localisation : Rhones

Re: [root] plus d'accès root

Message par -redhead- »

Bah si tout fonctionne bien, mais je peux pas passer root.

Code : Tout sélectionner

[redhead@arch-pc /]$ su
Mot de passe : 
su: échec d'exécution de /bin/bash    : Aucun fichier ou dossier de ce type
[redhead@arch-pc /]$ 
kdesu ne fonctionne pas non plus.
par contre sudo, lui, fonctionne, alors que mon user dans le passwd pointe au même endroit, c'est a dire /bin/bash !!
Dernière modification par -redhead- le sam. 21 juin 2014, 19:14, modifié 1 fois.
--
Redhead
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17615
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [root] plus d'accès root

Message par benjarobin »

Peux tu donner la sortie de :

Code : Tout sélectionner

ls -ld /bin /usr/bin /usr/sbin /sbin
ls -l /usr/bin/bash /bin/bash /bin/su
hexdump -C /etc/passwd
pwck
grpck
Indice : Il ne faut jamais éditer ce fichier à la main !!!!
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
-redhead-
archer
Messages : 139
Inscription : dim. 26 janv. 2014, 12:08
Localisation : Rhones

Re: [root] plus d'accès root

Message par -redhead- »

Voila :

Code : Tout sélectionner

[redhead@arch-pc /]$ ls -ld /bin /usr/bin /usr/sbin /sbin
lrwxrwxrwx 1 root root     7  4 juin  16:39 /bin -> usr/bin
lrwxrwxrwx 1 root root     7  4 juin  16:39 /sbin -> usr/bin
drwxr-xr-x 3 root root 86016 21 juin  12:01 /usr/bin
lrwxrwxrwx 1 root root     3  4 juin  16:39 /usr/sbin -> bin
[redhead@arch-pc /]$ ls -l /usr/bin/bash /bin/bash /bin/su
-rwxr-xr-x 1 root root 783528 11 juin  11:20 /bin/bash
-rwsr-xr-x 1 root root  27592 24 avril 15:44 /bin/su
-rwxr-xr-x 1 root root 783528 11 juin  11:20 /usr/bin/bash
[redhead@arch-pc /]$ hexdump -C /etc/passwd
00000000  72 6f 6f 74 3a 78 3a 30  3a 30 3a 72 6f 6f 74 3a  |root:x:0:0:root:|
00000010  2f 72 6f 6f 74 3a 2f 62  69 6e 2f 62 61 73 68 20  |/root:/bin/bash |
00000020  20 20 20 0a 62 69 6e 3a  78 3a 31 3a 31 3a 62 69  |   .bin:x:1:1:bi|
00000030  6e 3a 2f 62 69 6e 3a 2f  75 73 72 2f 62 69 6e 2f  |n:/bin:/usr/bin/|
00000040  6e 6f 6c 6f 67 69 6e 0a  23 62 69 6e 3a 78 3a 31  |nologin.#bin:x:1|
00000050  3a 31 3a 62 69 6e 3a 2f  62 69 6e 3a 2f 62 69 6e  |:1:bin:/bin:/bin|
00000060  2f 66 61 6c 73 65 0a 64  61 65 6d 6f 6e 3a 78 3a  |/false.daemon:x:|
00000070  32 3a 32 3a 64 61 65 6d  6f 6e 3a 2f 73 62 69 6e  |2:2:daemon:/sbin|
00000080  3a 2f 75 73 72 2f 62 69  6e 2f 6e 6f 6c 6f 67 69  |:/usr/bin/nologi|
00000090  6e 0a 23 64 61 65 6d 6f  6e 3a 78 3a 32 3a 32 3a  |n.#daemon:x:2:2:|
000000a0  64 61 65 6d 6f 6e 3a 2f  73 62 69 6e 3a 2f 62 69  |daemon:/sbin:/bi|
000000b0  6e 2f 66 61 6c 73 65 0a  6d 61 69 6c 3a 78 3a 38  |n/false.mail:x:8|
000000c0  3a 31 32 3a 6d 61 69 6c  3a 2f 76 61 72 2f 73 70  |:12:mail:/var/sp|
000000d0  6f 6f 6c 2f 6d 61 69 6c  3a 2f 75 73 72 2f 62 69  |ool/mail:/usr/bi|
000000e0  6e 2f 6e 6f 6c 6f 67 69  6e 0a 23 6d 61 69 6c 3a  |n/nologin.#mail:|
000000f0  78 3a 38 3a 31 32 3a 6d  61 69 6c 3a 2f 76 61 72  |x:8:12:mail:/var|
00000100  2f 73 70 6f 6f 6c 2f 6d  61 69 6c 3a 2f 62 69 6e  |/spool/mail:/bin|
00000110  2f 66 61 6c 73 65 0a 66  74 70 3a 78 3a 31 34 3a  |/false.ftp:x:14:|
00000120  31 31 3a 66 74 70 3a 2f  73 72 76 2f 66 74 70 3a  |11:ftp:/srv/ftp:|
00000130  2f 75 73 72 2f 62 69 6e  2f 6e 6f 6c 6f 67 69 6e  |/usr/bin/nologin|
00000140  0a 23 66 74 70 3a 78 3a  31 34 3a 31 31 3a 66 74  |.#ftp:x:14:11:ft|
00000150  70 3a 2f 73 72 76 2f 66  74 70 3a 2f 62 69 6e 2f  |p:/srv/ftp:/bin/|
00000160  66 61 6c 73 65 20 20 0a  68 74 74 70 3a 78 3a 33  |false  .http:x:3|
00000170  33 3a 33 33 3a 68 74 74  70 3a 2f 73 72 76 2f 68  |3:33:http:/srv/h|
00000180  74 74 70 3a 2f 75 73 72  2f 62 69 6e 2f 6e 6f 6c  |ttp:/usr/bin/nol|
00000190  6f 67 69 6e 0a 23 68 74  74 70 3a 78 3a 33 33 3a  |ogin.#http:x:33:|
000001a0  33 33 3a 68 74 74 70 3a  2f 73 72 76 2f 68 74 74  |33:http:/srv/htt|
000001b0  70 3a 2f 62 69 6e 2f 66  61 6c 73 65 0a 75 75 69  |p:/bin/false.uui|
000001c0  64 64 3a 78 3a 36 38 3a  36 38 3a 75 75 69 64 64  |dd:x:68:68:uuidd|
000001d0  3a 2f 3a 2f 73 62 69 6e  2f 6e 6f 6c 6f 67 69 6e  |:/:/sbin/nologin|
000001e0  0a 64 62 75 73 3a 78 3a  38 31 3a 38 31 3a 64 62  |.dbus:x:81:81:db|
000001f0  75 73 3a 2f 3a 2f 73 62  69 6e 2f 6e 6f 6c 6f 67  |us:/:/sbin/nolog|
00000200  69 6e 20 0a 6e 6f 62 6f  64 79 3a 78 3a 39 39 3a  |in .nobody:x:99:|
00000210  39 39 3a 6e 6f 62 6f 64  79 3a 2f 3a 2f 75 73 72  |99:nobody:/:/usr|
00000220  2f 62 69 6e 2f 6e 6f 6c  6f 67 69 6e 0a 23 6e 6f  |/bin/nologin.#no|
00000230  62 6f 64 79 3a 78 3a 39  39 3a 39 39 3a 6e 6f 62  |body:x:99:99:nob|
00000240  6f 64 79 3a 2f 3a 2f 62  69 6e 2f 66 61 6c 73 65  |ody:/:/bin/false|
00000250  0a 72 65 64 68 65 61 64  3a 78 3a 31 30 30 30 3a  |.redhead:x:1000:|
00000260  31 30 30 3a 3a 2f 68 6f  6d 65 2f 72 65 64 68 65  |100::/home/redhe|
00000270  61 64 3a 2f 62 69 6e 2f  62 61 73 68 0a 70 6f 6c  |ad:/bin/bash.pol|
00000280  6b 69 74 64 3a 78 3a 31  30 32 3a 31 30 32 3a 50  |kitd:x:102:102:P|
00000290  6f 6c 69 63 79 20 4b 69  74 20 44 61 65 6d 6f 6e  |olicy Kit Daemon|
000002a0  3a 2f 3a 2f 75 73 72 2f  62 69 6e 2f 6e 6f 6c 6f  |:/:/usr/bin/nolo|
000002b0  67 69 6e 0a 23 70 6f 6c  6b 69 74 64 3a 78 3a 31  |gin.#polkitd:x:1|
000002c0  30 32 3a 31 30 32 3a 50  6f 6c 69 63 79 20 4b 69  |02:102:Policy Ki|
000002d0  74 20 44 61 65 6d 6f 6e  3a 2f 3a 2f 62 69 6e 2f  |t Daemon:/:/bin/|
000002e0  66 61 6c 73 65 0a 75 73  62 6d 75 78 3a 78 3a 31  |false.usbmux:x:1|
000002f0  34 30 3a 31 34 30 3a 75  73 62 6d 75 78 20 75 73  |40:140:usbmux us|
00000300  65 72 3a 2f 3a 2f 73 62  69 6e 2f 6e 6f 6c 6f 67  |er:/:/sbin/nolog|
00000310  69 6e 0a 61 76 61 68 69  3a 78 3a 38 34 3a 38 34  |in.avahi:x:84:84|
00000320  3a 61 76 61 68 69 3a 2f  3a 2f 75 73 72 2f 62 69  |:avahi:/:/usr/bi|
00000330  6e 2f 6e 6f 6c 6f 67 69  6e 0a 23 61 76 61 68 69  |n/nologin.#avahi|
00000340  3a 78 3a 38 34 3a 38 34  3a 61 76 61 68 69 3a 2f  |:x:84:84:avahi:/|
00000350  3a 2f 62 69 6e 2f 66 61  6c 73 65 0a 6d 79 73 71  |:/bin/false.mysq|
00000360  6c 3a 78 3a 38 39 3a 38  39 3a 3a 2f 76 61 72 2f  |l:x:89:89::/var/|
00000370  6c 69 62 2f 6d 79 73 71  6c 3a 2f 75 73 72 2f 62  |lib/mysql:/usr/b|
00000380  69 6e 2f 6e 6f 6c 6f 67  69 6e 0a 23 6d 79 73 71  |in/nologin.#mysq|
00000390  6c 3a 78 3a 38 39 3a 38  39 3a 3a 2f 76 61 72 2f  |l:x:89:89::/var/|
000003a0  6c 69 62 2f 6d 79 73 71  6c 3a 2f 62 69 6e 2f 66  |lib/mysql:/bin/f|
000003b0  61 6c 73 65 0a 6b 64 6d  3a 78 3a 31 33 35 3a 31  |alse.kdm:x:135:1|
000003c0  33 35 3a 3a 2f 76 61 72  2f 6c 69 62 2f 6b 64 6d  |35::/var/lib/kdm|
000003d0  3a 2f 75 73 72 2f 62 69  6e 2f 6e 6f 6c 6f 67 69  |:/usr/bin/nologi|
000003e0  6e 0a 23 6b 64 6d 3a 78  3a 31 33 35 3a 31 33 35  |n.#kdm:x:135:135|
000003f0  3a 3a 2f 76 61 72 2f 6c  69 62 2f 6b 64 6d 3a 2f  |::/var/lib/kdm:/|
00000400  62 69 6e 2f 66 61 6c 73  65 0a 72 74 6b 69 74 3a  |bin/false.rtkit:|
00000410  78 3a 31 33 33 3a 31 33  33 3a 52 65 61 6c 74 69  |x:133:133:Realti|
00000420  6d 65 4b 69 74 3a 2f 70  72 6f 63 3a 2f 73 62 69  |meKit:/proc:/sbi|
00000430  6e 2f 6e 6f 6c 6f 67 69  6e 0a 61 6d 75 6c 65 3a  |n/nologin.amule:|
00000440  78 3a 31 30 30 31 3a 31  30 30 30 3a 61 4d 75 6c  |x:1001:1000:aMul|
00000450  65 20 43 6c 69 65 6e 74  3a 2f 76 61 72 2f 6c 69  |e Client:/var/li|
00000460  62 2f 61 6d 75 6c 65 3a  2f 75 73 72 2f 62 69 6e  |b/amule:/usr/bin|
00000470  2f 6e 6f 6c 6f 67 69 6e  0a 23 61 6d 75 6c 65 3a  |/nologin.#amule:|
00000480  78 3a 31 30 30 31 3a 31  30 30 30 3a 61 4d 75 6c  |x:1001:1000:aMul|
00000490  65 20 43 6c 69 65 6e 74  3a 2f 76 61 72 2f 6c 69  |e Client:/var/li|
000004a0  62 2f 61 6d 75 6c 65 3a  2f 62 69 6e 2f 66 61 6c  |b/amule:/bin/fal|
000004b0  73 65 0a 74 6f 72 3a 78  3a 34 33 3a 34 33 3a 3a  |se.tor:x:43:43::|
000004c0  2f 76 61 72 2f 6c 69 62  2f 74 6f 72 3a 2f 75 73  |/var/lib/tor:/us|
000004d0  72 2f 62 69 6e 2f 6e 6f  6c 6f 67 69 6e 0a 23 74  |r/bin/nologin.#t|
000004e0  6f 72 3a 78 3a 34 33 3a  34 33 3a 3a 2f 76 61 72  |or:x:43:43::/var|
000004f0  2f 6c 69 62 2f 74 6f 72  3a 2f 62 69 6e 2f 66 61  |/lib/tor:/bin/fa|
00000500  6c 73 65 0a 6e 74 70 3a  78 3a 38 37 3a 38 37 3a  |lse.ntp:x:87:87:|
00000510  4e 65 74 77 6f 72 6b 20  54 69 6d 65 20 50 72 6f  |Network Time Pro|
00000520  74 6f 63 6f 6c 3a 2f 76  61 72 2f 6c 69 62 2f 6e  |tocol:/var/lib/n|
00000530  74 70 3a 2f 75 73 72 2f  62 69 6e 2f 6e 6f 6c 6f  |tp:/usr/bin/nolo|
00000540  67 69 6e 0a 23 6e 74 70  3a 78 3a 38 37 3a 38 37  |gin.#ntp:x:87:87|
00000550  3a 4e 65 74 77 6f 72 6b  20 54 69 6d 65 20 50 72  |:Network Time Pr|
00000560  6f 74 6f 63 6f 6c 3a 2f  76 61 72 2f 6c 69 62 2f  |otocol:/var/lib/|
00000570  6e 74 70 3a 2f 62 69 6e  2f 66 61 6c 73 65 0a 67  |ntp:/bin/false.g|
00000580  69 74 3a 78 3a 39 39 39  3a 39 39 39 3a 67 69 74  |it:x:999:999:git|
00000590  20 64 61 65 6d 6f 6e 20  75 73 65 72 3a 2f 3a 2f  | daemon user:/:/|
000005a0  62 69 6e 2f 62 61 73 68  20 20 20 0a 63 6f 6c 6f  |bin/bash   .colo|
000005b0  72 64 3a 78 3a 31 32 34  3a 31 32 34 3a 3a 2f 76  |rd:x:124:124::/v|
000005c0  61 72 2f 6c 69 62 2f 63  6f 6c 6f 72 64 3a 2f 75  |ar/lib/colord:/u|
000005d0  73 72 2f 62 69 6e 2f 6e  6f 6c 6f 67 69 6e 0a 23  |sr/bin/nologin.#|
000005e0  63 6f 6c 6f 72 64 3a 78  3a 31 32 34 3a 31 32 34  |colord:x:124:124|
000005f0  3a 3a 2f 76 61 72 2f 6c  69 62 2f 63 6f 6c 6f 72  |::/var/lib/color|
00000600  64 3a 2f 62 69 6e 2f 66  61 6c 73 65 0a 73 79 73  |d:/bin/false.sys|
00000610  74 65 6d 64 2d 6a 6f 75  72 6e 61 6c 2d 67 61 74  |temd-journal-gat|
00000620  65 77 61 79 3a 78 3a 31  39 31 3a 31 39 31 3a 73  |eway:x:191:191:s|
00000630  79 73 74 65 6d 64 2d 6a  6f 75 72 6e 61 6c 2d 67  |ystemd-journal-g|
00000640  61 74 65 77 61 79 3a 2f  3a 2f 75 73 72 2f 62 69  |ateway:/:/usr/bi|
00000650  6e 2f 6e 6f 6c 6f 67 69  6e 0a 23 73 79 73 74 65  |n/nologin.#syste|
00000660  6d 64 2d 6a 6f 75 72 6e  61 6c 2d 67 61 74 65 77  |md-journal-gatew|
00000670  61 79 3a 78 3a 31 39 31  3a 31 39 31 3a 73 79 73  |ay:x:191:191:sys|
00000680  74 65 6d 64 2d 6a 6f 75  72 6e 61 6c 2d 67 61 74  |temd-journal-gat|
00000690  65 77 61 79 3a 2f 3a 2f  62 69 6e 2f 66 61 6c 73  |eway:/:/bin/fals|
000006a0  65 0a 23 20 73 79 73 74  65 6d 64 2d 6a 6f 75 72  |e.# systemd-jour|
000006b0  6e 61 6c 2d 67 61 74 65  77 61 79 3a 78 3a 31 39  |nal-gateway:x:19|
000006c0  31 3a 31 39 31 3a 3a 2f  3a 2f 75 73 72 2f 62 69  |1:191::/:/usr/bi|
000006d0  6e 2f 6e 6f 6c 6f 67 69  6e 0a 73 79 73 74 65 6d  |n/nologin.system|
000006e0  64 2d 74 69 6d 65 73 79  6e 63 3a 78 3a 31 39 32  |d-timesync:x:192|
000006f0  3a 31 39 32 3a 73 79 73  74 65 6d 64 2d 74 69 6d  |:192:systemd-tim|
00000700  65 73 79 6e 63 3a 2f 3a  2f 75 73 72 2f 62 69 6e  |esync:/:/usr/bin|
00000710  2f 6e 6f 6c 6f 67 69 6e  0a 23 73 79 73 74 65 6d  |/nologin.#system|
00000720  64 2d 74 69 6d 65 73 79  6e 63 3a 78 3a 31 39 32  |d-timesync:x:192|
00000730  3a 31 39 32 3a 73 79 73  74 65 6d 64 2d 74 69 6d  |:192:systemd-tim|
00000740  65 73 79 6e 63 3a 2f 3a  2f 62 69 6e 2f 66 61 6c  |esync:/:/bin/fal|
00000750  73 65 0a 23 20 73 79 73  74 65 6d 64 2d 74 69 6d  |se.# systemd-tim|
00000760  65 73 79 6e 63 3a 78 3a  31 39 32 3a 31 39 32 3a  |esync:x:192:192:|
00000770  3a 2f 3a 2f 75 73 72 2f  62 69 6e 2f 6e 6f 6c 6f  |:/:/usr/bin/nolo|
00000780  67 69 6e 0a 73 79 73 74  65 6d 64 2d 6e 65 74 77  |gin.systemd-netw|
00000790  6f 72 6b 3a 78 3a 31 39  33 3a 31 39 33 3a 3a 2f  |ork:x:193:193::/|
000007a0  3a 2f 75 73 72 2f 62 69  6e 2f 6e 6f 6c 6f 67 69  |:/usr/bin/nologi|
000007b0  6e 0a 72 6f 6f 74 3a 78  3a 30 3a 30 3a 72 6f 6f  |n.root:x:0:0:roo|
000007c0  74 3a 2f 72 6f 6f 74 3a  2f 62 69 6e 2f 62 61 73  |t:/root:/bin/bas|
000007d0  68 0a 62 69 6e 3a 78 3a  31 3a 31 3a 62 69 6e 3a  |h.bin:x:1:1:bin:|
000007e0  2f 62 69 6e 3a 2f 62 69  6e 2f 66 61 6c 73 65 0a  |/bin:/bin/false.|
000007f0  64 61 65 6d 6f 6e 3a 78  3a 32 3a 32 3a 64 61 65  |daemon:x:2:2:dae|
00000800  6d 6f 6e 3a 2f 73 62 69  6e 3a 2f 62 69 6e 2f 66  |mon:/sbin:/bin/f|
00000810  61 6c 73 65 0a 6d 61 69  6c 3a 78 3a 38 3a 31 32  |alse.mail:x:8:12|
00000820  3a 6d 61 69 6c 3a 2f 76  61 72 2f 73 70 6f 6f 6c  |:mail:/var/spool|
00000830  2f 6d 61 69 6c 3a 2f 62  69 6e 2f 66 61 6c 73 65  |/mail:/bin/false|
00000840  0a 66 74 70 3a 78 3a 31  34 3a 31 31 3a 66 74 70  |.ftp:x:14:11:ftp|
00000850  3a 2f 73 72 76 2f 66 74  70 3a 2f 62 69 6e 2f 66  |:/srv/ftp:/bin/f|
00000860  61 6c 73 65 0a 68 74 74  70 3a 78 3a 33 33 3a 33  |alse.http:x:33:3|
00000870  33 3a 68 74 74 70 3a 2f  73 72 76 2f 68 74 74 70  |3:http:/srv/http|
00000880  3a 2f 62 69 6e 2f 66 61  6c 73 65 0a 75 75 69 64  |:/bin/false.uuid|
00000890  64 3a 78 3a 36 38 3a 36  38 3a 75 75 69 64 64 3a  |d:x:68:68:uuidd:|
000008a0  2f 3a 2f 73 62 69 6e 2f  6e 6f 6c 6f 67 69 6e 0a  |/:/sbin/nologin.|
000008b0  64 62 75 73 3a 78 3a 38  31 3a 38 31 3a 64 62 75  |dbus:x:81:81:dbu|
000008c0  73 3a 2f 3a 2f 73 62 69  6e 2f 6e 6f 6c 6f 67 69  |s:/:/sbin/nologi|
000008d0  6e 0a 6e 6f 62 6f 64 79  3a 78 3a 39 39 3a 39 39  |n.nobody:x:99:99|
000008e0  3a 6e 6f 62 6f 64 79 3a  2f 3a 2f 62 69 6e 2f 66  |:nobody:/:/bin/f|
000008f0  61 6c 73 65 0a 72 65 64  68 65 61 64 3a 78 3a 31  |alse.redhead:x:1|
00000900  30 30 30 3a 31 30 30 3a  3a 2f 68 6f 6d 65 2f 72  |000:100::/home/r|
00000910  65 64 68 65 61 64 3a 2f  62 69 6e 2f 62 61 73 68  |edhead:/bin/bash|
00000920  0a 70 6f 6c 6b 69 74 64  3a 78 3a 31 30 32 3a 31  |.polkitd:x:102:1|
00000930  30 32 3a 50 6f 6c 69 63  79 20 4b 69 74 20 44 61  |02:Policy Kit Da|
00000940  65 6d 6f 6e 3a 2f 3a 2f  62 69 6e 2f 66 61 6c 73  |emon:/:/bin/fals|
00000950  65 0a 75 73 62 6d 75 78  3a 78 3a 31 34 30 3a 31  |e.usbmux:x:140:1|
00000960  34 30 3a 75 73 62 6d 75  78 20 75 73 65 72 3a 2f  |40:usbmux user:/|
00000970  3a 2f 73 62 69 6e 2f 6e  6f 6c 6f 67 69 6e 0a 61  |:/sbin/nologin.a|
00000980  76 61 68 69 3a 78 3a 38  34 3a 38 34 3a 61 76 61  |vahi:x:84:84:ava|
00000990  68 69 3a 2f 3a 2f 62 69  6e 2f 66 61 6c 73 65 0a  |hi:/:/bin/false.|
000009a0  6d 79 73 71 6c 3a 78 3a  38 39 3a 38 39 3a 3a 2f  |mysql:x:89:89::/|
000009b0  76 61 72 2f 6c 69 62 2f  6d 79 73 71 6c 3a 2f 62  |var/lib/mysql:/b|
000009c0  69 6e 2f 66 61 6c 73 65  0a 6b 64 6d 3a 78 3a 31  |in/false.kdm:x:1|
000009d0  33 35 3a 31 33 35 3a 3a  2f 76 61 72 2f 6c 69 62  |35:135::/var/lib|
000009e0  2f 6b 64 6d 3a 2f 62 69  6e 2f 66 61 6c 73 65 0a  |/kdm:/bin/false.|
000009f0  72 74 6b 69 74 3a 78 3a  31 33 33 3a 31 33 33 3a  |rtkit:x:133:133:|
00000a00  52 65 61 6c 74 69 6d 65  4b 69 74 3a 2f 70 72 6f  |RealtimeKit:/pro|
00000a10  63 3a 2f 73 62 69 6e 2f  6e 6f 6c 6f 67 69 6e 0a  |c:/sbin/nologin.|
00000a20  61 6d 75 6c 65 3a 78 3a  31 30 30 31 3a 31 30 30  |amule:x:1001:100|
00000a30  30 3a 61 4d 75 6c 65 20  43 6c 69 65 6e 74 3a 2f  |0:aMule Client:/|
00000a40  76 61 72 2f 6c 69 62 2f  61 6d 75 6c 65 3a 2f 62  |var/lib/amule:/b|
00000a50  69 6e 2f 66 61 6c 73 65  0a 74 6f 72 3a 78 3a 34  |in/false.tor:x:4|
00000a60  33 3a 34 33 3a 3a 2f 76  61 72 2f 6c 69 62 2f 74  |3:43::/var/lib/t|
00000a70  6f 72 3a 2f 62 69 6e 2f  66 61 6c 73 65 0a 6e 74  |or:/bin/false.nt|
00000a80  70 3a 78 3a 38 37 3a 38  37 3a 4e 65 74 77 6f 72  |p:x:87:87:Networ|
00000a90  6b 20 54 69 6d 65 20 50  72 6f 74 6f 63 6f 6c 3a  |k Time Protocol:|
00000aa0  2f 76 61 72 2f 6c 69 62  2f 6e 74 70 3a 2f 62 69  |/var/lib/ntp:/bi|
00000ab0  6e 2f 66 61 6c 73 65 0a  67 69 74 3a 78 3a 39 39  |n/false.git:x:99|
00000ac0  39 3a 39 39 39 3a 67 69  74 20 64 61 65 6d 6f 6e  |9:999:git daemon|
00000ad0  20 75 73 65 72 3a 2f 3a  2f 62 69 6e 2f 62 61 73  | user:/:/bin/bas|
00000ae0  68 0a 63 6f 6c 6f 72 64  3a 78 3a 31 32 34 3a 31  |h.colord:x:124:1|
00000af0  32 34 3a 3a 2f 76 61 72  2f 6c 69 62 2f 63 6f 6c  |24::/var/lib/col|
00000b00  6f 72 64 3a 2f 62 69 6e  2f 66 61 6c 73 65 0a 73  |ord:/bin/false.s|
00000b10  79 73 74 65 6d 64 2d 6a  6f 75 72 6e 61 6c 2d 67  |ystemd-journal-g|
00000b20  61 74 65 77 61 79 3a 78  3a 31 39 31 3a 31 39 31  |ateway:x:191:191|
00000b30  3a 73 79 73 74 65 6d 64  2d 6a 6f 75 72 6e 61 6c  |:systemd-journal|
00000b40  2d 67 61 74 65 77 61 79  3a 2f 3a 2f 62 69 6e 2f  |-gateway:/:/bin/|
00000b50  66 61 6c 73 65 0a 23 20  73 79 73 74 65 6d 64 2d  |false.# systemd-|
00000b60  6a 6f 75 72 6e 61 6c 2d  67 61 74 65 77 61 79 3a  |journal-gateway:|
00000b70  78 3a 31 39 31 3a 31 39  31 3a 3a 2f 3a 2f 75 73  |x:191:191::/:/us|
00000b80  72 2f 62 69 6e 2f 6e 6f  6c 6f 67 69 6e 0a 73 79  |r/bin/nologin.sy|
00000b90  73 74 65 6d 64 2d 74 69  6d 65 73 79 6e 63 3a 78  |stemd-timesync:x|
00000ba0  3a 31 39 32 3a 31 39 32  3a 73 79 73 74 65 6d 64  |:192:192:systemd|
00000bb0  2d 74 69 6d 65 73 79 6e  63 3a 2f 3a 2f 62 69 6e  |-timesync:/:/bin|
00000bc0  2f 66 61 6c 73 65 0a 23  20 73 79 73 74 65 6d 64  |/false.# systemd|
00000bd0  2d 74 69 6d 65 73 79 6e  63 3a 78 3a 31 39 32 3a  |-timesync:x:192:|
00000be0  31 39 32 3a 3a 2f 3a 2f  75 73 72 2f 62 69 6e 2f  |192::/:/usr/bin/|
00000bf0  6e 6f 6c 6f 67 69 6e 0a  73 79 73 74 65 6d 64 2d  |nologin.systemd-|
00000c00  6e 65 74 77 6f 72 6b 3a  78 3a 31 39 33 3a 31 39  |network:x:193:19|
00000c10  33 3a 3a 2f 3a 2f 75 73  72 2f 62 69 6e 2f 6e 6f  |3::/:/usr/bin/no|
00000c20  6c 6f 67 69 6e 0a                                 |login.|
00000c26
benjarobin a écrit :Indice : Il ne faut jamais éditer ce fichier à la main !!!!
Ah bon ! Mais y'avait des modif dans le pacnew et y'avais pas toute les entrées, alors je pouvais pas bêtement remplacer.
Donc, oui, j'avoue, j'ai modifié à la main.
Dernière modification par -redhead- le sam. 21 juin 2014, 19:24, modifié 1 fois.
--
Redhead
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17615
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [root] plus d'accès root

Message par benjarobin »

Désolé nos messages se sont croisés. Ce que je demandais initialement était inutile, j'ai édité. J'ai compris le souci, exécute les commandes demandées dans mon message précédent et je te laisse deviner où est le souci :-)
Indice: Les espaces c'est le mal. Je rappel de plus que l'édition à la main des fichiers suivant n'est pas du tout recommandé !

Code : Tout sélectionner

/etc/passwd /etc/gshadow /etc/group /etc/shadow
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
-redhead-
archer
Messages : 139
Inscription : dim. 26 janv. 2014, 12:08
Localisation : Rhones

Re: [root] plus d'accès root

Message par -redhead- »

J'ai édité aussi :)

Les espaces c'est le mal ! :evil: OK ! j'ai compris, je te remercie, j'aurais jamais trouvé tout seul :bravo:

Mais pourquoi ? tant de haine envers les espaces ??

Edit:
Ok ! parce qu'il prend les espaces comme des caractères et du coup il cherche le fichier /bin/bash___

pfou ! fallais le savoir, dis donc. Mais maintenant je sais.

Encore merci ! :D
--
Redhead
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17615
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [root] plus d'accès root

Message par benjarobin »

:resolu:
Sinon pour revenir à une méthode sécurisée et non à la main pour l'édition de ces fichiers, par exemple pour mettre à jour /etc/passwd, j'ai du exécuter ceci :

Code : Tout sélectionner

usermod -s /usr/bin/nologin bin
usermod -s /usr/bin/nologin daemon
usermod -s /usr/bin/nologin http
usermod -s /usr/bin/nologin nobody
usermod -s /usr/bin/nologin mail
usermod -c systemd-journal-gateway systemd-journal-gateway
usermod -c systemd-network systemd-network
usermod -c systemd-timesync systemd-timesync
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [root] plus d'accès root

Message par FoolEcho »

Pour éviter de faire peur à tout le monde qui lirait ce sujet, notez que le paquet filesystem fait ce qu'il faut pour maintenir tout ça à jour sans intervention (le .pacnew pouvant surtout servir à vérifier facilement ce qui a éventuellement changé). :P

Mais effectivement, autrement, il est nettement préférable d'utiliser les outils dédiés plutôt que d'éditer ces fichiers à la main. :chinois:
Utilisateurs_et_Groupes
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
-redhead-
archer
Messages : 139
Inscription : dim. 26 janv. 2014, 12:08
Localisation : Rhones

Re: [root] plus d'accès root (résolu)

Message par -redhead- »

OK ! merci pour les précisions :) Sujet passé en résolu.
--
Redhead
Répondre