Tzafrir Cohen wrote:
>
> Can I simply set smbmnt and smbumount to be suid-ed? Do I need to
> rebuild samba for that purpose? Or is there any other solution?
Well, you can just try and see what's happening. Or you can get the
utility that allows users to execute processes with super-user uid.
I'm not really sure but I think it's called 'suexec' or something like
that. But IMHO the best solution is just 'su -' and mount SMB filesystem
with 'smbmount' or 'mount -t smbfs'. And more, it's SAFE and SECURE...
> Also: I saw in the Samba faq (http://uk.samba.org/samba/docs/FAQ/#39)
> something about smbmount not being part of samba. Is that correct? If so
> - who added smbmount to the rpm?
Smbmount utility actually just parses the parameter strings and
calls 'mount(2)'. Therefore smbmount requires SMBFS support in kernel.
For example, I have samba on my SPARC running Sol 7, but I can't
mount SMB filesystems, since Sol 7 doesn't support smbfs. So smbmount
should be considered just as Linux-specific add-on for Samba.
And may the source be with you.
--
-------------------------------------------------------------
| Eugene L. Berman | |
| --<<-+-<<@ | |
| E-Mail: [EMAIL PROTECTED] | NIHIL HABENTES, |
| Phone #: ++972-3-5538210 | OMNIA POSSIDENTES. |
| Mobile #: 054-809439 | |
| http://www.mannanetwork.com | |
-------------------------------------------------------------
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]