Sorry, the program needs to be executable by all, but u+s is what sets the
program to SUID root. On my machine, a Fedora Core, the SUID for smbmnt is a+s
by default, but u+s will work also.
So, to recap (and update):
whereis smbmnt
ls -l {path}/smbmnt
chmod u+s {path}/smbmnt
If the ls -l does not show r_xr_xr_x to begin with, you will need to add:
chmod a+x {path}/smbmnt
to make it executable by everyone, but it probably already is.
Thanks,
Chris
On Tue, 28 Nov 2006 12:54:17 -0800, "larry price" <[EMAIL PROTECTED]> wrote:
> On 11/28/06, mage <[EMAIL PROTECTED]> wrote:
>> Here is how to make smbmnt run as SUID; as root run:
>>
>> whereis smbmnt
>> (this is in /usr/bin/ on my system, so I will use that path)
>
>> chmod +s /usr/bin/smbmnt
>
> changes both user and group permissions
>
> is that what you want?
> _______________________________________________
> EUGLUG mailing list
> [email protected]
> http://www.euglug.org/mailman/listinfo/euglug
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug