Sponsored Content
Top Forums Shell Programming and Scripting help to access windows share from linux box Post 302563746 by robo on Wednesday 12th of October 2011 05:20:46 AM
Old 10-12-2011
Quote:
Originally Posted by jim mcnamara
Probably the fastest way is to mount the share using the cifs filesystem on Linux.
It gets accessed with a passwd, you can have passwords on a per user basis, or use LDAP (active directory).

Start here:

Linux CIFS Client (historic site)

Then follow the link back to samba for what you need.

the first problem here is to access file from a windows using local admin user account from a windows machine

existing script
Code:
 
export TEST=\\\windowsshare

is there any way to pass login credentials while exporting a path from windows from a shell script
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to Reboot a linux box from a windows box

HI All, I need a script to reboot a linux box from a windows box. The script needs to run automatically whenever a sitescope alerts with an error message. Have searched for this in the forums, but could not get something relative. Pls. let me know the various alternatives we have to do... (2 Replies)
Discussion started by: Crazy_murli
2 Replies

2. AIX

Access windows share from AIX

How in AIX 5.1 can I access a windows shared drive without using NFS. I have looked into cifs but I can not seem to find the package that I need to install for AIX 5.1 if anyone can give me any further direction please let me know. (2 Replies)
Discussion started by: chefsride
2 Replies

3. AIX

How to share a directory in AIX to access from Solaris and windows?

Hi All, I am basically new to this forum as well as AIX. To share some huge files between 2 servers I thought of creating a shared Directory in my AIX machine to access it in Solaris. I am very new to this AIX. Help me out how can u share a directory in AIX to access (mount) it on Solaris. Hope... (2 Replies)
Discussion started by: babuchoudary_g
2 Replies

4. AIX

Access AIX NFS Share from Windows Server 2008

Hi all, Hopefully this question hasn't been asked a thousand times. I am trying to connect a Windows Server to an exported NFS share which resides on an AIX box. I think the directory is exported correctly from the AIX side but I can't verify that because I didn't do it myself. On the... (6 Replies)
Discussion started by: ThePistonDoctor
6 Replies

5. AIX

AIX to access Windows share

Are there any special requirements/tools needed for a AIX server to see (copy data) a Windows share? Only need 1-way copy (Windows-to-AIX). (8 Replies)
Discussion started by: kirkb
8 Replies

6. Solaris

Can't access NFS Share on Solaris Server from a Linux Client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. & then ran the following On the client machine, while running the mount command, I am... (0 Replies)
Discussion started by: SunilB2011
0 Replies

7. Red Hat

Unable to access NFS share on Solaris Server from Linux client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. share -F nfs -o rw /var/share & then ran the following svcadm -v enable -r... (3 Replies)
Discussion started by: SunilB2011
3 Replies

8. Red Hat

How to access redhat Linux box graphically from windows box?

Hi I have a linux box and need to access from windows graphically # uname -a Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux What components do I need to install on Linux and windows to do that? TIA (6 Replies)
Discussion started by: magnus29
6 Replies

9. UNIX for Beginners Questions & Answers

Samba Share access from windows

Hello, I want to connect to two samba shares both on the same Linux box but each with a different username from a windows server 2008. I created 2 gpos to connect and I can connect to the shares individually via net use command, but once I entered credentials for one of the shares, it seems I... (1 Reply)
Discussion started by: zaineyma
1 Replies

10. Windows & DOS: Issues & Discussions

Unable to access the CIFS share folder on windows by IP

Hi All Actually I have NAS Storage and Suddenly I got problem Unable to access the CIFS share folder on windows host, however the IP is pinging and the share is accessible via share name. The share can be accessed via share name only on Windows higher Windows Versions. Any help guys (4 Replies)
Discussion started by: Abu_SM
4 Replies
Arrange(1x)						   AfterStep X11 window manager 					       Arrange(1x)

NAME
Arrange - AfterStep module for arranging windows in a tiling or cascading order CONFIGURATION OPTIONS
DESCRIPTION
Arrange was developed to replace Tile and Cascade which were present in AfterStep 1.8 and stopped working with the introduction of After- Step 2.0. Like Tile and Cascade Arrange can be used to tile or cascade windows subject to certain constraints. By default Arrange will cascade windows located on the current screen. OPTIONS
-a Causes all window styles to be affected, even ones with the WindowListSkip style. -alldesks Causes windows on all desks to be effected. -desk Causes all windows on the desk to be cascaded instead of the current screen only. -H Causes windows to be tiled horizontaly. This will only have an effect if -tile is passed. -incx arg Specifies a horizontal increment which is successively added to arranged windows. arg is a percentage of screen width, or pixel value if a p is suffixed. Default is 20p. -incy arg Specifies a vertical increment which is successively added to arranged windows. arg is a percentage of screen height, or pixel value if a p is suffixed. Default is 20p. -m Causes maximized windows to also be affected (implied by -all). -mn arg Tiles up to arg windows in tile direction. If more windows exist, a new direction row or column is created (in effect, a matrix is created). -noraise Inhibits window raising, leaving the depth ordering intact. -nostretch Inhibits window expansion when using the -resize option. Win- dows will only shrink to fit the maximal width and height (if given). -pattern arg Only arrange windows matching the supplied pattern. -r Reverses the window sequence. -resize Forces all windows to resize to the constrained width and height (if given). -s Causes sticky windows to also be affected (implied by -all). -t Causes transient windows to also be affected (implied by -all). -tile Causes windows to be tiled not cascaded. -u Causes untitled windows to also be affected (implied by -all). INVOCATION
Arrange can be invoked from the autoexec file or by binding the action "Module Arrange [args]" to a key-stroke in a feel file. CONFIGURATION OPTIONS
Command-line arguments passed to Arrange are described in the OPTIONS section. Up to four numbers can be placed on the command line that are not switches. The first pair specify an x and y offset to start the first window (default is 0, 0). The second pair specify an absolute coordi- nate reference denoting the lower right bounding box for tiling. If any number is suffixed with the letter p, then it is taken to be a pixel value, otherwise it is interpreted as a screen percentage. Speci- fying zero for any parameter is equivalent to not specifying it. This invocation will horizontally tile windows with a bounding box which starts at 10 by 10 percent into and down the screen and ends at 90 by 90 percent into and down the screen. Arrange 10 10 90 90 -tile -H It is probably not a good idea to delete windows while windows are being arranged. 3rd Berkeley Distribution AfterStep v.2.2.11 Arrange(1x)
All times are GMT -4. The time now is 08:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy