Where is SUID and SGID in Linux?

Ngô Quốc Huy

New member
Where is SUID and SGID in Linux?
Answer
Use the following procedure to find files with setuid permissions.
  1. Become superuser or assume an equivalent role.
  2. Find files with setuid permissions by using the find command. # find directory -user root -perm -4000 -exec ls -ldb {} ; >/tmp/ filename. …
  3. Display the results in /tmp/ filename . # more /tmp/ filename.
 

Tìm kiếm

Back
Top