-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 31 Oct 2002 13:42:26 -0500, Brian K. Jones wrote: > I have a Redhat 8 machine, and another person in my department has one > as well. Almost identical Dell PCs. > > This user wanted to smbmount a directory as a regular user, but only > knew how to do it using mount -t as root. I tested some stuff on my > local machine: > > [jonesy@newhotness tmp]$ smbmount //newfs/jonesy /tmp/test > Password: > smbmnt must be installed suid root for direct user mounts > (30252,30252) smbmnt failed: 1 > [jonesy@newhotness tmp]$ su > Password: > [root@newhotness tmp]# which smbmnt > /usr/bin/smbmnt > [root@newhotness tmp]# ls -l /usr/bin/smbmnt > -rwxr-xr-x 1 root root 554129 Aug 28 12:03 > /usr/bin/smbmnt[root@newhotness tmp]# chmod 4755 /usr/bin/smbmnt > > This worked well - I was now able to use smbmount as a user to mount > directories. I also had to perform the above task to smbumount in > order to unmount the directory. > > So up to the user's office I go - I change the permissions exactly > like I did on my Psyche box, and something different happened. I got > an error saying: "libsmb tool MUST NOT be suid root". WTF??? So I > changed the perms back, and tried again. This time, I got the old > "smbmnt must be installed suid root for direct user mounts" error. > > What gives? smbmount != smbmnt Your subject line suggests you have setuid'd the wrong binary. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE9wX/l0iMVcrivHFQRAhk0AJ9iDHnuBpoYpXcQUMb5a0jf/4QlNQCfbLzl gOPXzu/S5yFj1cKsqqp7Z+k= =lpbz -----END PGP SIGNATURE----- -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list