Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, Is there any way anyone on RHEL (I have 6.3, but should not matter too much) can run these 3 commands for me as root and give me ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2012
    Posts
    6

    setuid setgid files for Fedora RHEL, pretty important need help!


    Hi All,

    Is there any way anyone on RHEL (I have 6.3, but should not matter too much) can run these 3 commands for me as root and give me the output?
    It is the system files that have the SUID, SGID or sticky bit set. I don't think its a very long list of files.


    find /usr -perm -4000 -exec ls -ld {} \;
    find /usr -perm -2000 -exec ls -ld {} \;
    find /usr -perm -1000 -exec ls -ld {} \;



    I'd greatly appreciate the help...........thanks much!
    Last edited by jeffpas; 05-03-2013 at 08:47 PM.

  2. #2
    Just Joined! vishesh's Avatar
    Join Date
    Jul 2009
    Location
    Delhi
    Posts
    36
    Below is the list of files/folder listed by first command

    /usr/bin/gpasswd
    /usr/bin/chage
    /usr/bin/Xorg
    /usr/bin/chfn
    /usr/bin/passwd
    /usr/bin/sudo
    /usr/bin/newgrp
    /usr/bin/sudoedit
    /usr/bin/crontab
    /usr/bin/pkexec
    /usr/bin/chsh
    /usr/bin/staprun
    /usr/sbin/seunshare
    /usr/sbin/userhelper
    /usr/sbin/suexec
    /usr/sbin/usernetctl
    /usr/libexec/pt_chown
    /usr/libexec/openssh/ssh-keysign
    /usr/libexec/polkit-1/polkit-agent-helper-1
    /usr/lib/nspluginwrapper/plugin-config


    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •