You are not logged in.
Posting this in noob corner because that's exactly how I feel right now. I was playing around with LFS (Linux from Scratch) and while trying to solve an issue I was having, I accidentally did sudo chmod -R 755 /usr/bin/ instead of sudo chmod -R 755 /mnt/usr/bin/ and now all my admin binaries are hosed.
I've managed to get su, sudo and Xorg running again properly but I don't know what else needed the setuid flag. Any assistance would be appreciated. Hell even a dump of someone's
ls -l /usr/bin/would be great
Thanks in advanced!
Last edited by techwiz (2013-10-12 22:59:38)
Offline
$ stat -c "%n %a" /usr/bin/* | awk '/4755/ {print $1}'
/usr/bin/Xorg
/usr/bin/chage
/usr/bin/chfn
/usr/bin/chsh
/usr/bin/expiry
/usr/bin/gpasswd
/usr/bin/ksu
/usr/bin/mount
/usr/bin/newgrp
/usr/bin/passwd
/usr/bin/pkexec
/usr/bin/rcp
/usr/bin/rlogin
/usr/bin/rsh
/usr/bin/sg
/usr/bin/su
/usr/bin/sudo
/usr/bin/umountsymlinks are 777
$ ls -l /usr/bin/xzfgrep
lrwxrwxrwx 1 root root 6 Jun 30 21:48 /usr/bin/xzfgrep -> xzgrepthe are some 555
/usr/bin/bashbug
/usr/bin/db_archive
/usr/bin/db_checkpoint
/usr/bin/db_deadlock
/usr/bin/db_dump
/usr/bin/db_hotbackup
/usr/bin/db_load
/usr/bin/db_log_verify
/usr/bin/db_printlog
/usr/bin/db_recover
/usr/bin/db_replicate
/usr/bin/db_stat
/usr/bin/db_tuner
/usr/bin/db_upgrade
/usr/bin/db_verify
/usr/bin/dhcpcdthe rest is 755.
Offline
Accurate as your thread title is (
), please edit it to describe your actual problem:
https://wiki.archlinux.org/index.php/Fo … ow_to_Post
Offline
Will do jason and thank you karol.
Offline