-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dennis,
The following information generally applies to using Linux to access a
Windows share on another system, whether it is running Linux/Samba or just
Windows with file sharing...
To "suid root" means to change the program or file so that it executes as
user root, even if run by a regular user. This can be a security risk,
since anyone who is a user on your system can instantly get a kind of root
access by running such a program. However, if this is not concern, then
the way you suid root is this (must be done *as root*):
[root@dedannshae bin]# chmod +s smbmnt
The actual command is 'chmod', with the option '+s' which specifies suid
to the current user -- who must be root, as I mentioned above. You can
either include the full path and file, or just cd to the proper directory
and name the file (as I did in the example).
You will probably need to do this on several files: smbmnt, smbmount, and
smbumount. These programs allow you to mount smb shares as directories on
your filesystem, something which only root is normally allowed to do (thus
requiring you to suid them, so they run as root).
HTH,
Dave Sherman
On Monday 30 July 2001 21:15, thus spake Dennis Myers:
> I have the book Using Samba and still can't get the stinkin thing
> working! trying to access the other computer share;
> error reads
> "smbmnt must be mounted suid root" . How do I do that? Using swat.
> Also looked at the config file and data is in there. What could be so
> hard about setting up a windows computer and a linux computer in Samba
> with the linux computer being the server and a client also? I am
> beginning to doubt my own intelligence. A little help here? TIA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7ZillA68l26XsZUYRAktmAKCHgU9tObgogdHFEJvfYz+fwB2jjgCgmcQA
wYTUE2CBGR4uwl5EJUIQurY=
=AaCz
-----END PGP SIGNATURE-----