Hi H@foorsa.biz,
By default, my company is using Samba Server, I can manually access the files thorough Samba Server. However, my concern is I just want to access through files through command in Unix's terminal, example I want to access my Win files in Unix's terminal just by typing /c/jessy/filename.
Linux among others has this ability, though it's not the same everywhere.
In Linux you could do something like this:
...which would try to contact the computer at 192.168.0.173, and mount the share named 'share' onto the local folder /share/, providing windows the username of 'username' and password of 'whatever', and showing all the files as belonging to uid 1000 gid 100.
As an aside, exporting your entire C drive is probably a security no-no.
I ran a search for "Unix Dos" in the search field box and checked a few pages' results but did not find what I was looking for. I am trying to find out if there are choices of applications that would enable using Unix commands inside a Windows environment, particularly the DOS Prompt. The only... (2 Replies)
I have created get_list.bat file containing following line:
dir /B /O-d >file_list.txt
I am executing ftp command from Unix box and transferring get_list.bat file to windows server.
In my next ftp command I am trying to execute this test.bat file by entering this line:
get_list
or by... (9 Replies)
I would like to write a script running on UNIX to purge files on Windows NT.
How can access directory structure on NT through Unix?
I am new to UNIX world. Could someone help me with the code.
Thanks! (4 Replies)
Hello Moto
I hope someone can help
We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers..
a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
I run an application that creates a hostname_log.txt file on the c:\ of each windows workstation.
At the end of each day, these log files are FTP'd to a directory on a UNIX box.
When I run "ls -lrt", the timestamp that is displayed is the timestamp that the FTP occured, not the timestamp... (2 Replies)
Hi,
I am new to this forum and this is my first post.
I want to know that if I make an application in Tk (version of Tcl to create GUI) in windows and want to run to UNIX server, is it possible ?
In other words, can I access a UNIX server through a Tk application running on windows ?
... (1 Reply)
Hello,
I work on Windows and I use Putty to access a remote UNIX server.
I am trying to build a shell script that will have as main task to open the
Windows command prompt (cmd) and run some Windows commands thereafter. The commands are actually file transfer commands that will download a file... (14 Replies)
I want to look up log files on the unix server. My machine is windows 7 pro.
I can view them from windows explorer but it is slow because huge amount logs files there.
Is there a way or tools to quickly access it?
Thanks. (7 Replies)
Hi Folks,
I have a file name abc.xml in my windows machine at the location c:\ytr\abc.xml
which I want to place at the unix box machine inside cde directory.. at the following location that is /opt/app/cde/
now the credentials of unix box are
abc345 -->(dummyid)
ftyiu88--->(dummy passwd)
... (4 Replies)
Discussion started by: punpun66
4 Replies
LEARN ABOUT OPENDARWIN
mount_smbfs
MOUNT_SMBFS(8) BSD System Manager's Manual MOUNT_SMBFS(8)NAME
mount_smbfs -- mounts a shared resource from an SMB file server
SYNOPSIS
mount_smbfs [-I host] [-M cmode[/smode]] [-N] [-O cowner[:cgroup]/sowner[:sgroup]] [-R retrycount] [-T timeout] [-U user] [-W workgroup]
[-d mode] [-f mode] [-g gid] [-h] [-n opt] [-u uid] //[workgroup;][user[password]@] server[/share] path
DESCRIPTION
The mount_smbfs command mounts a share from a remote server using SMB/CIFS protocol.
The options are:
-I host
Do not use NetBIOS name resolver and connect directly to host, which can be either a valid DNS name or an IP address.
-M cmode[/smode]
Assign access rights to the newly created connection.
-N Do not ask for a password. At run time, mount_smbfs reads the ~/.nsmbrc file for additional configuration parameters and a password.
If no password is found the mount_smbfs prompts for it.
-O cowner[:cgroup]/sowner[:sgroup]
Assign owner/group attributes to the newly created connection.
-R retrycount
How many retries should be done before the SMB requester decides to drop the connection.
-T timeout
Timeout in seconds for each request.
-U user
Specifies the user name to be used in the authentication request.
-W workgroup
Specifies the workgroup to be used in the authentication request.
-f mode, -d mode
Specify permissions that should be assigned to files and directories. The values must be specified as octal numbers. Default value
for the file mode is taken from mount point, default value for the dir mode adds execute permission where the file mode gives read
permission.
Note that these permissions can differ from the rights granted by SMB server.
-h Prints a help message, much like the SYNOPSIS above.
-n opt Set opt option to affect file name lookups. opt can be one of the following:
Value Meaning
long No long names. Server supports only "8.3" format.
-u uid, -g gid
User id and group id assigned to files. The default is owner and group id from directory where the volume is mounted.
//[workgroup;][user[password]@] server[/share]
The mount_smbfs command will use server as the NetBIOS name of remote computer, user as the remote user name and share as the
resource name on a remote server. Workgroup and/or password may be specified here. If user is omitted the logged in user id will be
used. Omitting share is an error when mount_smbfs is run from the command line, otherwise a browsing dialogue is presented.
path Path to mount point.
FILES
~/.nsmbrc Keeps static parameters for connections and other information. See ./examples/dot.nsmbrc for details.
EXAMPLES
The following illustrate how to connect to an SMB server SAMBA as user GUEST to mount PUBLIC:
mount_smbfs -I samba.mydomain.com //guest@samba/public /smb/public
BUGS
Please report bugs to Apple.
AUTHORS
Boris Popov <bp@butya.kz>, <bp@freebsd.org>
FreeBSD Mar 10, 2000 FreeBSD