LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to realize the experiment on nosuid (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-realize-the-experiment-on-nosuid-755220/)

jcky 09-14-2009 08:54 PM

How to realize the experiment on nosuid
 
I had two linux (Suse v10.2)
One was as a server
One was as a client
Client mounted the shared folder with suid
/etc/exports in the server was rw,sync
And there was an ls file in it with suid set
-rws------ 1 root root 79944 Sep 13 06:11 ls
So I wanted to execute ls file by ./ls
But it said no permission
Then how could I realize the experiment on suid ?
Thanks!
:)

chrism01 09-15-2009 12:20 AM

The default export option is root-squash, to prevent security holes; http://linux.die.net/man/5/exports


All times are GMT -5. The time now is 02:59 PM.