LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-19-2007, 02:39 AM   #1
darklink2058
Member
 
Registered: Apr 2006
Posts: 75

Rep: Reputation: 15
smbmount AND normal user


Hello

I am attempting to mount using the command "smbmount".
Well with root I can mount without problem but, when I try in my normal user, I get this message:

Code:
$ smbmount "\\\\VMWIN2000\vmwin2000" /mnt/vmwin2000/
Password: 
smbmnt must be installed suid root for direct user mounts (1000,1000)
smbmnt failed: 1
What do I need to change?
 
Old 07-19-2007, 04:53 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 469

Rep: Reputation: 40
chmod +s /usr/bin/smbmount
 
Old 07-19-2007, 12:32 PM   #3
darklink2058
Member
 
Registered: Apr 2006
Posts: 75

Original Poster
Rep: Reputation: 15
OK But now appear this:

Code:
$ smbmount "\\\\VMWIN2000\vmwin2000" /mnt/vmwin2000/
libsmb based programs must *NOT* be setuid root.
4087: Connection to VMWIN2000 failed
SMB connection failed
 
Old 07-19-2007, 12:46 PM   #4
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 454

Rep: Reputation: 35
Change back your permissions for smbmount:

Code:
chmod -s /usr/bin/smbmount
and change this (smbumount if you want to unmount )

Code:
chmod +s /usr/bin/smbmnt /usr/bin/smbumount
What should be SUID is smbmnt NOT smbmount... it can be confusing. Issue the smbmount command as user for mounting, and it should be good.

Last edited by mattydee; 07-19-2007 at 12:49 PM.
 
  


Reply

Tags
smbmount


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
smbmount as a normal user gokulnath Linux - Networking 5 11-30-2006 08:43 AM
smbmount not mounting when logged on as a user hunan6 Slackware 1 02-05-2005 08:27 PM
SMBMount as user lcdial Linux - Networking 6 11-03-2004 03:58 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
RH7.3 and smbmount as normal user Sylhouette Linux - Software 3 02-24-2003 10:38 PM


All times are GMT -5. The time now is 07:15 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration