#26 Le 27/09/2014, à 05:51
- pingouinux
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
La nuit ayant porté conseil, voici ce que je te suggère :
Tu remets en état sudo comme tu l'as fait en #4, en mode recovery
Tu redémarres normalement, et tu exécutes ce script qui reprend tout ce que je te proposais en #19, mais qui ne touche plus à sudo (tu dois le lancer en mode sudo).
Il va normalement remettre les bonnes permissions, en se basant sur celles qui sont sur mes propres fichiers.#!/bin/bash chown root:root /usr/bin chmod 755 /usr/bin chown root /usr/bin/* chown daemon /usr/bin/at find /usr/bin ! -name sudo -exec chmod 755 {} \; chmod g+s /usr/bin/crontab chmod g+s /usr/bin/mail-touchlock chmod g+s /usr/bin/mail-lock chmod g+s /usr/bin/dotlockfile chmod u+s /usr/bin/lppasswd chmod g+s /usr/bin/mail-unlock chmod g+s /usr/bin/wall chmod g+s /usr/bin/bsd-write chmod g+s /usr/bin/chage chmod g+s /usr/bin/screen chmod g+s /usr/bin/mlocate chmod ug+s /usr/bin/at chmod g+s /usr/bin/ssh-agent chmod g+s /usr/bin/expiry (cat - <<EOF -rwsr-xr-x root root /usr/bin/traceroute6.iputils -rwsr-xr-x root root /usr/bin/passwd -rwsr-sr-x root mail /usr/bin/procmail -rwsr-xr-x root root /usr/bin/traceroute6 -rwsr-xr-x root root /usr/bin/sudo -rwsr-xr-x root root /usr/bin/pkexec -rwxr-sr-x root tty /usr/bin/write -rwsr-xr-x root root /usr/bin/chsh -rwxr-sr-x root mail /usr/bin/lockfile -rwsr-sr-x root root /usr/bin/X -rwsr-xr-x root root /usr/bin/chfn -rwsr-xr-x root root /usr/bin/sudoedit -rwsr-xr-x root root /usr/bin/arping -rwsr-sr-x daemon daemon /usr/bin/atrm -rwxr-sr-x root mlocate /usr/bin/locate -rwsr-xr-x root root /usr/bin/newgrp -rwsr-sr-x daemon daemon /usr/bin/atq -rwsr-xr-x root root /usr/bin/sg -rwsr-xr-x root root /usr/bin/mtr -rwsr-xr-x root root /usr/bin/gpasswd EOF ) | while read P U G F do if [ -f "$F" ] then case $P in -rws*) chmod u+s "$F" ;;& -???r-s*) chmod g+s "$F" ;; esac else echo "$F inconnu" fi done
Tu peux éventuellement retourner ensuite, à titre de vérification, le résultat de
ls -la /usr/bin
Édité : C'est peut-être un peu long (plus de 2700 fichiers chez moi)
Dernière modification par pingouinux (Le 27/09/2014, à 08:22)
Hors ligne
#27 Le 27/09/2014, à 06:49
- moko138
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
Mais que donne
gksudo synaptic
? Donne le résultat COMPLET.
N.B. : si tu utilises Kubuntu, la commande est
kdesudo synaptic
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
En ligne
#28 Le 27/09/2014, à 08:49
- laurentvv
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
Voilà ce que ça donne ( sans les lignes des opérations non permises) :
-rwxr-xr-x 1 laurent root 19400 Apr 9 16:06 unity-webapps-runner
-rwxr-xr-x 1 laurent root 27200 Mar 24 2014 unlink
lrwxrwxrwx 1 laurent root 24 Sep 14 16:00 unlzma -> /etc/alternatives/unlzma
-rwxr-xr-x 1 laurent root 52 Aug 28 19:33 unopkg
lrwxrwxrwx 1 laurent root 27 Apr 28 2012 unpack200 -> /etc/alternatives/unpack200
-rwxr-xr-x 1 laurent root 71992 Jun 25 2012 unpaper
lrwxrwxrwx 1 laurent root 23 Nov 2 2010 unrar -> /etc/alternatives/unrar
-rwxr-xr-x 1 laurent root 262192 Oct 23 2013 unrar-nonfree
-rwxr-xr-x 1 laurent root 313 Oct 28 2012 unsettings
-rwxr-xr-x 1 root root 10432 Sep 25 20:55 unshare
-rwxr-xr-x 1 laurent root 6288 Dec 12 2012 unsq
-rwxr-xr-x 1 laurent root 5940 Nov 5 2013 unwrapdiff
lrwxrwxrwx 1 laurent root 2 Feb 12 2014 unxz -> xz
-rwxr-xr-x 2 laurent root 158392 May 13 2013 unzip
-rwxr-xr-x 1 laurent root 76392 May 13 2013 unzipsfx
-rwxr-xr-x 1 laurent root 111208 Jan 22 2014 upbibtex
-rwxr-xr-x 1 laurent root 43544 Jun 9 19:23 update-alternatives
lrwxrwxrwx 1 laurent root 26 Oct 9 2010 updatedb -> /etc/alternatives/updatedb
-rwxr-xr-x 1 laurent root 43776 Jun 20 2013 updatedb.mlocate
-rwxr-xr-x 1 laurent root 19088 Nov 5 2013 update-desktop-database
-rwxr-xr-x 1 laurent root 5602 Mar 27 2014 update-gconf-defaults
-rwxr-xr-x 1 laurent root 52024 Jul 10 2012 update_indicator
-rwxr-xr-x 1 laurent root 4569 Apr 28 23:02 update-manager
-rwxr-xr-x 1 laurent root 126568 Dec 3 2011 update-menus
-rwxr-xr-x 1 laurent root 672 Apr 11 10:59 update-mime-database
-rwxr-xr-x 1 laurent root 48192 Apr 11 10:59 update-mime-database.real
-rwxr-xr-x 1 laurent root 57704 Apr 10 00:06 update-notifier
-rwxr-xr-x 1 laurent root 6177 Jun 1 2012 update-perl-sax-parsers
lrwxrwxrwx 1 laurent root 31 Oct 16 2011 updatepofiles -> /etc/alternatives/updatepofiles
lrwxrwxrwx 1 laurent root 41 Jun 25 2013 updatepofiles-1.0.10 -> ../lib/lazarus/1.0.10/tools/updatepofiles
lrwxrwxrwx 1 laurent root 53 Feb 17 2014 updmap -> ../share/texlive/texmf-dist/scripts/texlive/updmap.pl
lrwxrwxrwx 1 laurent root 57 Feb 17 2014 updmap-sys -> ../share/texlive/texmf-dist/scripts/texlive/updmap-sys.sh
-rwxr-xr-x 1 laurent root 53768 Jan 22 2014 updvitype
-rwxr-xr-x 1 laurent root 14752 Dec 21 2013 upower
-rwxr-xr-x 1 laurent root 61928 Jan 22 2014 uppltotf
-rwxr-xr-x 1 laurent root 367112 Jan 22 2014 uptex
-rwxr-xr-x 1 laurent root 49608 Jan 22 2014 uptftopl
-rwxr-xr-x 1 laurent root 10512 Jan 7 2014 uptime
-rwxr-xr-x 1 laurent root 3923 Aug 19 18:13 usb-creator-gtk
-rwxr-xr-x 1 laurent root 4216 Apr 8 23:12 usb-devices
-rwxr-xr-x 1 laurent root 23064 Apr 8 23:12 usbhid-dump
-rwxr-xr-x 1 laurent root 6344 Feb 19 2014 usb_printerid
-rwxr-xr-x 1 laurent root 31800 May 1 2012 userinfo
-rwxr-xr-x 1 laurent root 23376 May 1 2012 usermount
-rwxr-xr-x 1 laurent root 27424 May 1 2012 userpasswd
-rwxr-xr-x 1 laurent root 31360 Mar 24 2014 users
-rwxr-xr-x 1 laurent root 145632 Mar 12 2014 users-admin
-rwxr-xr-x 1 root root 10432 Sep 25 20:55 uuidgen
-rwxr-xr-x 1 laurent root 3674 Oct 29 2013 uxterm
-rwxr-xr-x 1 laurent root 2496 Oct 10 2013 uz
-rwxr-xr-x 1 laurent root 528 Dec 16 2013 valgrind
-rwxr-xr-x 1 laurent root 18704 Apr 11 19:20 valgrind.bin
-rwxr-xr-x 1 laurent root 26944 Apr 11 19:20 valgrind-di-server
-rwxr-xr-x 1 laurent root 10480 Apr 11 19:20 valgrind-listener
-rwxr-xr-x 1 laurent root 22856 Oct 18 2011 validateconf
-rwxr-xr-x 1 laurent root 142696 Jan 11 2014 vcdimager
-rwxr-xr-x 1 laurent root 40504 Jan 11 2014 vcd-info
-rwxr-xr-x 1 laurent root 171568 Jan 11 2014 vcdxbuild
-rwxr-xr-x 1 laurent root 150920 Jan 11 2014 vcdxgen
-rwxr-xr-x 1 laurent root 142616 Jan 11 2014 vcdxminfo
-rwxr-xr-x 1 laurent root 41512 Jan 11 2014 vcdxrip
-rwxr-xr-x 1 laurent root 18824 Jul 9 2012 vcut
-rwxr-xr-x 1 laurent root 51640 Jan 22 2014 vftovp
-rwxr-xr-x 1 laurent root 43576 Apr 11 19:20 vgdb
-rwxr-xr-x 1 laurent root 51104 Dec 11 2013 vgrabbj
lrwxrwxrwx 1 laurent root 20 Oct 9 2010 vi -> /etc/alternatives/vi
-rwxr-xr-x 1 laurent root 374944 Dec 17 2013 videocut
lrwxrwxrwx 1 laurent root 22 Oct 9 2010 view -> /etc/alternatives/view
-rwxr-xr-x 1 laurent root 23856 Aug 16 2013 viewres
-rwxr-xr-x 1 laurent root 125936 Jan 2 2014 vig_optimize
-rwxr-xr-x 1 laurent root 1051 Feb 20 2014 vimdot
-rwxr-xr-x 1 laurent root 884360 Jan 2 2014 vim.tiny
-rwxr-xr-x 1 laurent root 266144 Feb 26 2014 vinagre
-rwxr-xr-x 1 laurent root 10528 Nov 18 2013 vino-passwd
-rwxr-xr-x 1 laurent root 31840 Nov 18 2013 vino-preferences
-rwxr-xr-x 1 laurent root 510168 Sep 24 2013 virt_mail
-rwxr-xr-x 1 laurent root 12103400 Sep 24 2013 virtuoso-t
-rwxr-xr-x 1 laurent root 14728 May 17 16:56 vlc
-rwxr-xr-x 1 laurent root 10560 May 17 16:56 vlc-wrapper
-rwxr-xr-x 1 laurent root 14656 Jan 22 2014 vlna
-rwxr-xr-x 1 laurent root 31120 Jan 7 2014 vmstat
-rwxr-xr-x 1 laurent root 10576 Apr 10 10:56 vmwarectrl
-rwxr-xr-x 1 laurent root 52792 Oct 22 2013 vobcopy
-rwxr-xr-x 1 laurent root 35384 Nov 20 2013 vobsub2pgm
-rwxr-xr-x 1 laurent root 10240 Feb 25 2014 volname
-rwxr-xr-x 1 laurent root 31640 Jul 9 2012 vorbiscomment
-rwxr-xr-x 1 laurent root 39616 Jul 11 2012 vorbisgain
-rwxr-xr-x 1 laurent root 3770 Jul 9 2012 vorbistagedit
lrwxrwxrwx 1 laurent root 46 Feb 20 2014 vpe -> ../share/texlive/texmf-dist/scripts/vpe/vpe.pl
lrwxrwxrwx 1 laurent root 52 Feb 20 2014 vpl2ovp -> ../share/texlive/texmf-dist/scripts/accfonts/vpl2ovp
lrwxrwxrwx 1 laurent root 52 Feb 20 2014 vpl2vpl -> ../share/texlive/texmf-dist/scripts/accfonts/vpl2vpl
-rwxr-xr-x 1 laurent root 59776 Jan 22 2014 vptovf
-rwxr-xr-x 1 laurent root 18896 Mar 31 23:22 vstp
lrwxrwxrwx 1 laurent root 19 Oct 9 2010 w -> /etc/alternatives/w
-rwxr-xr-x 1 laurent root 1459696 Jan 4 2014 w3m
-rwxr-xr-x 1 laurent root 1132 Jan 4 2014 w3mman
-rwxr-sr-x 1 root tty 19024 Sep 25 20:55 wall
-rwxr-xr-x 1 laurent root 1308928 Mar 14 2014 wallch
-rwxr-xr-x 1 laurent root 2826952 Apr 13 2013 wally
-rwxr-xr-x 1 laurent root 23632 Jan 7 2014 watch
-rwxr-xr-x 1 laurent root 14336 Jun 26 16:39 watchgnupg
-rwxr-xr-x 1 laurent root 14472 Jan 1 2014 wavcmp
-rwxr-xr-x 1 laurent root 88536 Nov 28 2011 wavfilter
-rwxr-xr-x 1 laurent root 60336 Nov 1 2013 wavpack
-rwxr-xr-x 1 laurent root 80272 Nov 28 2011 wavrms
-rwxr-xr-x 1 laurent root 27016 Apr 9 02:55 wayland-scanner
-rwxr-xr-x 1 laurent root 53272 Aug 2 00:37 wbinfo
-rwxr-xr-x 1 laurent root 10288 Feb 7 2013 wbmptopbm
-rwxr-xr-x 1 laurent root 39648 Mar 24 2014 wc
-rwxr-xr-x 1 laurent root 67968 Jan 22 2014 weave
-rwxr-xr-x 1 laurent root 614 Mar 23 2014 web2disk
-rwxr-xr-x 1 laurent root 925 Oct 25 2013 web2py2po
-rwxr-xr-x 1 laurent root 75944 Apr 28 10:05 webapp-container
-rwxr-xr-x 1 laurent root 231592 Apr 28 10:05 webbrowser-app
-rwxr-xr-x 1 laurent root 6240 Apr 16 14:54 webhttrack
-rwxr-xr-x 1 laurent root 286 Jul 1 17:35 wftopfa
-rwxr-xr-x 1 laurent root 407696 Feb 7 2014 wget
-rwxr-xr-x 1 root root 48112 Sep 23 18:43 whatis
-rwxr-xr-x 1 root root 15128 Sep 25 20:55 whereis
lrwxrwxrwx 1 laurent root 10 Aug 28 2013 which -> /bin/which
-rwxr-xr-x 1 laurent root 51968 Mar 24 2014 who
-rwxr-xr-x 1 laurent root 27200 Mar 24 2014 whoami
-rwxr-xr-x 1 laurent root 60544 Jan 11 2014 whois
-rwxr-xr-x 1 laurent root 52888 Jun 10 22:28 whoopsie
-rwxr-xr-x 1 laurent root 18976 Apr 10 19:39 whoopsie-preferences
-rwxr-xr-x 1 laurent root 397808 Apr 5 01:21 widl
-rwxr-xr-x 1 laurent root 9748 Apr 5 01:21 wine
-rwxr-xr-x 1 laurent root 1059064 Apr 5 01:21 wine64
-rwxr-xr-x 1 laurent root 2110248 Apr 5 01:21 wine64-preloader
lrwxrwxrwx 1 laurent root 4 Apr 5 01:19 wine-auto -> wine
-rwxr-xr-x 1 laurent root 1582 Apr 5 01:19 wineboot
-rwxr-xr-x 1 laurent root 113248 Apr 5 01:21 winebuild
-rwxr-xr-x 1 laurent root 1582 Apr 5 01:19 winecfg
-rwxr-xr-x 1 laurent root 1582 Apr 5 01:19 wineconsole
lrwxrwxrwx 1 laurent root 7 Apr 5 01:19 winecpp -> winegcc
-rwxr-xr-x 1 laurent root 1582 Apr 5 01:19 winedbg
-rwxr-xr-x 1 laurent root 158624 Apr 5 01:21 winedump
-rwxr-xr-x 1 laurent root 1582 Apr 5 01:19 winefile
lrwxrwxrwx 1 laurent root 7 Apr 5 01:19 wineg++ -> winegcc
-rwxr-xr-x 1 laurent root 35280 Apr 5 01:21 winegcc
-rwxr-xr-x 1 laurent root 95002 Apr 5 01:19 winemaker
-rwxr-xr-x 1 laurent root 1582 Apr 5 01:19 winemine
-rwxr-xr-x 1 laurent root 1582 Apr 5 01:19 winepath
-rwxr-xr-x 1 laurent root 12860 Apr 5 01:21 wine-preloader
-rwxr-xr-x 1 laurent root 425560 Apr 5 01:21 wineserver
-rwxr-xr-x 1 laurent root 640757 Mar 3 2014 winetricks
lrwxrwxrwx 1 laurent root 23 Sep 14 17:49 winff -> /etc/alternatives/winff
-rwxr-xr-x 1 laurent root 6402096 Feb 14 2014 winff-gtk2
-rwxr-xr-x 1 laurent root 18656 Feb 7 2013 winicontoppm
-rwxr-xr-x 1 laurent root 2098 May 11 2012 winpdb
-rwxr-xr-x 1 laurent root 2132248 Mar 11 2014 wireshark
lrwxrwxrwx 1 laurent root 7 Mar 6 2014 wish -> wish8.6
-rwxr-xr-x 1 laurent root 6304 Mar 19 2014 wish8.4
-rwxr-xr-x 1 laurent root 6176 Feb 28 2014 wish8.5
-rwxr-xr-x 1 laurent root 6192 Mar 12 2014 wish8.6
-rwxr-xr-x 1 laurent root 229 May 13 2013 withsctp
-rwxr-xr-x 1 laurent root 59944 Apr 5 01:21 wmc
-rwxr-xr-x 1 laurent root 14632 Feb 25 2013 wmf2eps
-rwxr-xr-x 1 laurent root 14624 Feb 25 2013 wmf2fig
-rwxr-xr-x 1 laurent root 14608 Feb 25 2013 wmf2gd
-rwxr-xr-x 1 laurent root 14648 Feb 25 2013 wmf2svg
-rwxr-xr-x 1 laurent root 14640 Feb 25 2013 wmf2x
-rwxr-xr-x 1 laurent root 397848 Oct 1 2012 wodim
-rwxr-xr-x 1 laurent root 10376 Dec 15 2013 word-list-compress
-rwxr-xr-x 1 laurent root 133504 Jan 22 2014 wovp2ovf
-rwxr-xr-x 1 laurent root 48024 Mar 5 2014 wpa_passphrase
-rwxr-xr-x 1 laurent root 18872 Jan 7 2014 w.procps
-rwxr-xr-x 1 laurent root 221808 Apr 5 01:21 wrc
-rwxr-xr-x 1 laurent root 43896 Feb 19 2014 wrestool
lrwxrwxrwx 1 laurent root 23 May 29 2011 write -> /etc/alternatives/write
-rwxr-xr-x 1 laurent root 10312 Dec 19 2013 wrjpgcom
lrwxrwxrwx 1 laurent root 23 Apr 28 2012 wsgen -> /etc/alternatives/wsgen
lrwxrwxrwx 1 laurent root 26 Apr 28 2012 wsimport -> /etc/alternatives/wsimport
-rwxr-xr-x 1 laurent root 31864 Nov 1 2013 wvgain
-rwxr-xr-x 1 laurent root 43816 Nov 1 2013 wvunpack
lrwxrwxrwx 1 laurent root 29 Oct 9 2010 www-browser -> /etc/alternatives/www-browser
lrwxrwxrwx 1 root root 27 Sep 26 18:45 wx-config -> /etc/alternatives/wx-config
-rwxr-xr-x 1 root root 101824 Dec 2 2013 wxrc
-rwxr-xr-x 1 laurent root 10192 Jan 29 2014 X
lrwxrwxrwx 1 laurent root 1 Oct 9 2010 X11 -> .
-rwxr-xr-x 1 laurent root 138104 Jan 6 2014 x11perf
-rwxr-xr-x 1 laurent root 2807 Jan 6 2014 x11perfcomp
-rwxr-xr-x 1 laurent root 681464 Mar 24 2014 x264
lrwxrwxrwx 1 root root 7 Sep 25 20:54 x86_64 -> setarch
lrwxrwxrwx 1 laurent root 9 Apr 15 21:00 x86_64-linux-gnu-addr2line -> addr2line
lrwxrwxrwx 1 laurent root 2 Apr 15 21:00 x86_64-linux-gnu-ar -> ar
lrwxrwxrwx 1 laurent root 2 Apr 15 21:00 x86_64-linux-gnu-as -> as
lrwxrwxrwx 1 laurent root 7 Apr 15 21:00 x86_64-linux-gnu-c++filt -> c++filt
lrwxrwxrwx 1 laurent root 7 Apr 8 00:49 x86_64-linux-gnu-cpp -> cpp-4.8
lrwxrwxrwx 1 laurent root 7 Mar 20 2014 x86_64-linux-gnu-cpp-4.4 -> cpp-4.4
lrwxrwxrwx 1 laurent root 7 Mar 20 2014 x86_64-linux-gnu-cpp-4.6 -> cpp-4.6
lrwxrwxrwx 1 laurent root 7 Apr 5 12:55 x86_64-linux-gnu-cpp-4.8 -> cpp-4.8
lrwxrwxrwx 1 laurent root 3 Apr 15 21:00 x86_64-linux-gnu-dwp -> dwp
lrwxrwxrwx 1 laurent root 7 Apr 15 21:00 x86_64-linux-gnu-elfedit -> elfedit
lrwxrwxrwx 1 laurent root 7 Apr 8 00:50 x86_64-linux-gnu-g++ -> g++-4.8
lrwxrwxrwx 1 laurent root 7 Mar 20 2014 x86_64-linux-gnu-g++-4.4 -> g++-4.4
lrwxrwxrwx 1 laurent root 7 Mar 20 2014 x86_64-linux-gnu-g++-4.6 -> g++-4.6
lrwxrwxrwx 1 laurent root 7 Apr 5 13:05 x86_64-linux-gnu-g++-4.8 -> g++-4.8
lrwxrwxrwx 1 laurent root 7 Apr 8 00:49 x86_64-linux-gnu-gcc -> gcc-4.8
lrwxrwxrwx 1 laurent root 7 Mar 20 2014 x86_64-linux-gnu-gcc-4.4 -> gcc-4.4
lrwxrwxrwx 1 laurent root 7 Mar 20 2014 x86_64-linux-gnu-gcc-4.6 -> gcc-4.6
lrwxrwxrwx 1 laurent root 7 Apr 5 13:11 x86_64-linux-gnu-gcc-4.8 -> gcc-4.8
lrwxrwxrwx 1 laurent root 10 Apr 8 00:49 x86_64-linux-gnu-gcc-ar -> gcc-ar-4.8
lrwxrwxrwx 1 laurent root 10 Apr 5 13:11 x86_64-linux-gnu-gcc-ar-4.8 -> gcc-ar-4.8
lrwxrwxrwx 1 laurent root 10 Apr 8 00:49 x86_64-linux-gnu-gcc-nm -> gcc-nm-4.8
lrwxrwxrwx 1 laurent root 10 Apr 5 13:11 x86_64-linux-gnu-gcc-nm-4.8 -> gcc-nm-4.8
lrwxrwxrwx 1 laurent root 14 Apr 8 00:49 x86_64-linux-gnu-gcc-ranlib -> gcc-ranlib-4.8
lrwxrwxrwx 1 laurent root 14 Apr 5 13:11 x86_64-linux-gnu-gcc-ranlib-4.8 -> gcc-ranlib-4.8
lrwxrwxrwx 1 laurent root 8 Apr 8 00:49 x86_64-linux-gnu-gcov -> gcov-4.8
lrwxrwxrwx 1 laurent root 8 Apr 5 13:11 x86_64-linux-gnu-gcov-4.8 -> gcov-4.8
lrwxrwxrwx 1 laurent root 12 Apr 8 00:50 x86_64-linux-gnu-gfortran -> gfortran-4.8
lrwxrwxrwx 1 laurent root 12 Mar 20 2014 x86_64-linux-gnu-gfortran-4.6 -> gfortran-4.6
lrwxrwxrwx 1 laurent root 12 Apr 5 13:09 x86_64-linux-gnu-gfortran-4.8 -> gfortran-4.8
lrwxrwxrwx 1 laurent root 5 Apr 15 21:00 x86_64-linux-gnu-gprof -> gprof
lrwxrwxrwx 1 laurent root 2 Apr 15 21:00 x86_64-linux-gnu-ld -> ld
lrwxrwxrwx 1 laurent root 6 Apr 15 21:00 x86_64-linux-gnu-ld.bfd -> ld.bfd
lrwxrwxrwx 1 laurent root 7 Apr 15 21:00 x86_64-linux-gnu-ld.gold -> ld.gold
lrwxrwxrwx 1 laurent root 2 Apr 15 21:00 x86_64-linux-gnu-nm -> nm
lrwxrwxrwx 1 laurent root 7 Apr 15 21:00 x86_64-linux-gnu-objcopy -> objcopy
lrwxrwxrwx 1 laurent root 7 Apr 15 21:00 x86_64-linux-gnu-objdump -> objdump
-rwxr-xr-x 1 laurent root 2916 Mar 23 2014 x86_64-linux-gnu-python2.7-config
-rwxr-xr-x 1 laurent root 2885 Mar 23 2014 x86_64-linux-gnu-python2.7-dbg-config
lrwxrwxrwx 1 laurent root 34 Apr 11 16:15 x86_64-linux-gnu-python3.4-config -> x86_64-linux-gnu-python3.4m-config
lrwxrwxrwx 1 laurent root 35 Apr 11 16:15 x86_64-linux-gnu-python3.4-dbg-config -> x86_64-linux-gnu-python3.4dm-config
-rwxr-xr-x 1 laurent root 3179 Apr 11 16:15 x86_64-linux-gnu-python3.4dm-config
-rwxr-xr-x 1 laurent root 3192 Apr 11 16:13 x86_64-linux-gnu-python3.4m-config
lrwxrwxrwx 1 laurent root 33 Mar 23 2014 x86_64-linux-gnu-python3-config -> x86_64-linux-gnu-python3.4-config
lrwxrwxrwx 1 laurent root 37 Mar 23 2014 x86_64-linux-gnu-python3-dbg-config -> x86_64-linux-gnu-python3.4-dbg-config
lrwxrwxrwx 1 laurent root 35 Mar 23 2014 x86_64-linux-gnu-python3dm-config -> x86_64-linux-gnu-python3.4dm-config
lrwxrwxrwx 1 laurent root 34 Mar 23 2014 x86_64-linux-gnu-python3m-config -> x86_64-linux-gnu-python3.4m-config
lrwxrwxrwx 1 laurent root 33 Dec 21 2013 x86_64-linux-gnu-python-config -> x86_64-linux-gnu-python2.7-config
lrwxrwxrwx 1 laurent root 37 Dec 21 2013 x86_64-linux-gnu-python-dbg-config -> x86_64-linux-gnu-python2.7-dbg-config
lrwxrwxrwx 1 laurent root 6 Apr 15 21:00 x86_64-linux-gnu-ranlib -> ranlib
lrwxrwxrwx 1 laurent root 7 Apr 15 21:00 x86_64-linux-gnu-readelf -> readelf
lrwxrwxrwx 1 laurent root 4 Apr 15 21:00 x86_64-linux-gnu-size -> size
lrwxrwxrwx 1 laurent root 7 Apr 15 21:00 x86_64-linux-gnu-strings -> strings
lrwxrwxrwx 1 laurent root 5 Apr 15 21:00 x86_64-linux-gnu-strip -> strip
-rwxr-xr-x 1 laurent root 43624 Jan 6 2014 xargs
lrwxrwxrwx 1 laurent root 30 Jul 3 2013 xasy -> ../share/asymptote/GUI/xasy.py
-rwxr-xr-x 1 laurent root 40304 Dec 4 2012 xauth
-rwxr-xr-x 1 laurent root 17296 Jan 6 2014 xbiff
-rwxr-xr-x 1 laurent root 4906 Jan 7 2014 xbmc
-rwxr-xr-x 1 laurent root 1593 Jan 7 2014 xbmc-standalone
-rwxr-xr-x 1 laurent root 10336 Feb 7 2013 xbmtopbm
-rwxr-xr-x 1 laurent root 101792 Mar 31 23:22 xbrlapi
-rwxr-xr-x 1 laurent root 32848 Jan 6 2014 xcalc
-rwxr-xr-x 1 laurent root 55376 Mar 12 2014 xcf2png
-rwxr-xr-x 1 laurent root 55376 Mar 12 2014 xcf2pnm
-rwxr-xr-x 1 laurent root 695200 Oct 22 2013 xcfa
-rwxr-xr-x 1 laurent root 22608 Mar 12 2014 xcfinfo
-rwxr-xr-x 1 laurent root 1696 Mar 12 2014 xcfview
-rwxr-xr-x 1 laurent root 663648 Dec 26 2013 xchat
-rwxr-xr-x 1 laurent root 355840 Dec 26 2013 xchm
-rwxr-xr-x 1 laurent root 17120 Jan 6 2014 xclipboard
-rwxr-xr-x 1 laurent root 43312 Jan 6 2014 xclock
-rwxr-xr-x 1 laurent root 31728 Feb 17 2014 xcmsdb
-rwxr-xr-x 1 laurent root 16512 Jan 6 2014 xconsole
-rwxr-xr-x 1 laurent root 12648 Jan 6 2014 xcursorgen
-rwxr-xr-x 1 laurent root 11408 Jan 6 2014 xcutsel
-rwxr-xr-x 1 laurent root 15559 Jul 18 11:49 xdg-desktop-icon
-rwxr-xr-x 1 laurent root 38175 Jul 18 11:49 xdg-desktop-menu
-rwxr-xr-x 1 laurent root 21469 Jul 18 11:49 xdg-email
-rwxr-xr-x 1 laurent root 24667 Jul 18 11:49 xdg-icon-resource
-rwxr-xr-x 1 laurent root 34208 Jul 18 11:49 xdg-mime
-rwxr-xr-x 1 laurent root 13794 Jul 18 11:49 xdg-open
-rwxr-xr-x 1 laurent root 25432 Jul 18 11:49 xdg-screensaver
-rwxr-xr-x 1 laurent root 25565 Jul 18 11:49 xdg-settings
-rwxr-xr-x 1 laurent root 234 Apr 11 10:43 xdg-user-dir
-rwxr-xr-x 1 laurent root 19200 Jul 3 2013 xdg-user-dirs-gtk-update
-rwxr-xr-x 1 laurent root 18864 Apr 11 10:43 xdg-user-dirs-update
-rwxr-xr-x 1 laurent root 4597 Mar 23 2014 xdiagnose
-rwxr-xr-x 1 laurent root 88368 Jan 6 2014 xditview
-rwxr-xr-x 1 laurent root 32208 Aug 16 2013 xdpyinfo
-rwxr-xr-x 1 laurent root 10376 Aug 16 2013 xdriinfo
-rwxr-xr-x 1 laurent root 122117 Feb 12 2012 xdvdshrink.pl
-rwxr-xr-x 1 laurent root 3031 Jan 22 2014 xdvi
lrwxrwxrwx 1 laurent root 26 Sep 14 15:38 xdvi.bin -> /etc/alternatives/xdvi.bin
-rwxr-xr-x 1 laurent root 631000 Jan 22 2014 xdvipdfmx
-rwxr-xr-x 1 laurent root 623632 Jan 22 2014 xdvi-xaw
-rwxr-xr-x 1 laurent root 7312 Mar 23 2014 xedid
-rwxr-xr-x 1 laurent root 621544 Jan 6 2014 xedit
lrwxrwxrwx 1 laurent root 5 Feb 17 2014 xelatex -> xetex
-rwxr-xr-x 1 laurent root 2150888 Jul 30 02:24 Xephyr
-rwxr-xr-x 1 laurent root 665736 Jan 22 2014 xetex
-rwxr-xr-x 1 laurent root 27304 Aug 16 2013 xev
-rwxr-xr-x 1 laurent root 20944 Jan 6 2014 xeyes
-rwxr-xr-x 1 laurent root 28936 Aug 16 2013 xfd
-rwxr-xr-x 1 laurent root 37184 Aug 16 2013 xfontsel
-rwxr-xr-x 1 laurent root 610312 Oct 29 2013 xfreerdp
-rwxr-xr-x 1 laurent root 6936 Jan 6 2014 xfsinfo
-rwxr-xr-x 1 laurent root 10432 Feb 17 2014 xgamma
-rwxr-xr-x 1 laurent root 61192 Jan 6 2014 xgc
-rwxr-xr-x 1 laurent root 263304 Apr 28 17:43 xgettext
-rwxr-xr-x 1 laurent root 14728 Feb 17 2014 xhost
-rwxr-xr-x 1 laurent root 56592 Dec 3 2013 xhydra
-rwxr-xr-x 1 laurent root 14496 Feb 7 2013 ximtoppm
-rwxr-xr-x 1 laurent root 907008 Jun 10 2012 xine
-rwxr-xr-x 1 laurent root 10424 Jan 14 2014 xine-list-1.1
-rwxr-xr-x 1 laurent root 10424 Feb 26 2014 xine-list-1.2
-rwxr-xr-x 1 laurent root 23040 Jun 10 2012 xine-remote
-rwxr-xr-x 1 laurent root 18912 Jun 18 2012 xinit
-rwxr-xr-x 1 laurent root 48544 Jan 21 2014 xinput
lrwxrwxrwx 1 laurent root 21 Apr 28 2012 xjc -> /etc/alternatives/xjc
-rwxr-xr-x 1 laurent root 9944 Jan 6 2014 xkbbell
-rwxr-xr-x 1 laurent root 201784 Jan 6 2014 xkbcomp
-rwxr-xr-x 1 laurent root 31704 Jan 6 2014 xkbevd
-rwxr-xr-x 1 laurent root 97912 Jan 6 2014 xkbprint
-rwxr-xr-x 1 laurent root 17792 Jan 6 2014 xkbvleds
-rwxr-xr-x 1 laurent root 16096 Jan 6 2014 xkbwatch
-rwxr-xr-x 1 laurent root 14659 Feb 17 2014 xkeystone
-rwxr-xr-x 1 laurent root 14640 Aug 16 2013 xkill
-rwxr-xr-x 1 laurent root 1159 Oct 25 2013 xliff2odf
-rwxr-xr-x 1 laurent root 1085 Oct 25 2013 xliff2oo
-rwxr-xr-x 1 laurent root 930 Oct 25 2013 xliff2po
-rwxr-xr-x 1 laurent root 16016 Jan 6 2014 xload
-rwxr-xr-x 1 laurent root 16880 Jan 6 2014 xlogo
-rwxr-xr-x 1 laurent root 10472 Aug 16 2013 xlsatoms
-rwxr-xr-x 1 laurent root 14648 Aug 16 2013 xlsclients
-rwxr-xr-x 1 laurent root 18784 Aug 16 2013 xlsfonts
-rwxr-xr-x 1 laurent root 38320 Jan 6 2014 xmag
-rwxr-xr-x 1 laurent root 58192 Jan 6 2014 xman
-rwxr-xr-x 1 laurent root 19744 Aug 16 2013 xmessage
-rwxr-xr-x 1 laurent root 1638 Jun 13 15:04 xml2-config
-rwxr-xr-x 1 laurent root 7206 Feb 23 2014 xml2po
-rwxr-xr-x 1 laurent root 112 Jun 30 2011 xml2py
-rwxr-xr-x 1 laurent root 18432 Jun 13 15:04 xmlcatalog
-rwxr-xr-x 1 laurent root 64336 Jun 13 15:04 xmllint
lrwxrwxrwx 1 laurent root 9 Feb 19 2014 xmlpatterns -> qtchooser
lrwxrwxrwx 1 laurent root 9 Feb 19 2014 xmlpatternsvalidator -> qtchooser
-rwxr-xr-x 1 laurent root 31552 Feb 17 2014 xmodmap
-rwxr-xr-x 1 laurent root 11184 Jan 6 2014 xmore
-rwxr-xr-x 1 laurent root 2331776 Jul 30 02:23 Xorg
-rwxr-xr-x 1 laurent root 4961 Jan 18 2010 xpath
-rwxr-xr-x 1 laurent root 2966 Mar 23 2014 xpci
lrwxrwxrwx 1 laurent root 34 Sep 1 2011 xpcshell-1.9.2 -> ../lib/xulrunner-1.9.2.21/xpcshell
-rwxr-xr-x 1 laurent root 14648 Feb 7 2013 xpmtoppm
-rwxr-xr-x 1 laurent root 37808 Aug 16 2013 xprop
-rwxr-xr-x 1 laurent root 14688 Feb 19 2014 xqxdecode
-rwxr-xr-x 1 laurent root 56024 Feb 17 2014 xrandr
-rwxr-xr-x 1 laurent root 4068 Mar 23 2014 xrandr-tool
-rwxr-xr-x 1 root root 68 Feb 25 2014 xrced
-rwxr-xr-x 1 laurent root 27208 Feb 17 2014 xrdb
-rwxr-xr-x 1 laurent root 10440 Feb 17 2014 xrefresh
-rwxr-xr-x 1 laurent root 2809 Sep 2 2013 xrotate
-rwxr-xr-x 1 laurent root 654360 Jun 5 2013 xsane
-rwxr-xr-x 1 laurent root 123520 Jul 17 2013 xscreensaver-getimage
-rwxr-xr-x 1 laurent root 26119 Jul 17 2013 xscreensaver-getimage-file
-rwxr-xr-x 1 laurent root 5299 Jul 17 2013 xscreensaver-getimage-video
-rwxr-xr-x 1 laurent root 22848 Jul 17 2013 xscreensaver-gl-helper
-rwxr-xr-x 1 laurent root 28811 Jul 17 2013 xscreensaver-text
lrwxrwxrwx 1 laurent root 35 Oct 9 2010 x-session-manager -> /etc/alternatives/x-session-manager
-rwxr-xr-x 1 laurent root 31336 Feb 17 2014 xset
-rwxr-xr-x 1 laurent root 10424 Feb 17 2014 xsetmode
-rwxr-xr-x 1 laurent root 10432 Feb 17 2014 xsetpointer
-rwxr-xr-x 1 laurent root 18792 Feb 17 2014 xsetroot
-rwxr-xr-x 1 laurent root 44248 Feb 5 2014 xsetwacom
-rwxr-xr-x 1 laurent root 22528 Feb 23 2014 xsltproc
-rwxr-xr-x 1 laurent root 85664 Jan 6 2014 xsm
-rwxr-xr-x 1 laurent root 15152 Feb 17 2014 xstdcmap
-rwxr-xr-x 1 laurent root 4556 Mar 27 2014 xsubpp
-rwxr-xr-x 1 laurent root 511064 Oct 29 2013 xterm
lrwxrwxrwx 1 laurent root 37 Oct 9 2010 x-terminal-emulator -> /etc/alternatives/x-terminal-emulator
lrwxrwxrwx 1 laurent root 27 Sep 1 2011 xulrunner -> /etc/alternatives/xulrunner
lrwxrwxrwx 1 laurent root 35 Sep 1 2011 xulrunner-1.9.2 -> ../lib/xulrunner-1.9.2.21/xulrunner
-rwxr-xr-x 1 laurent root 32704 Feb 17 2014 xvidtune
-rwxr-xr-x 1 laurent root 14576 Aug 16 2013 xvinfo
-rwxr-xr-x 1 laurent root 10328 Feb 7 2013 xvminitoppm
-rwxr-xr-x 1 laurent root 25888 Jan 6 2014 xwd
-rwxr-xr-x 1 laurent root 18600 Feb 7 2013 xwdtopnm
lrwxrwxrwx 1 laurent root 34 Oct 9 2010 x-window-manager -> /etc/alternatives/x-window-manager
-rwxr-xr-x 1 laurent root 39616 Aug 16 2013 xwininfo
-rwxr-xr-x 1 laurent root 23464 Jan 6 2014 xwud
lrwxrwxrwx 1 laurent root 31 Jan 14 2012 x-www-browser -> /etc/alternatives/x-www-browser
-rwxr-xr-x 1 laurent root 14736 Jan 2 2014 xxd
-rwxr-xr-x 1 laurent root 237224 Dec 29 2013 xxxterm
-rwxr-xr-x 1 laurent root 68648 Feb 12 2014 xz
lrwxrwxrwx 1 laurent root 2 Feb 12 2014 xzcat -> xz
lrwxrwxrwx 1 laurent root 6 Feb 12 2014 xzcmp -> xzdiff
-rwxr-xr-x 1 laurent root 5518 Feb 12 2014 xzdiff
lrwxrwxrwx 1 laurent root 6 Feb 12 2014 xzegrep -> xzgrep
lrwxrwxrwx 1 laurent root 6 Feb 12 2014 xzfgrep -> xzgrep
-rwxr-xr-x 1 laurent root 5421 Feb 12 2014 xzgrep
-rwxr-xr-x 1 laurent root 1825 Feb 12 2014 xzless
-rwxr-xr-x 1 laurent root 2168 Feb 12 2014 xzmore
-rwxr-xr-x 1 laurent root 18984 Nov 22 2013 y4mcolorbars
-rwxr-xr-x 1 laurent root 138128 Nov 22 2013 y4mdenoise
-rwxr-xr-x 1 laurent root 125800 Nov 22 2013 y4mscaler
-rwxr-xr-x 1 laurent root 18800 Nov 22 2013 y4mtopnm
-rwxr-xr-x 1 laurent root 18792 Nov 22 2013 y4mtoppm
-rwxr-xr-x 1 laurent root 18848 Nov 22 2013 y4munsharp
-rwxr-xr-x 1 laurent root 168672 Apr 11 17:13 yad
-rwxr-xr-x 1 laurent root 64208 Feb 19 2014 yafaray-xml
-rwxr-xr-x 1 laurent root 205928 Oct 15 2010 yafray
-rwxr-xr-x 1 laurent root 657192 Oct 10 2013 yasm
-rwxr-xr-x 1 laurent root 10312 Feb 7 2013 ybmtopbm
-rwxr-xr-x 1 laurent root 52984 Mar 10 2014 yelp
-rwxr-xr-x 1 laurent root 27200 Mar 24 2014 yes
-rwxr-xr-x 1 laurent root 87 Jul 22 11:24 youtube-dl
-rwxr-xr-x 1 laurent root 648808 Oct 10 2013 ytasm
-rwxr-xr-x 1 laurent root 18920 Nov 22 2013 yuv2lav
-rwxr-xr-x 1 laurent root 10608 Nov 22 2013 yuv4mpeg
-rwxr-xr-x 1 laurent root 35232 Nov 22 2013 yuvcorrect
-rwxr-xr-x 1 laurent root 43416 Nov 22 2013 yuvcorrect_tune
-rwxr-xr-x 1 laurent root 27104 Nov 22 2013 yuvdeinterlace
-rwxr-xr-x 1 laurent root 31104 Nov 22 2013 yuvdenoise
-rwxr-xr-x 1 laurent root 18808 Nov 22 2013 yuvfps
-rwxr-xr-x 1 laurent root 18776 Nov 22 2013 yuvinactive
-rwxr-xr-x 1 laurent root 39504 Nov 22 2013 yuvkineco
-rwxr-xr-x 1 laurent root 18848 Nov 22 2013 yuvmedianfilter
-rwxr-xr-x 1 laurent root 14824 Nov 22 2013 yuvplay
-rwxr-xr-x 1 laurent root 10336 Feb 7 2013 yuvsplittoppm
-rwxr-xr-x 1 laurent root 10336 Feb 7 2013 yuvtoppm
-rwxr-xr-x 1 laurent root 23008 Nov 22 2013 yuvycsnoise
-rwxr-xr-x 1 laurent root 2817 Aug 14 2012 zconfig
-rwxr-xr-x 1 laurent root 3561 Aug 14 2012 zconfig_schema2html
-rwxr-xr-x 1 laurent root 301 Jun 14 2012 zdaemon
-rwxr-xr-x 1 laurent root 14648 Aug 28 08:02 zdump
-rwxr-xr-x 1 laurent root 10320 Feb 7 2013 zeisstopnm
-rwxr-xr-x 1 laurent root 201736 Jan 15 2014 zeitgeist-daemon
-rwxr-xr-x 1 laurent root 127464 Jan 15 2014 zeitgeist-datahub
-rwxr-xr-x 1 laurent root 100784 Apr 7 11:29 zenity
-rwxr-xr-x 1 laurent root 297 Dec 17 2013 zeoctl
-rwxr-xr-x 1 laurent root 299 Dec 17 2013 zeopack
-rwxr-xr-x 1 laurent root 303 Dec 17 2013 zeopasswd
-rwxr-xr-x 1 laurent root 188296 Oct 21 2013 zip
-rwxr-xr-x 1 laurent root 86096 Oct 21 2013 zipcloak
-rwxr-xr-x 1 laurent root 48078 Mar 27 2014 zipdetails
-rwxr-xr-x 1 laurent root 2953 May 13 2013 zipgrep
-rwxr-xr-x 2 laurent root 158392 May 13 2013 zipinfo
-rwxr-xr-x 1 laurent root 81704 Oct 21 2013 zipnote
-rwxr-xr-x 1 laurent root 81704 Oct 21 2013 zipsplit
-rwxr-xr-x 1 laurent root 27000 Feb 19 2014 zjsdecode
-rwxr-xr-x 1 laurent root 10336 Jan 15 2014 zlib-flate
-rwxr-xr-x 1 laurent root 342 Feb 23 2014 zope-testrunner
-rwxr-xr-x 1 root root 47424 Sep 23 18:43 zsoelim
laurent@laurent-desktop:~$
Dernière modification par laurentvv (Le 27/09/2014, à 08:52)
Hors ligne
#29 Le 27/09/2014, à 09:13
- pingouinux
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
Ce que tu montres en #28 est le résultat de quelle commande ? Qu'as-tu fait auparavant ? Notamment, as-tu exécuté (dans l'ordre), ce que je t'ai suggéré en #26 ?
Hors ligne
#30 Le 27/09/2014, à 09:38
- laurentvv
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
j'ai refait ce que j'avais fait en 4 : en mode recovery, root:
mount -o rw,remount /
chmod 4755 /usr/bin/sudo
exit
Puis j'ai redémarré normalement et copier/coller le script en sudo.
Hors ligne
#31 Le 27/09/2014, à 10:55
- pingouinux
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
Normalement, l'étape n° 1 est faite
Puis j'ai redémarré normalement et copier/coller le script en sudo.
Il faut exécuter le script en sudo. Tu peux éditer un fichier (par exemple restaurer_permissions), éventuellement dans ton home. Tu y mets le contenu du script fourni en #26.
Ensuite
chmod 700 ./restaurer_permissions
sudo ./restaurer_permissions >/tmp/restau.log 2>&1
et les messages éventuels seront dans le fichier /tmp/restau.log
Hors ligne
#32 Le 27/09/2014, à 11:00
- laurentvv
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
messages de /tmp/restau.log :
chown: cannot dereference ‘/usr/bin/pluginappletviewer’: No such file or directory
chmod: cannot operate on dangling symlink ‘/usr/bin/pluginappletviewer’
/usr/bin/procmail inconnu
/usr/bin/lockfile inconnu
retour de
ls -ld /usr/bin
:
drwxr-xr-x 2 root root 135168 Sep 27 09:56 /usr/bin
donc là, c'est bon.
retour de
find /usr/bin ! -group root -ls
:
11019598 36 -rwxr-sr-x 1 root crontab 35984 Feb 9 2013 /usr/bin/crontab
11011119 16 -rwxr-sr-x 3 root mail 14592 Dec 4 2012 /usr/bin/mail-touchlock
11011119 16 -rwxr-sr-x 3 root mail 14592 Dec 4 2012 /usr/bin/mail-lock
11014124 16 -rwxr-sr-x 1 root mail 14856 Dec 7 2013 /usr/bin/dotlockfile
11033701 16 -rwsr-xr-x 1 root lpadmin 14336 Sep 5 22:17 /usr/bin/lppasswd
11011119 16 -rwxr-sr-x 3 root mail 14592 Dec 4 2012 /usr/bin/mail-unlock
11010078 20 -rwxr-sr-x 1 root tty 19024 Sep 25 20:55 /usr/bin/wall
11012239 16 -rwxr-sr-x 1 root tty 14688 Jun 4 2013 /usr/bin/bsd-write
11033967 56 -rwxr-sr-x 1 root shadow 54968 Feb 17 2014 /usr/bin/chage
11011288 412 -rwxr-sr-x 1 root utmp 421768 Nov 7 2013 /usr/bin/screen
11010761 40 -rwxr-sr-x 1 root mlocate 39520 Jun 20 2013 /usr/bin/mlocate
11020474 628 -rwxr-xr-x 1 root kismet 642000 Nov 12 2013 /usr/bin/kismet_capture
11029569 52 -rwsr-sr-x 1 daemon daemon 51464 Oct 21 2013 /usr/bin/at
11019933 280 -rwxr-sr-x 1 root ssh 284784 May 12 18:04 /usr/bin/ssh-agent
11033958 24 -rwxr-sr-x 1 root shadow 23360 Feb 17 2014 /usr/bin/expiry
Synaptic remarche !!!
Dernière modification par laurentvv (Le 27/09/2014, à 11:16)
Hors ligne
#33 Le 27/09/2014, à 11:17
- pingouinux
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
chown: cannot dereference ‘/usr/bin/pluginappletviewer’: No such file or directory
chmod: cannot operate on dangling symlink ‘/usr/bin/pluginappletviewer’
C'est un lien qui pointe sur un fichier inexistant. C'est identique chez moi.
/usr/bin/procmail inconnu
/usr/bin/lockfile inconnu
C'est donc que ces 2 fichiers existent chez moi mais pas chez toi : sans doute quelque chose que j'ai installé.
On va vérifier s'il reste des fichiers qui ne sont pas root:root (il est normal qu'il y en ait quelques uns)
(pas de sudo pour ces 2 commandes)
find /usr/bin ! \( -user root -group root \) -ls
et des fichiers qui ne sont pas en rwxr-xr-x (il est normal aussi qu'il y en ait)
find -L /usr/bin ! -perm 755 -ls
Je viens de voir que tu as modifié ton message précédent, et que tu as déjà donné une partie des informations.
Hors ligne
#34 Le 27/09/2014, à 11:26
- laurentvv
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
retour de
find /usr/bin ! \( -user root -group root \) -ls
h-askpass -> /etc/alternatives/ssh-askpass
11024198 0 lrwxrwxrwx 1 laurent root 7 Aug 12 16:07 /usr/bin/muinshee -> banshee
11042071 0 lrwxrwxrwx 1 laurent root 7 Jan 22 2014 /usr/bin/ovf2ovp -> omfonts
11010181 0 lrwxrwxrwx 1 laurent root 21 Oct 9 2010 /usr/bin/c89 -> /etc/alternatives/c89
11065990 0 lrwxrwxrwx 1 laurent root 4 Apr 5 01:19 /usr/bin/wine-auto -> wine
11011084 0 lrwxrwxrwx 1 laurent root 24 Oct 9 2010 /usr/bin/rlogin -> /etc/alternatives/rlogin
11033835 0 lrwxrwxrwx 1 laurent root 23 May 13 20:47 /usr/bin/hp-hpdio -> ../share/hplip/hpdio.py
11020126 0 lrwxrwxrwx 1 laurent root 6 Feb 17 2014 /usr/bin/ctstat -> lnstat
11010130 0 lrwxrwxrwx 1 laurent root 21 Oct 9 2010 /usr/bin/awk -> /etc/alternatives/awk
11081756 0 lrwxrwxrwx 1 laurent root 53 Feb 20 2014 /usr/bin/findhyph -> ../share/texlive/texmf-dist/scripts/findhyph/findhyph
11019737 0 lrwxrwxrwx 1 laurent root 26 Oct 9 2010 /usr/bin/fakeroot -> /etc/alternatives/fakeroot
11030909 0 lrwxrwxrwx 1 laurent root 30 Apr 28 2012 /usr/bin/fpclasschart -> /etc/alternatives/fpclasschart
11016583 0 lrwxrwxrwx 1 laurent root 4 Oct 2 2012 /usr/bin/gksudo -> gksu
11010376 0 lrwxrwxrwx 1 laurent root 20 Oct 9 2010 /usr/bin/ex -> /etc/alternatives/ex
11018226 0 lrwxrwxrwx 1 laurent root 47 Sep 14 17:39 /usr/bin/fgl_glxgears -> /etc/alternatives/x86_64-linux-gnu_fgl_glxgears
11031098 0 lrwxrwxrwx 1 laurent root 23 Apr 28 2012 /usr/bin/jinfo -> /etc/alternatives/jinfo
11063432 0 lrwxrwxrwx 1 laurent root 37 Mar 23 2014 /usr/bin/python2.7-dbg-config -> x86_64-linux-gnu-python2.7-dbg-config
11012483 0 lrwxrwxrwx 1 laurent root 2 Feb 12 2014 /usr/bin/xzcat -> xz
11013797 0 lrwxrwxrwx 1 laurent root 7 Mar 20 2014 /usr/bin/x86_64-linux-gnu-cpp-4.4 -> cpp-4.4
11022660 0 lrwxrwxrwx 1 laurent root 22 Sep 14 17:59 /usr/bin/ifpc -> /etc/alternatives/ifpc
11015736 0 lrwxrwxrwx 1 laurent root 37 Aug 19 18:58 /usr/bin/snmpc -> ../lib/erlang/lib/snmp-4.25/bin/snmpc
11018147 0 lrwxrwxrwx 1 laurent root 41 Sep 14 17:39 /usr/bin/atiode -> /etc/alternatives/x86_64-linux-gnu_atiode
11028681 0 lrwxrwxrwx 1 laurent root 34 Jun 25 2013 /usr/bin/lazarus-ide-1.0.10 -> ../lib/lazarus/1.0.10/startlazarus
11010964 0 lrwxrwxrwx 1 laurent root 22 Oct 9 2010 /usr/bin/pico -> /etc/alternatives/pico
11031683 0 lrwxrwxrwx 1 laurent root 57 Feb 17 2014 /usr/bin/updmap-sys -> ../share/texlive/texmf-dist/scripts/texlive/updmap-sys.sh
11011595 0 lrwxrwxrwx 1 laurent root 12 Mar 20 2014 /usr/bin/x86_64-linux-gnu-gfortran-4.6 -> gfortran-4.6
11011241 0 lrwxrwxrwx 1 laurent root 24 May 12 17:47 /usr/bin/gdebi-gtk -> ../share/gdebi/gdebi-gtk
11032047 0 lrwxrwxrwx 1 laurent root 61 Feb 17 2014 /usr/bin/checkcites -> ../share/texlive/texmf-dist/scripts/checkcites/checkcites.lua
11026267 0 lrwxrwxrwx 1 laurent root 20 Sep 14 17:49 /usr/bin/fp -> /etc/alternatives/fp
11011100 0 lrwxrwxrwx 1 laurent root 23 Oct 9 2010 /usr/bin/rview -> /etc/alternatives/rview
11030895 0 lrwxrwxrwx 1 laurent root 26 Apr 28 2012 /usr/bin/ppufiles -> /etc/alternatives/ppufiles
11017888 0 lrwxrwxrwx 1 laurent root 43 Sep 14 17:39 /usr/bin/atiodcli -> /etc/alternatives/x86_64-linux-gnu_atiodcli
11030144 0 lrwxrwxrwx 1 laurent root 10 Apr 5 13:11 /usr/bin/x86_64-linux-gnu-gcc-nm-4.8 -> gcc-nm-4.8
11081759 0 lrwxrwxrwx 1 laurent root 52 Feb 20 2014 /usr/bin/a2ping -> ../share/texlive/texmf-dist/scripts/a2ping/a2ping.pl
11010738 0 lrwxrwxrwx 1 laurent root 57 Feb 17 2014 /usr/bin/cachepic -> ../share/texlive/texmf-dist/scripts/cachepic/cachepic.tlu
11031675 0 lrwxrwxrwx 1 laurent root 63 Feb 17 2014 /usr/bin/texconfig-dialog -> ../share/texlive/texmf-dist/scripts/texlive/texconfig-dialog.sh
11031092 0 lrwxrwxrwx 1 laurent root 25 Apr 28 2012 /usr/bin/javadoc -> /etc/alternatives/javadoc
11021034 0 lrwxrwxrwx 1 laurent root 7 Dec 30 2013 /usr/bin/shninfo -> shntool
11065124 0 lrwxrwxrwx 1 laurent root 4 Apr 15 21:00 /usr/bin/x86_64-linux-gnu-size -> size
11033847 0 lrwxrwxrwx 1 laurent root 22 May 13 20:47 /usr/bin/hp-info -> ../share/hplip/info.py
11031125 0 lrwxrwxrwx 1 laurent root 32 Apr 28 2012 /usr/bin/itweb-settings -> /etc/alternatives/itweb-settings
11030905 0 lrwxrwxrwx 1 laurent root 23 Apr 28 2012 /usr/bin/pyacc -> /etc/alternatives/pyacc
11023404 0 lrwxrwxrwx 1 laurent root 13 Jan 14 2014 /usr/bin/avahi-publish-service -> avahi-publish
11023158 0 lrwxrwxrwx 1 laurent root 23 Sep 14 17:49 /usr/bin/winff -> /etc/alternatives/winff
11012005 0 lrwxrwxrwx 1 laurent root 28 Apr 28 2012 /usr/bin/servertool -> /etc/alternatives/servertool
11023172 0 lrwxrwxrwx 1 laurent root 21 Sep 14 17:49 /usr/bin/fpc -> /etc/alternatives/fpc
11034148 0 lrwxrwxrwx 1 laurent root 9 Feb 19 2014 /usr/bin/qml1plugindump -> qtchooser
11039609 0 lrwxrwxrwx 1 laurent root 29 Sep 14 18:03 /usr/bin/mp3-decoder -> /etc/alternatives/mp3-decoder
11065121 0 lrwxrwxrwx 1 laurent root 7 Apr 15 21:00 /usr/bin/x86_64-linux-gnu-objdump -> objdump
11033366 0 lrwxrwxrwx 1 laurent root 9 Feb 19 2014 /usr/bin/qhelpconverter -> qtchooser
11028680 0 lrwxrwxrwx 1 laurent root 34 Jun 25 2013 /usr/bin/startlazarus-1.0.10 -> ../lib/lazarus/1.0.10/startlazarus
11017343 0 lrwxrwxrwx 1 laurent root 6 Feb 20 2014 /usr/bin/gv2gxl -> gxl2gv
11081721 0 lrwxrwxrwx 1 laurent root 53 Feb 20 2014 /usr/bin/de-macro -> ../share/texlive/texmf-dist/scripts/de-macro/de-macro
11031097 0 lrwxrwxrwx 1 laurent root 22 Apr 28 2012 /usr/bin/jhat -> /etc/alternatives/jhat
11034395 0 lrwxrwxrwx 1 laurent root 7 Apr 8 00:50 /usr/bin/g++ -> g++-4.8
11031107 0 lrwxrwxrwx 1 laurent root 22 Apr 28 2012 /usr/bin/rmic -> /etc/alternatives/rmic
11010580 0 lrwxrwxrwx 1 laurent root 41 Oct 9 2010 /usr/bin/gstreamer-codec-install -> /etc/alternatives/gstreamer-codec-install
11015287 0 lrwxrwxrwx 1 laurent root 8 Mar 6 2014 /usr/bin/tclsh -> tclsh8.6
11030897 0 lrwxrwxrwx 1 laurent root 25 Apr 28 2012 /usr/bin/ppumove -> /etc/alternatives/ppumove
11017345 0 lrwxrwxrwx 1 laurent root 6 Feb 20 2014 /usr/bin/gxl2dot -> gxl2gv
11027018 0 lrwxrwxrwx 1 laurent root 30 Apr 23 2013 /usr/bin/griffith -> ../share/griffith/lib/griffith
11020128 0 lrwxrwxrwx 1 laurent root 7 Mar 6 2014 /usr/bin/wish -> wish8.6
11011308 0 lrwxrwxrwx 1 laurent root 26 Oct 9 2010 /usr/bin/updatedb -> /etc/alternatives/updatedb
11020015 0 lrwxrwxrwx 1 laurent root 2 Dec 22 2013 /usr/bin/identify -> gm
11081727 0 lrwxrwxrwx 1 laurent root 66 Feb 20 2014 /usr/bin/adhocfilelist -> ../share/texlive/texmf-dist/scripts/adhocfilelist/adhocfilelist.sh
11081732 0 lrwxrwxrwx 1 laurent root 49 Feb 20 2014 /usr/bin/pdf180 -> ../share/texlive/texmf-dist/scripts/pdfjam/pdf180
11011875 0 lrwxrwxrwx 1 laurent root 9 Feb 19 2014 /usr/bin/rcc -> qtchooser
11015067 0 lrwxrwxrwx 1 laurent root 9 Feb 15 2014 /usr/bin/ruby -> ruby1.9.1
11017710 0 lrwxrwxrwx 1 laurent root 25 Sep 23 18:28 /usr/bin/ebrowse -> /etc/alternatives/ebrowse
11049988 0 lrwxrwxrwx 1 laurent root 21 Dec 19 2013 /usr/bin/scrollkeeper-get-toc-from-id -> rarian-sk-get-scripts
11028869 0 lrwxrwxrwx 1 laurent root 22 Feb 21 2012 /usr/bin/mail -> /etc/alternatives/mail
11065129 0 lrwxrwxrwx 1 laurent root 7 Apr 15 21:00 /usr/bin/x86_64-linux-gnu-c++filt -> c++filt
11034141 0 lrwxrwxrwx 1 laurent root 9 Feb 19 2014 /usr/bin/qmlscene -> qtchooser
11013251 0 lrwxrwxrwx 1 laurent root 24 Apr 28 2012 /usr/bin/javaws -> /etc/alternatives/javaws
11031688 0 lrwxrwxrwx 1 laurent root 56 Feb 17 2014 /usr/bin/texdoctk -> ../share/texlive/texmf-dist/scripts/texdoctk/texdoctk.pl
11081712 0 lrwxrwxrwx 1 laurent root 56 Feb 20 2014 /usr/bin/texcount -> ../share/texlive/texmf-dist/scripts/texcount/texcount.pl
11081753 0 lrwxrwxrwx 1 laurent root 59 Feb 20 2014 /usr/bin/pdfjam-pocketmod -> ../share/texlive/texmf-dist/scripts/pdfjam/pdfjam-pocketmod
11032950 0 lrwxrwxrwx 1 laurent root 34 Apr 11 16:15 /usr/bin/x86_64-linux-gnu-python3.4-config -> x86_64-linux-gnu-python3.4m-config
11042026 0 lrwxrwxrwx 1 laurent root 6 Feb 17 2014 /usr/bin/lualatex -> luatex
11013159 0 lrwxrwxrwx 1 laurent root 4 Jun 4 2013 /usr/bin/cal -> ncal
11011091 0 lrwxrwxrwx 1 laurent root 21 Oct 9 2010 /usr/bin/rsh -> /etc/alternatives/rsh
11011451 0 lrwxrwxrwx 1 laurent root 23 Jan 22 2014 /usr/bin/ppcx64-2.6.2 -> ../lib/fpc/2.6.2/ppcx64
11072792 0 lrwxrwxrwx 1 laurent root 65 Feb 20 2014 /usr/bin/texloganalyser -> ../share/texlive/texmf-dist/scripts/texloganalyser/texloganalyser
11024212 0 lrwxrwxrwx 1 laurent root 5 Jul 29 17:21 /usr/bin/byobu-tmux -> byobu
11011237 0 lrwxrwxrwx 1 laurent root 24 Oct 9 2010 /usr/bin/telnet -> /etc/alternatives/telnet
11027019 0 lrwxrwxrwx 1 laurent root 34 May 15 21:03 /usr/bin/grub-ntldr-img -> ../lib/grub/i386-pc/grub-ntldr-img
11031093 0 lrwxrwxrwx 1 laurent root 23 Apr 28 2012 /usr/bin/javah -> /etc/alternatives/javah
11011657 0 lrwxrwxrwx 1 laurent root 8 Feb 15 2014 /usr/bin/gem -> gem1.9.1
11021030 0 lrwxrwxrwx 1 laurent root 7 Dec 30 2013 /usr/bin/shngen -> shntool
11081713 0 lrwxrwxrwx 1 laurent root 54 Feb 20 2014 /usr/bin/pslatex -> ../share/texlive/texmf-dist/scripts/texlive/pslatex.sh
11037332 0 lrwxrwxrwx 1 laurent root 6 Oct 10 2013 /usr/bin/mlabel -> mtools
11031089 0 lrwxrwxrwx 1 laurent root 22 Apr 28 2012 /usr/bin/idlj -> /etc/alternatives/idlj
11010339 0 lrwxrwxrwx 1 laurent root 24 Oct 9 2010 /usr/bin/editor -> /etc/alternatives/editor
11011288 412 -rwxr-sr-x 1 root utmp 421768 Nov 7 2013 /usr/bin/screen
11021674 0 lrwxrwxrwx 1 laurent root 20 Apr 8 02:23 /usr/bin/ant -> ../share/ant/bin/ant
11021747 0 lrwxrwxrwx 1 laurent root 13 Feb 18 2013 /usr/bin/loadkeys -> /bin/loadkeys
11012478 0 lrwxrwxrwx 1 laurent root 6 Feb 12 2014 /usr/bin/xzfgrep -> xzgrep
11017114 0 lrwxrwxrwx 1 laurent root 7 Apr 8 00:49 /usr/bin/cpp -> cpp-4.8
11031096 0 lrwxrwxrwx 1 laurent root 21 Apr 28 2012 /usr/bin/jdb -> /etc/alternatives/jdb
11018719 0 lrwxrwxrwx 1 laurent root 2 Feb 12 2014 /usr/bin/unxz -> xz
11036596 0 lrwxrwxrwx 1 laurent root 7 Feb 20 2014 /usr/bin/rpdfcrop -> pdfcrop
11074977 0 lrwxrwxrwx 1 laurent root 13 Mar 23 2014 /usr/bin/python3-dbg -> python3.4-dbg
11047272 0 lrwxrwxrwx 1 laurent root 3 Oct 21 2013 /usr/bin/rpmquery -> rpm
11034393 0 lrwxrwxrwx 1 laurent root 7 Apr 5 13:05 /usr/bin/x86_64-linux-gnu-g++-4.8 -> g++-4.8
11042080 0 lrwxrwxrwx 1 laurent root 53 Feb 20 2014 /usr/bin/autoinst -> ../share/texlive/texmf-dist/scripts/fontools/autoinst
11034164 0 lrwxrwxrwx 1 laurent root 9 Feb 19 2014 /usr/bin/lrelease -> qtchooser
11072794 0 lrwxrwxrwx 1 laurent root 51 Feb 20 2014 /usr/bin/ot2kpx -> ../share/texlive/texmf-dist/scripts/fontools/ot2kpx
11012525 0 lrwxrwxrwx 1 laurent root 19 Oct 22 2013 /usr/bin/gaupol -> ../share/gaupol/run
11034155 0 lrwxrwxrwx 1 laurent root 9 Feb 19 2014 /usr/bin/qmlplugindump -> qtchooser
11012003 0 lrwxrwxrwx 1 laurent root 27 Apr 28 2012 /usr/bin/unpack200 -> /etc/alternatives/unpack200
11042082 0 lrwxrwxrwx 1 laurent root 7 Jan 22 2014 /usr/bin/ovp2ovf -> omfonts
11042244 0 lrwxrwxrwx 1 laurent root 22 Aug 19 18:58 /usr/bin/erlc -> ../lib/erlang/bin/erlc
11030903 0 lrwxrwxrwx 1 laurent root 22 Apr 28 2012 /usr/bin/delp -> /etc/alternatives/delp
11031680 0 lrwxrwxrwx 1 laurent root 58 Feb 17 2014 /usr/bin/fmtutil-sys -> ../share/texlive/texmf-dist/scripts/texlive/fmtutil-sys.sh
11030152 0 lrwxrwxrwx 1 laurent root 7 Apr 5 13:11 /usr/bin/x86_64-linux-gnu-gcc-4.8 -> gcc-4.8
11020507 0 lrwxrwxrwx 1 laurent root 29 Dec 21 2013 /usr/bin/pyversions -> ../share/python/pyversions.py
11081746 0 lrwxrwxrwx 1 laurent root 69 Feb 20 2014 /usr/bin/latexfileversion -> ../share/texlive/texmf-dist/scripts/latexfileversion/latexfileversion
11014921 0 lrwxrwxrwx 1 laurent root 66 Feb 17 2014 /usr/bin/luaotfload-tool -> ../share/texlive/texmf-dist/scripts/luaotfload/luaotfload-tool.lua
11031112 0 lrwxrwxrwx 1 laurent root 21 Apr 28 2012 /usr/bin/xjc -> /etc/alternatives/xjc
11010761 40 -rwxr-sr-x 1 root mlocate 39520 Jun 20 2013 /usr/bin/mlocate
11065215 0 lrwxrwxrwx 1 laurent root 28 Oct 8 2013 /usr/bin/csscapture -> /etc/alternatives/csscapture
11014620 0 lrwxrwxrwx 1 laurent root 11 Feb 15 2014 /usr/bin/testrb -> testrb1.9.1
11081743 0 lrwxrwxrwx 1 laurent root 6 Feb 20 2014 /usr/bin/latexdef -> texdef
11017347 0 lrwxrwxrwx 1 laurent root 3 Feb 20 2014 /usr/bin/fdp -> dot
11042034 0 lrwxrwxrwx 1 laurent root 6 Feb 17 2014 /usr/bin/dvilualatex -> luatex
11033815 0 lrwxrwxrwx 1 laurent root 26 May 13 20:47 /usr/bin/hp-colorcal -> ../share/hplip/colorcal.py
11081751 0 lrwxrwxrwx 1 laurent root 52 Feb 20 2014 /usr/bin/texdef -> ../share/texlive/texmf-dist/scripts/texdef/texdef.pl
11017160 0 lrwxrwxrwx 1 laurent root 3 Dec 31 2013 /usr/bin/rec -> sox
11037362 0 lrwxrwxrwx 1 laurent root 6 Oct 10 2013 /usr/bin/mcat -> mtools
11033644 0 lrwxrwxrwx 1 laurent root 24 May 13 20:47 /usr/bin/hp-levels -> ../share/hplip/levels.py
11081745 0 lrwxrwxrwx 1 laurent root 62 Feb 20 2014 /usr/bin/installfont-tl -> ../share/texlive/texmf-dist/scripts/installfont/installfont-tl
11081723 0 lrwxrwxrwx 1 laurent root 48 Feb 20 2014 /usr/bin/pdf90 -> ../share/texlive/texmf-dist/scripts/pdfjam/pdf90
11030894 0 lrwxrwxrwx 1 laurent root 23 Apr 28 2012 /usr/bin/fppkg -> /etc/alternatives/fppkg
11011443 0 lrwxrwxrwx 1 laurent root 16 Feb 12 2014 /usr/bin/mailq -> ../sbin/sendmail
11020474 628 -rwxr-xr-x 1 root kismet 642000 Nov 12 2013 /usr/bin/kismet_capture
11026255 0 lrwxrwxrwx 1 laurent root 27 Sep 14 17:42 /usr/bin/tdbbackup -> /etc/alternatives/tdbbackup
11033541 0 lrwxrwxrwx 1 laurent root 28 May 13 20:47 /usr/bin/hp-logcapture -> ../share/hplip/logcapture.py
11081858 0 lrwxrwxrwx 1 laurent root 12 Oct 19 2013 /usr/bin/jack_disconnect -> jack_connect
11018290 0 lrwxrwxrwx 1 laurent root 30 Apr 28 2012 /usr/bin/appletviewer -> /etc/alternatives/appletviewer
11039605 0 lrwxrwxrwx 1 laurent root 24 Sep 14 18:03 /usr/bin/mpg123 -> /etc/alternatives/mpg123
11042067 0 lrwxrwxrwx 1 laurent root 5 Jan 22 2014 /usr/bin/mfplain -> mpost
11081731 0 lrwxrwxrwx 1 laurent root 64 Feb 20 2014 /usr/bin/texliveonfly -> ../share/texlive/texmf-dist/scripts/texliveonfly/texliveonfly.py
11011628 0 lrwxrwxrwx 1 laurent root 50 Jun 6 16:58 /usr/bin/unity-settings-daemon -> ../lib/unity-settings-daemon/unity-settings-daemon
11020127 0 lrwxrwxrwx 1 laurent root 6 Feb 17 2014 /usr/bin/rtstat -> lnstat
11021274 0 lrwxrwxrwx 1 laurent root 7 Dec 30 2013 /usr/bin/shncmp -> shntool
11020649 0 lrwxrwxrwx 1 laurent root 7 Dec 30 2013 /usr/bin/shntrim -> shntool
11042248 0 lrwxrwxrwx 1 laurent root 22 Aug 19 18:58 /usr/bin/epmd -> ../lib/erlang/bin/epmd
11031076 0 lrwxrwxrwx 1 laurent root 20 Apr 28 2012 /usr/bin/js -> /etc/alternatives/js
11015051 0 lrwxrwxrwx 1 laurent root 53 Feb 17 2014 /usr/bin/epspdf -> ../share/texlive/texmf-dist/scripts/epspdf/epspdf.tlu
11031099 0 lrwxrwxrwx 1 laurent root 22 Apr 28 2012 /usr/bin/jmap -> /etc/alternatives/jmap
11081722 0 lrwxrwxrwx 1 laurent root 55 Feb 20 2014 /usr/bin/latexpand -> ../share/texlive/texmf-dist/scripts/latexpand/latexpand
11017351 0 lrwxrwxrwx 1 laurent root 3 Feb 20 2014 /usr/bin/sfdp -> dot
11054997 0 lrwxrwxrwx 1 laurent root 30 Jun 25 2013 /usr/bin/lazbuild-1.0.10 -> ../lib/lazarus/1.0.10/lazbuild
11012007 0 lrwxrwxrwx 1 laurent root 23 Apr 28 2012 /usr/bin/jexec -> /etc/alternatives/jexec
11012295 0 lrwxrwxrwx 1 laurent root 9 Feb 19 2014 /usr/bin/moc -> qtchooser
11011728 0 lrwxrwxrwx 1 laurent root 16 Aug 26 21:51 /usr/bin/gimp-console -> gimp-console-2.8
11081718 0 lrwxrwxrwx 1 laurent root 7 Jan 22 2014 /usr/bin/ofm2opl -> omfonts
11033827 0 lrwxrwxrwx 1 laurent root 23 May 13 20:47 /usr/bin/hp-check -> ../share/hplip/check.py
11063427 0 lrwxrwxrwx 1 laurent root 8 Dec 21 2013 /usr/bin/2to3 -> 2to3-2.7
11031513 0 lrwxrwxrwx 1 laurent root 31 Oct 16 2011 /usr/bin/updatepofiles -> /etc/alternatives/updatepofiles
11037372 0 lrwxrwxrwx 1 laurent root 6 Oct 10 2013 /usr/bin/mattrib -> mtools
11019867 0 lrwxrwxrwx 1 laurent root 20 Dec 19 2013 /usr/bin/scrollkeeper-preinstall -> rarian-sk-preinstall
11011330 0 lrwxrwxrwx 1 laurent root 19 Oct 9 2010 /usr/bin/w -> /etc/alternatives/w
11041357 0 lrwxrwxrwx 1 laurent root 22 Sep 14 18:08 /usr/bin/jcmd -> /etc/alternatives/jcmd
11014673 0 lrwxrwxrwx 1 laurent root 19 Jan 8 2014 /usr/bin/iptables-xml -> /sbin/xtables-multi
11015928 0 lrwxrwxrwx 1 laurent root 10 Aug 28 2013 /usr/bin/which -> /bin/which
11010350 0 lrwxrwxrwx 1 laurent root 10 Sep 2 22:02 /usr/bin/apport-collect -> apport-bug
11042236 0 lrwxrwxrwx 1 laurent root 23 Aug 19 18:58 /usr/bin/start_embedded -> ../lib/erlang/bin/start
11025168 0 lrwxrwxrwx 1 laurent root 10 Mar 23 2014 /usr/bin/python3m -> python3.4m
11012051 0 lrwxrwxrwx 1 laurent root 26 Aug 19 18:58 /usr/bin/dialyzer -> ../lib/erlang/bin/dialyzer
11017113 0 lrwxrwxrwx 1 laurent root 7 Apr 5 12:55 /usr/bin/x86_64-linux-gnu-cpp-4.8 -> cpp-4.8
11034161 0 lrwxrwxrwx 1 laurent root 9 Feb 19 2014 /usr/bin/qcollectiongenerator -> qtchooser
11072788 0 lrwxrwxrwx 1 laurent root 61 Feb 20 2014 /usr/bin/match_parens -> ../share/texlive/texmf-dist/scripts/match_parens/match_parens
11031108 0 lrwxrwxrwx 1 laurent root 27 Apr 28 2012 /usr/bin/schemagen -> /etc/alternatives/schemagen
11021032 0 lrwxrwxrwx 1 laurent root 7 Dec 30 2013 /usr/bin/shncue -> shntool
11037374 0 lrwxrwxrwx 1 laurent root 6 Oct 10 2013 /usr/bin/mdir -> mtools
11034115 0 lrwxrwxrwx 1 laurent root 9 Feb 19 2014 /usr/bin/qmlimportscanner -> qtchooser
11033029 0 lrwxrwxrwx 1 laurent root 15 Dec 16 2013 /usr/bin/gnome-keyring -> gnome-keyring-3
11014619 0 lrwxrwxrwx 1 laurent root 9 Feb 15 2014 /usr/bin/rdoc -> rdoc1.9.1
11029560 0 lrwxrwxrwx 1 laurent root 30 Jul 3 2013 /usr/bin/xasy -> ../share/asymptote/GUI/xasy.py
11033636 0 lrwxrwxrwx 1 laurent root 23 May 13 20:47 /usr/bin/hp-clean -> ../share/hplip/clean.py
11033807 0 lrwxrwxrwx 1 laurent root 24 May 13 20:47 /usr/bin/hp-doctor -> ../share/hplip/doctor.py
11045273 0 lrwxrwxrwx 1 laurent root 7 Feb 7 2013 /usr/bin/pgmnorm -> pnmnorm
11010441 0 lrwxrwxrwx 1 laurent root 21 Oct 9 2010 /usr/bin/ftp -> /etc/alternatives/ftp
11031684 0 lrwxrwxrwx 1 laurent root 53 Feb 17 2014 /usr/bin/texdoc -> ../share/texlive/texmf-dist/scripts/texdoc/texdoc.tlu
11010963 0 lrwxrwxrwx 1 laurent root 22 Apr 28 2012 /usr/bin/java -> /etc/alternatives/java
11013621 0 lrwxrwxrwx 1 laurent root 25 Sep 14 16:00 /usr/bin/lzegrep -> /etc/alternatives/lzegrep
11054996 0 lrwxrwxrwx 1 laurent root 36 Jun 25 2013 /usr/bin/lrstolfm-1.0.10 -> ../lib/lazarus/1.0.10/tools/lrstolfm
11031088 0 lrwxrwxrwx 1 laurent root 26 Apr 28 2012 /usr/bin/extcheck -> /etc/alternatives/extcheck
11081754 0 lrwxrwxrwx 1 laurent root 59 Feb 20 2014 /usr/bin/ltxfileinfo -> ../share/texlive/texmf-dist/scripts/ltxfileinfo/ltxfileinfo
11018073 0 lrwxrwxrwx 1 laurent root 9 Feb 19 2014 /usr/bin/qhelpgenerator -> qtchooser
11014049 0 lrwxrwxrwx 1 laurent root 17 Mar 23 2014 /usr/bin/python3m-config -> python3.4m-config
11065136 0 lrwxrwxrwx 1 laurent root 3 Apr 15 21:00 /usr/bin/x86_64-linux-gnu-dwp -> dwp
11031105 0 lrwxrwxrwx 1 laurent root 24 Apr 28 2012 /usr/bin/jstatd -> /etc/alternatives/jstatd
11042096 0 lrwxrwxrwx 1 laurent root 53 Feb 20 2014 /usr/bin/mkt1font -> ../share/texlive/texmf-dist/scripts/accfonts/mkt1font
11033819 0 lrwxrwxrwx 1 laurent root 26 May 13 20:47 /usr/bin/hp-testpage -> ../share/hplip/testpage.py
11010220 0 lrwxrwxrwx 1 laurent root 44 Oct 9 2010 /usr/bin/cli-gacutil -> /etc/alternatives/global-assembly-cache-tool
11023151 0 lrwxrwxrwx 1 laurent root 3 May 12 18:04 /usr/bin/slogin -> ssh
11045212 0 lrwxrwxrwx 1 laurent root 7 Feb 7 2013 /usr/bin/ppmnorm -> pnmnorm
11074979 0 lrwxrwxrwx 1 laurent root 18 Mar 23 2014 /usr/bin/python3dm-config -> python3.4dm-config
11029087 0 lrwxrwxrwx 1 laurent root 9 Nov 5 2013 /usr/bin/flipdiff -> interdiff
11029569 52 -rwsr-sr-x 1 daemon daemon 51464 Oct 21 2013 /usr/bin/at
11081747 0 lrwxrwxrwx 1 laurent root 63 Feb 20 2014 /usr/bin/texdirflatten -> ../share/texlive/texmf-dist/scripts/texdirflatten/texdirflatten
11019933 280 -rwxr-sr-x 1 root ssh 284784 May 12 18:04 /usr/bin/ssh-agent
11081726 0 lrwxrwxrwx 1 laurent root 50 Feb 20 2014 /usr/bin/pdfflip -> ../share/texlive/texmf-dist/scripts/pdfjam/pdfflip
11031676 0 lrwxrwxrwx 1 laurent root 54 Feb 17 2014 /usr/bin/fmtutil -> ../share/texlive/texmf-dist/scripts/texlive/fmtutil.sh
11042047 0 lrwxrwxrwx 1 laurent root 3 Jan 22 2014 /usr/bin/initex -> tex
11026560 0 lrwxrwxrwx 1 laurent root 35 Sep 14 17:49 /usr/bin/gnome-text-editor -> /etc/alternatives/gnome-text-editor
11042413 0 lrwxrwxrwx 1 laurent root 32 Nov 22 2013 /usr/bin/lav2avi -> ../lib/mjpegtools/bin/lav2avi.sh
11017621 0 lrwxrwxrwx 1 laurent root 4 Nov 3 2013 /usr/bin/kino2raw -> kino
11030898 0 lrwxrwxrwx 1 laurent root 23 Apr 28 2012 /usr/bin/ppdep -> /etc/alternatives/ppdep
11031696 0 lrwxrwxrwx 1 laurent root 53 Feb 17 2014 /usr/bin/updmap -> ../share/texlive/texmf-dist/scripts/texlive/updmap.pl
11030179 0 lrwxrwxrwx 1 laurent root 14 Apr 8 00:49 /usr/bin/x86_64-linux-gnu-gcc-ranlib -> gcc-ranlib-4.8
11030899 0 lrwxrwxrwx 1 laurent root 22 Apr 28 2012 /usr/bin/ptop -> /etc/alternatives/ptop
11037378 0 lrwxrwxrwx 1 laurent root 6 Oct 10 2013 /usr/bin/mrd -> mtools
11023410 0 lrwxrwxrwx 1 laurent root 13 Jan 14 2014 /usr/bin/avahi-publish-address -> avahi-publish
11012000 0 lrwxrwxrwx 1 laurent root 25 Apr 28 2012 /usr/bin/pack200 -> /etc/alternatives/pack200
11028870 0 lrwxrwxrwx 1 laurent root 22 Feb 21 2012 /usr/bin/Mail -> /etc/alternatives/Mail
11023715 0 lrwxrwxrwx 1 laurent root 27 Sep 1 2011 /usr/bin/xulrunner -> /etc/alternatives/xulrunner
11030184 0 lrwxrwxrwx 1 laurent root 7 Apr 8 00:49 /usr/bin/gcc -> gcc-4.8
11021636 0 lrwxrwxrwx 1 laurent root 3 Mar 22 2014 /usr/bin/captoinfo -> tic
11033823 0 lrwxrwxrwx 1 laurent root 26 May 13 20:47 /usr/bin/hp-firmware -> ../share/hplip/firmware.py
11010219 0 lrwxrwxrwx 1 laurent root 21 Oct 9 2010 /usr/bin/cli -> /etc/alternatives/cli
11065213 0 lrwxrwxrwx 1 laurent root 26 Oct 8 2013 /usr/bin/cssparse -> /etc/alternatives/cssparse
11033958 24 -rwxr-sr-x 1 root shadow 23360 Feb 17 2014 /usr/bin/expiry
11030907 0 lrwxrwxrwx 1 laurent root 25 Apr 28 2012 /usr/bin/h2paspp -> /etc/alternatives/h2paspp
11033839 0 lrwxrwxrwx 1 laurent root 24 May 13 20:47 /usr/bin/hp-unload -> ../share/hplip/unload.py
11042059 0 lrwxrwxrwx 1 laurent root 7 Jan 22 2014 /usr/bin/opl2ofm -> omfonts
11016417 0 lrwxrwxrwx 1 laurent root 24 Sep 14 15:38 /usr/bin/bibtex -> /etc/alternatives/bibtex
11010665 0 lrwxrwxrwx 1 laurent root 29 Oct 9 2010 /usr/bin/infobrowser -> /etc/alternatives/infobrowser
11065137 0 lrwxrwxrwx 1 laurent root 7 Apr 15 21:00 /usr/bin/gold -> ld.gold
11065988 0 lrwxrwxrwx 1 laurent root 7 Apr 5 01:19 /usr/bin/winecpp -> winegcc
11011332 0 lrwxrwxrwx 1 laurent root 30 Mar 24 2014 /usr/bin/oneconf-query -> ../share/oneconf/oneconf-query
11041953 0 lrwxrwxrwx 1 laurent root 56 Feb 17 2014 /usr/bin/mathspic -> ../share/texlive/texmf-dist/scripts/mathspic/mathspic.pl
11017349 0 lrwxrwxrwx 1 laurent root 3 Feb 20 2014 /usr/bin/circo -> dot
11041957 0 lrwxrwxrwx 1 laurent root 5 Apr 4 12:18 /usr/bin/parec -> pacat
11014166 0 lrwxrwxrwx 1 laurent root 10 Dec 3 2012 /usr/bin/pftp -> netkit-ftp
11012427 0 lrwxrwxrwx 1 laurent root 17 Oct 3 2012 /usr/bin/on_ac_power -> /sbin/on_ac_power
11023197 0 lrwxrwxrwx 1 laurent root 2 Dec 22 2013 /usr/bin/convert -> gm
11030160 0 lrwxrwxrwx 1 laurent root 8 Apr 5 13:11 /usr/bin/x86_64-linux-gnu-gcov-4.8 -> gcov-4.8
11037699 0 lrwxrwxrwx 1 laurent root 9 Jun 10 2013 /usr/bin/less -> /bin/less
11042012 0 lrwxrwxrwx 1 laurent root 58 Feb 20 2014 /usr/bin/svn-multi -> ../share/texlive/texmf-dist/scripts/svn-multi/svn-multi.pl
11018081 0 lrwxrwxrwx 1 laurent root 40 Mar 12 2014 /usr/bin/designer-qt4 -> ../lib/x86_64-linux-gnu/qt4/bin/designer
11081710 0 lrwxrwxrwx 1 laurent root 54 Feb 20 2014 /usr/bin/a5toa4 -> ../share/texlive/texmf-dist/scripts/pfarrei/a5toa4.tlu
11010255 0 lrwxrwxrwx 1 laurent root 22 May 29 2011 /usr/bin/from -> /etc/alternatives/from
11032961 0 lrwxrwxrwx 1 laurent root 34 Mar 23 2014 /usr/bin/x86_64-linux-gnu-python3m-config -> x86_64-linux-gnu-python3.4m-config
11055001 0 lrwxrwxrwx 1 laurent root 43 Jun 25 2013 /usr/bin/svn2revisioninc-1.0.10 -> ../lib/lazarus/1.0.10/tools/svn2revisioninc
11030766 0 lrwxrwxrwx 1 laurent root 25 Sep 14 17:59 /usr/bin/relpath -> /etc/alternatives/relpath
11033370 0 lrwxrwxrwx 1 laurent root 9 Feb 19 2014 /usr/bin/qdoc -> qtchooser
11065134 0 lrwxrwxrwx 1 laurent root 2 Apr 15 21:00 /usr/bin/x86_64-linux-gnu-nm -> nm
11018976 0 lrwxrwxrwx 1 laurent root 12 Apr 8 00:50 /usr/bin/x86_64-linux-gnu-gfortran -> gfortran-4.8
11015130 0 lrwxrwxrwx 1 laurent root 55 Sep 14 17:39 /usr/bin/amdupdaterandrconfig -> /etc/alternatives/x86_64-linux-gnu_amdupdaterandrconfig
11017464 0 lrwxrwxrwx 1 laurent root 9 Oct 25 2013 /usr/bin/emacs23 -> emacs23-x
11042098 0 lrwxrwxrwx 1 laurent root 6 Jan 22 2014 /usr/bin/pdfetex -> pdftex
retour de
find -L /usr/bin ! -perm 755 -ls
11029569 52 -rwsr-sr-x 1 daemon daemon 51464 Oct 21 2013 /usr/bin/atrm
11012239 16 -rwxr-sr-x 1 root tty 14688 Jun 4 2013 /usr/bin/write
11019598 36 -rwxr-sr-x 1 root crontab 35984 Feb 9 2013 /usr/bin/crontab
11011119 16 -rwxr-sr-x 3 root mail 14592 Dec 4 2012 /usr/bin/mail-touchlock
11013727 152 -rwsr-xr-x 1 root root 155008 Feb 10 2014 /usr/bin/sudoedit
11014118 32 -rwsr-xr-x 1 root root 32464 Feb 17 2014 /usr/bin/newgrp
11011119 16 -rwxr-sr-x 3 root mail 14592 Dec 4 2012 /usr/bin/mail-lock
11010587 12 -rwsr-sr-x 1 root root 10192 Jan 29 2014 /usr/bin/X
11010785 76 -rwsr-xr-x 1 root root 75256 Oct 21 2013 /usr/bin/mtr
11014124 16 -rwxr-sr-x 1 root mail 14856 Dec 7 2013 /usr/bin/dotlockfile
find: File system loop detected; `/usr/bin/X11' is part of the same file system loop as `/usr/bin'.
11012010 0 lrwxrwxrwx 1 laurent root 36 Oct 13 2010 /usr/bin/pluginappletviewer -> /etc/alternatives/pluginappletviewer
11033701 16 -rwsr-xr-x 1 root lpadmin 14336 Sep 5 22:17 /usr/bin/lppasswd
11011119 16 -rwxr-sr-x 3 root mail 14592 Dec 4 2012 /usr/bin/mail-unlock
11017023 24 -rwsr-xr-x 1 root root 23104 May 7 23:51 /usr/bin/traceroute6
11010078 20 -rwxr-sr-x 1 root tty 19024 Sep 25 20:55 /usr/bin/wall
11014118 32 -rwsr-xr-x 1 root root 32464 Feb 17 2014 /usr/bin/sg
11017023 24 -rwsr-xr-x 1 root root 23104 May 7 23:51 /usr/bin/traceroute6.iputils
11029569 52 -rwsr-sr-x 1 daemon daemon 51464 Oct 21 2013 /usr/bin/atq
11012239 16 -rwxr-sr-x 1 root tty 14688 Jun 4 2013 /usr/bin/bsd-write
11033967 56 -rwxr-sr-x 1 root shadow 54968 Feb 17 2014 /usr/bin/chage
11010761 40 -rwxr-sr-x 1 root mlocate 39520 Jun 20 2013 /usr/bin/locate
11033962 68 -rwsr-xr-x 1 root root 68152 Feb 17 2014 /usr/bin/gpasswd
11033961 44 -rwsr-xr-x 1 root root 41336 Feb 17 2014 /usr/bin/chsh
11013727 152 -rwsr-xr-x 1 root root 155008 Feb 10 2014 /usr/bin/sudo
11021727 24 -rwsr-xr-x 1 root root 23304 Feb 11 2014 /usr/bin/pkexec
11011288 412 -rwxr-sr-x 1 root utmp 421768 Nov 7 2013 /usr/bin/screen
11016135 20 -rwsr-xr-x 1 root root 18920 May 7 23:51 /usr/bin/arping
11033966 48 -rwsr-xr-x 1 root root 46424 Feb 17 2014 /usr/bin/chfn
11010761 40 -rwxr-sr-x 1 root mlocate 39520 Jun 20 2013 /usr/bin/mlocate
11019766 48 -rwsr-xr-x 1 root root 47032 Feb 17 2014 /usr/bin/passwd
11029569 52 -rwsr-sr-x 1 daemon daemon 51464 Oct 21 2013 /usr/bin/at
11019933 280 -rwxr-sr-x 1 root ssh 284784 May 12 18:04 /usr/bin/ssh-agent
11033958 24 -rwxr-sr-x 1 root shadow 23360 Feb 17 2014 /usr/bin/expiry
Hors ligne
#35 Le 27/09/2014, à 11:51
- pingouinux
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
Ça avance! Il faut changer le propriétaire des liens symboliques (il manquait une option dans le chown) :
sudo find /usr/bin -type l -exec chown -h root {} \;
puis, pour vérifier
find /usr/bin ! \( -user root -group root \) -ls
On va aussi vérifier cet autre répertoire (normalement, pas de réponse à cette commande)
find /etc/alternatives ! \( -user root -group root \) -ls
Hors ligne
#36 Le 27/09/2014, à 12:13
- laurentvv
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
retour de
find /usr/bin ! \( -user root -group root \) -ls
:
11019598 36 -rwxr-sr-x 1 root crontab 35984 Feb 9 2013 /usr/bin/crontab
11011119 16 -rwxr-sr-x 3 root mail 14592 Dec 4 2012 /usr/bin/mail-touchlock
11011119 16 -rwxr-sr-x 3 root mail 14592 Dec 4 2012 /usr/bin/mail-lock
11014124 16 -rwxr-sr-x 1 root mail 14856 Dec 7 2013 /usr/bin/dotlockfile
11033701 16 -rwsr-xr-x 1 root lpadmin 14336 Sep 5 22:17 /usr/bin/lppasswd
11011119 16 -rwxr-sr-x 3 root mail 14592 Dec 4 2012 /usr/bin/mail-unlock
11010078 20 -rwxr-sr-x 1 root tty 19024 Sep 25 20:55 /usr/bin/wall
11012239 16 -rwxr-sr-x 1 root tty 14688 Jun 4 2013 /usr/bin/bsd-write
11033967 56 -rwxr-sr-x 1 root shadow 54968 Feb 17 2014 /usr/bin/chage
11011288 412 -rwxr-sr-x 1 root utmp 421768 Nov 7 2013 /usr/bin/screen
11010761 40 -rwxr-sr-x 1 root mlocate 39520 Jun 20 2013 /usr/bin/mlocate
11020474 628 -rwxr-xr-x 1 root kismet 642000 Nov 12 2013 /usr/bin/kismet_capture
11029569 52 -rwsr-sr-x 1 daemon daemon 51464 Oct 21 2013 /usr/bin/at
11019933 280 -rwxr-sr-x 1 root ssh 284784 May 12 18:04 /usr/bin/ssh-agent
11033958 24 -rwxr-sr-x 1 root shadow 23360 Feb 17 2014 /usr/bin/expiry
effectivement pas de réponse à
find /etc/alternatives ! \( -user root -group root \) -ls
Hors ligne
#37 Le 27/09/2014, à 12:27
- pingouinux
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
Tu es sans doute tiré d'affaire, et sans doute peu enclin désormais à modifier les permissions des fichiers du système…
Hors ligne
#38 Le 27/09/2014, à 12:38
- laurentvv
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
C'est certain !
Merci pour ton temps et ta persévérance.
Même si parfois j' ai eu l'impression que tu me parlais en chinois, j'espère que tes efforts ne seront pas vains d'un point de vue pédagogique et que je retiendrai ces notions de groupes et de permissions, en y regardant à deux fois avant de m'avancer dans le noir.
En résumé, ça m'a fait plaisir de te faire confiance !
Hors ligne
#39 Le 27/09/2014, à 13:06
- pingouinux
Re : [Résolu]sudo: /usr/bin/sudo must be owned by uid 0
En résumé, ça m'a fait plaisir de te faire confiance !
Il est sûr que lorsque je te disais de brancher le fil bleu sur le bouton bleu, et le fil rouge sur le bouton rouge, ce n'est pas mon ordinateur qui risquait d'exploser…
Bonne continuation
Hors ligne