hral som sa s kompilovaním coreutils (6.9 a 6.9.92) a skompiloval som aj su. Skusal som ho skopirovat do /bin, ale nefungovalo, tak som tam vrátil staré. Toto som robil niekoľkokrát, takže si niesom istý ktorá verzia su tam teraz je, ale pravdepodobne to bude tá pôvodná (keďže neakceptuje parameter --version). Problém je, že sa mi už nedá prihlásiť na roota (CHYBNE HESLO). Pripájam výpis.
mathias@mathias-desktop:/bin$ sudo passwd root [sudo] password for mathias: Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully //heslo som dal "heslo" mathias@mathias-desktop:/bin$ su root Password: su: Authentication failure mathias@mathias-desktop:/bin$ su root Password: su: Authentication failure mathias@mathias-desktop:/bin$ ls -al su* -rwxr-xr-x 1 root root 25540 2008-05-18 01:17 su -rwxr-xr-x 1 root root 25540 2008-05-18 01:42 su.bak mathias@mathias-desktop:/bin$ sha1 su* b43226dc595ed6a1ae327c99bc654c57818a39f3 su b43226dc595ed6a1ae327c99bc654c57818a39f3 su.bak mathias@mathias-desktop:/bin$ md5 su* ef97be67e76f8ca4ed2107684e346597 su ef97be67e76f8ca4ed2107684e346597 su.bakDakujem za pomoc
sudo passwd root
ako som uz spomenul hore..ale dik za odpoved
mathias@mathias-desktop:/etc$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
dhcp:x:101:102::/nonexistent:/bin/false
syslog:x:102:103::/home/syslog:/bin/false
klog:x:103:104::/home/klog:/bin/false
hplip:x:104:7:HPLIP system user,,,:/var/run/hplip:/bin/false
avahi-autoipd:x:105:113:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false
gdm:x:106:114:Gnome Display Manager:/var/lib/gdm:/bin/false
pulse:x:107:116:PulseAudio daemon,,,:/var/run/pulse:/bin/false
messagebus:x:108:119::/var/run/dbus:/bin/false
avahi:x:109:120:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
polkituser:x:110:122:PolicyKit,,,:/var/run/PolicyKit:/bin/false
haldaemon:x:111:123:Hardware abstraction layer,,,:/var/run/hald:/bin/false
mathias:x:1000:1000:Mathias Wacker,,,:/home/mathias:/bin/bash
dovecot:x:112:124:Dovecot mail server,,,:/usr/lib/dovecot:/bin/false
didi:x:1001:1001:,,,:/home/didi:/bin/bash
mathias@mathias-desktop:/etc$ sudo cat /etc/shadow
root:$1$ZQRRDQcV$drbSACyYxFnLkagvJG24D1:14017:0:99999:7:::
daemon:*:13991:0:99999:7:::
bin:*:13991:0:99999:7:::
sys:*:13991:0:99999:7:::
sync:*:13991:0:99999:7:::
games:*:13991:0:99999:7:::
man:*:13991:0:99999:7:::
lp:*:13991:0:99999:7:::
mail:*:13991:0:99999:7:::
news:*:13991:0:99999:7:::
uucp:*:13991:0:99999:7:::
proxy:*:13991:0:99999:7:::
www-data:*:13991:0:99999:7:::
backup:*:13991:0:99999:7:::
list:*:13991:0:99999:7:::
irc:*:13991:0:99999:7:::
gnats:*:13991:0:99999:7:::
nobody:*:13991:0:99999:7:::
libuuid:!:13991:0:99999:7:::
dhcp:*:13991:0:99999:7:::
syslog:*:13991:0:99999:7:::
klog:*:13991:0:99999:7:::
hplip:*:13991:0:99999:7:::
avahi-autoipd:*:13991:0:99999:7:::
gdm:*:13991:0:99999:7:::
pulse:*:13991:0:99999:7:::
messagebus:*:13991:0:99999:7:::
avahi:*:13991:0:99999:7:::
polkituser:*:13991:0:99999:7:::
haldaemon:*:13991:0:99999:7:::
mathias:$1$aF60qnF2$LWRb27W2dQGomQrz6VQXe1:13993:0:99999:7:::
dovecot:*:13995:0:99999:7:::
didi:$1$BW6oAJZi$i3vPFRTu1ePj1J3KO81Cx.:14006:0:99999:7:::
skus cez single mod, to urcite pojde