Re: LinNeighborhood Issue?

2003-03-25 Thread Michael S. Dunsavage
When I upgraded to  2.4.20 I had that problem.

As much as I hate making it suid I just went ahead and made smbmount and 
smbumount as suid

On Tuesday 25 March 2003 10:33 am, you wrote:

 I've been trying to mount a filesystem on an XP machine and I get the
 following error:

 smbmnt must be installed suid root for direct user mounts (500,500)
 smbmnt failed:1

 Now, this has worked in the past.  I'm not sure if I changed anything,
 however there has been one kernal upgrade since I last used
 LinNeighborhood.  Not sure that would make a difference though.

 If I try to mount as root, I get this error: standard in must be tty

 Any ideas what's gone wrong?



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: LinNeighborhood Issue?

2003-03-25 Thread Tim Willis
Forgive me for being a dork, but how do I do that?

On Tue, 2003-03-25 at 09:51, Michael S. Dunsavage wrote:
 When I upgraded to  2.4.20 I had that problem.
 
 As much as I hate making it suid I just went ahead and made smbmount and 
 smbumount as suid
 
 On Tuesday 25 March 2003 10:33 am, you wrote:
 
  I've been trying to mount a filesystem on an XP machine and I get the
  following error:
 
  smbmnt must be installed suid root for direct user mounts (500,500)
  smbmnt failed:1
 
  Now, this has worked in the past.  I'm not sure if I changed anything,
  however there has been one kernal upgrade since I last used
  LinNeighborhood.  Not sure that would make a difference though.
 
  If I try to mount as root, I get this error: standard in must be tty
 
  Any ideas what's gone wrong?
 
 
 
 -- 
 redhat-list mailing list
 unsubscribe mailto:[EMAIL PROTECTED]
 https://listman.redhat.com/mailman/listinfo/redhat-list
 
-- 
J. Tim Willis
A Computer without Windows is like a chocolate cake without mustard.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: LinNeighborhood Issue?

2003-03-25 Thread Michael S. Dunsavage
haha

cd /usr/bin  

chmod +s smbmount 
chmod +s smbumount



On Tuesday 25 March 2003 11:26 am, you wrote:
 Forgive me for being a dork, but how do I do that?

 On Tue, 2003-03-25 at 09:51, Michael S. Dunsavage wrote:
  When I upgraded to  2.4.20 I had that problem.
 
  As much as I hate making it suid I just went ahead and made smbmount and
  smbumount as suid
 
  On Tuesday 25 March 2003 10:33 am, you wrote:
   I've been trying to mount a filesystem on an XP machine and I get the
   following error:
  
   smbmnt must be installed suid root for direct user mounts (500,500)
   smbmnt failed:1
  
   Now, this has worked in the past.  I'm not sure if I changed anything,
   however there has been one kernal upgrade since I last used
   LinNeighborhood.  Not sure that would make a difference though.
  
   If I try to mount as root, I get this error: standard in must be tty
  
   Any ideas what's gone wrong?
 
  --
  redhat-list mailing list
  unsubscribe mailto:[EMAIL PROTECTED]
  https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: LinNeighborhood Issue?

2003-03-25 Thread Tim Willis
Ok - now I'm a complete dork - I did the commands below, as root, and
now I get the following message when I try to mount:

libsmb based programs must *NOT* be setuid root. 1670:Connection to
ISS-LAPTOP1 failed

??

On Tue, 2003-03-25 at 10:42, Michael S. Dunsavage wrote:
 haha
 
 cd /usr/bin  
 
 chmod +s smbmount 
 chmod +s smbumount
 
 
 
 On Tuesday 25 March 2003 11:26 am, you wrote:
  Forgive me for being a dork, but how do I do that?
 
  On Tue, 2003-03-25 at 09:51, Michael S. Dunsavage wrote:
   When I upgraded to  2.4.20 I had that problem.
  
   As much as I hate making it suid I just went ahead and made smbmount and
   smbumount as suid
  
   On Tuesday 25 March 2003 10:33 am, you wrote:
I've been trying to mount a filesystem on an XP machine and I get the
following error:
   
smbmnt must be installed suid root for direct user mounts (500,500)
smbmnt failed:1
   
Now, this has worked in the past.  I'm not sure if I changed anything,
however there has been one kernal upgrade since I last used
LinNeighborhood.  Not sure that would make a difference though.
   
If I try to mount as root, I get this error: standard in must be tty
   
Any ideas what's gone wrong?
  
   --
   redhat-list mailing list
   unsubscribe mailto:[EMAIL PROTECTED]
   https://listman.redhat.com/mailman/listinfo/redhat-list
 
 
 
 -- 
 redhat-list mailing list
 unsubscribe mailto:[EMAIL PROTECTED]
 https://listman.redhat.com/mailman/listinfo/redhat-list
 
-- 
J. Tim Willis
A Computer without Windows is like a chocolate cake without mustard.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: LinNeighborhood Issue?

2003-03-25 Thread Michael S. Dunsavage
This is from linNeighborhood's website  
(http://www.bnro.de/~schmidjo/faq/index.html#faq16)

libsmb based programs must *NOT* be setuid root 


We've heard about this error from RedHat 8.0 users and got some feedback how 
to avoid it (we don't run RH8, so it is untested from our side). One fix was 
posted from Pierre van Deijck. He set the following permissions to 'smbmnt' 
to avoid the problem:

 chmod 04711 smbmnt

 Another possible error could be that smbmount instead of or additional to 
smbmnt is set setuid root (posted by Bill Thompson). Please remove the setuid 
root bit from smbmount tool.

 Please test it out. 



On Tuesday 25 March 2003 12:17 pm, you wrote:
 Ok - now I'm a complete dork - I did the commands below, as root, and
 now I get the following message when I try to mount:

 libsmb based programs must *NOT* be setuid root. 1670:Connection to
 ISS-LAPTOP1 failed

 ??

 On Tue, 2003-03-25 at 10:42, Michael S. Dunsavage wrote:
  haha
 
  cd /usr/bin
 
  chmod +s smbmount
  chmod +s smbumount
 
  On Tuesday 25 March 2003 11:26 am, you wrote:
   Forgive me for being a dork, but how do I do that?
  
   On Tue, 2003-03-25 at 09:51, Michael S. Dunsavage wrote:
When I upgraded to  2.4.20 I had that problem.
   
As much as I hate making it suid I just went ahead and made smbmount
and smbumount as suid
   
On Tuesday 25 March 2003 10:33 am, you wrote:
 I've been trying to mount a filesystem on an XP machine and I get
 the following error:

 smbmnt must be installed suid root for direct user mounts
 (500,500) smbmnt failed:1

 Now, this has worked in the past.  I'm not sure if I changed
 anything, however there has been one kernal upgrade since I last
 used LinNeighborhood.  Not sure that would make a difference
 though.

 If I try to mount as root, I get this error: standard in must be
 tty

 Any ideas what's gone wrong?
   
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
 
  --
  redhat-list mailing list
  unsubscribe mailto:[EMAIL PROTECTED]
  https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: LinNeighborhood Issue?

2003-03-25 Thread Gordon Messmer
Tim Willis wrote:

I've been trying to mount a filesystem on an XP machine and I get the
following error: 

smbmnt must be installed suid root for direct user mounts (500,500)
smbmnt failed:1
Now, this has worked in the past.

That seems unlikely.  Unix systems don't let normal users go about 
mounting and unmounting filesystems.

I'm not sure if I changed anything,
however there has been one kernal upgrade since I last used
LinNeighborhood.
There's also been samba errata.  You probably applied it.  Doing so 
would have fixed the permissions on the samba client programs.

You need to have smbmnt suid root to mount shares, and smbumount 
needs to be suid to unmount shares.

chmod u+s /usr/bin/smbmnt
chmod u+s /usr/bin/smbumount


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list