[sudo-users] replace /usr/bin/su issue
Goodman Leung
gbcbooksmj at gmail.com
Sun Feb 19 19:08:46 MST 2017
Hi list
I have some requirement to replace /usr/bin/sudo with a self-recompiled one.
I write a sudo shell with python , it actually use sudo too .
[root at localhost user1]# ls -lha /usr/bin/sudo
-rwsr-xr-x 1 root root 148K Feb 17 10:05 /usr/bin/sudo
[root at localhost user1]#
[root at localhost user1]#
[root at localhost user1]#
[root at localhost user1]#
[root at localhost user1]# ls -lah python/scripts/sudo/dist/sudo_v1.3.2
sudo_v1.3.2 sudo_v1.3.2_md5sum.txt
[root at localhost user1]# ls -lah python/scripts/sudo/dist/sudo_v1.3.2
-rwxr-xr-x 1 user1 user1 4.4M Feb 16 20:06
python/scripts/sudo/dist/sudo_v1.3.2
[root at localhost user1]#
You can see , the self-compiled 's size is 4.4MB , and But one day after I
replace it , its size become 148KB.
What changed it againg ?
Thks and best regards
Goodman Leung
More information about the sudo-users
mailing list