LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-20-2001, 06:50 AM   #1
whepin
Member
 
Registered: Dec 2001
Location: thunder bay, on, Canada
Distribution: Windows vista & Ubuntu
Posts: 113

Rep: Reputation: 15
what is the diffrence between smbmount and smbmnt,Please answer me!Thanks!


what does [smbmount กฐ\\\\linuxserver\\test" -c 'mount /mnt/smbfs/test -u 500 -g 500' ]mean?why " \\\\."is used.
And what is smbmnt /smbfs/mnt/test -u 500 -g 500 -f 744 -d 744 .
" smbmnt is a helper application to used by the smbmount program to do the actual mounting of smb shares.smbmnt is meant to be installed setuid root so that normal users can mount their smb shares.I t checks whether the usrs has wtilre permissions on the mount point and then mounts the dlirctory. "what does this mean?
 
Old 12-20-2001, 12:34 PM   #2
Steave
Member
 
Registered: Jul 2001
Location: Braunschweig, Germany
Distribution: Suse 7.2
Posts: 184

Rep: Reputation: 30
It wants to say that smbmnt is an application that is not thought to be used by any user. The users are supposed to use smbmount (which will then call smbmnt).
The setuid root stuff means that smbmnt will determine wether you are allowed to mount a share not on its own priviliges, but on the priviliges of the share.

"\" is an "escape character" this means, any character that is preceded by a \ will be interpreted as is. For example if you want to pass a program some options that includes a white space, you will have to escape it: my\ option
Here, "\" itself needs to be escaped. So to achieve an input of "\\linuxserver\test" you need to escape all three backslashes: \\\\linuxserver\\test

HTH, Steave.
 
  


Reply



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
smbmount is ignoring file permisions, I've searched, but have no answer lostboy Linux - General 6 10-15-2005 10:24 AM
question about smbmnt/smbmount Lleb_KCir Linux - General 7 11-23-2004 01:16 AM
smbmnt not setting right uid mdkelly Linux - Networking 0 11-12-2004 10:25 AM
smbmnt DoubleOTeC Linux - Networking 2 08-13-2004 11:01 AM
smbmnt - setuid root harperonline Linux - General 1 11-16-2003 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration