Topics:
DVR
nvrec
Mplayer
Links
Misc
Commands
Humor
New user
uploaded files
|
(linux_command_line)-> (Parent)->smb command line mount |
submited by Russell Thu 23 Jun 05 |
to mount a samba share drive ( or a windows server)
smbmount //server/share temp -o ip=192.168.0.3,dmask=700,password=password
the "temp" directory must exist. Specifiy full path if not mounting in the local directory.
If the server will resolve the name properly you can omit ip=ipaddr( I put the ipaddr in scripts to avoid a failure)
dmask is set to make sure you can't create files others can't see (is this right?)
if password is blank use password=
if you want to be prompted for the password, omit password=
if you want to run this command as a user (other than root) grant system privliges on /usr/bin/smbmnt
chmod 4755 /usr/bin/smbmnt
|
Add comment or question...:
|