Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-15-2002, 04:46 PM   #1
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15
RH7.3 and smbmount as normal user

When using RH 7.2 you could (After setting the suid bit on /usr/bin/smbmount) as a normal user mount an smb share with the following command

smbmount //server/share /mnt/server

With RH7.3 when i do that i get the following error (After setting the suid bit)

libsmb based programs must *NOT* be suid root.
1644: Connection to server failed
SMB connection failed

When i leave the suid bit it tells me to set it
Old 05-16-2002, 05:16 PM   #2
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
How about adding the entries to fstab so that users can use mount?

//newton/dvd /mnt/smb/newton/dvd smbfs noauto,user,_netdev 0 0
//newton/cdrw /mnt/smb/newton/cdrw smbfs noauto,user,_netdev 0 0
//newton/c /mnt/smb/newton/c smbfs noauto,user,_netdev 0 0
//newton/alex /mnt/smb/newton/alex smbfs noauto,user,_netdev 0 0
//newton/baseef /mnt/smb/newton/baseef smbfs noauto,user,_netdev 0 0
Old 02-21-2003, 03:19 PM   #3
LQ Newbie
Registered: Jan 2003
Posts: 27

Rep: Reputation: 15

i'm getting the same error. could you please explain to me what fstab is and how to edit it. thanks

Old 02-24-2003, 11:38 PM   #4
LQ Newbie
Registered: Jan 2003
Posts: 27

Rep: Reputation: 15

libsmb ERROR!!!! i figured it out. This is for those who need help.
I've only tried this on RH8.0

if you're trying to mount folders with a user (not root) then:

chmod 4777 /path/to/smbmnt (usually it's "/usr/bin/smbmnt")

make sure that you

chmod 700 /path/to/smbmount and
chmod 700 /path/to/smbumount


go to preferences and make sure that you are mounting to the default folder:


It should work after that.

Last edited by fernin8r; 02-24-2003 at 11:41 PM.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i run smbmount automatically when a user login rddreamz Linux - Networking 4 02-18-2006 04:10 AM
Running super user commands as normal user mickyg Linux - Security 5 10-14-2005 08:25 PM
smbmount not mounting when logged on as a user hunan6 Slackware 1 02-05-2005 09:27 PM
SMBMount as user lcdial Linux - Networking 6 11-03-2004 04:58 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-08-2004 12:11 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:14 PM.

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