LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-14-2009, 08:54 PM   #1
jcky
Member
 
Registered: Feb 2008
Location: China-Shanghai
Distribution: Rhel&Suse
Posts: 80

Rep: Reputation: 15
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!

Last edited by jcky; 09-14-2009 at 09:13 PM.
 
Old 09-15-2009, 12:20 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My new method to realize syncookie au_hank Linux - Security 11 09-17-2007 05:50 PM
what is nosuid, noexec & nodevel?? coolblue Linux - Newbie 3 03-14-2005 10:58 AM
NOEXEC, NOSUID, READONLY in Linux CarlosSunden Linux - General 0 05-05-2004 02:56 PM
who realize debian MiniCD! muyu Debian 1 04-07-2004 07:29 AM
automounted filesystems should be mounted using nosuid ForumKid Linux - Security 2 01-09-2002 01:45 AM


All times are GMT -5. The time now is 03:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration