Operating System - HP-UX
1753834 Members
7963 Online
108806 Solutions
New Discussion юеВ

SUID,NOSUID in /etc/fstab

 
SOLVED
Go to solution
ln_unix
Frequent Advisor

SUID,NOSUID in /etc/fstab

Hello All,

I am facing a problem, need your help...

Can we change no suid to suid in the below line,actually it is taken from /etc/fstab.

and can anyone please explain me the difference between suid and nosuid.

/dev/vgora/lvol4 /oracle_abc/sw vxfs rw,nosuid,largefiles,delaylog,datainlog 0 2


Always thankful for your helpful and supportive answers.

Best Regards,
LN
5 REPLIES 5
TTr
Honored Contributor

Re: SUID,NOSUID in /etc/fstab

man mount_vxfs
man ls

If the filesystem contains suid files and nosuid is set they will be ignored.


You need to keep up with point assigning.
> I have assigned points to 35 of 96 responses to my questions
Pulse001
Regular Advisor

Re: SUID,NOSUID in /etc/fstab

Just remove nosuid from that line in /etc/fstab and remount the filesystem. Then the mountpoint will allow setuid execution.

Take for example a program which is owned by root and has setuid on it. In that case if any user executes that program, the program will run as root for the duration of its existence.
After the execution is complete, the privilege will return to the normal permissions of the user.
Setuid gives you momentary powers, you can execute a program with some other users privileges, but just for the duration of the program's life.

Have a look at the link below

http://en.wikipedia.org/wiki/Setuid
ln_unix
Frequent Advisor

Re: SUID,NOSUID in /etc/fstab

Hello Pulse001,

Thanks For Replying

I dont want to umount that file system ...

Is there any possible way to overcome the situation of umount?

Best Regards,
LN
Patrick Wallek
Honored Contributor
Solution

Re: SUID,NOSUID in /etc/fstab

You could try the 'remount' option.

Make your change to /etc/fstab and then issue:

# mount -o remount /oracle_abc/sw

ln_unix
Frequent Advisor

Re: SUID,NOSUID in /etc/fstab

Hello Patrick,

Thanks a ton for you gr888888 answer...

:))

feeling happy to resolve this issue :))

Thanks & Best Regards,
LN

Issue closed