Hi
i am writing a script in unix where after some validations, i require the script to connect to a windows server and then kich off a batch file there. i tried ftp and got the error message that "the remote host refused an attempted connect operation".
I am able to connect to this unix... (4 Replies)
Hi ,
I am new to shell script.
I have to write a shell script which will login to remote server then check for the space there. There 50 remote ervers all are having different password.
Could you please suggest me some way. I am working on solaris box.
Thanks in advance (2 Replies)
I have a task requiring that USER_A run a script, which connects to HOST_B as USER_B and does not ask for a password.
If I am logged in on HOST_A as USER_B, I can connect to HOST_B without a password, no problem. However, if I try running ssh with the command line "ssh USER_B@HOST_B" while... (3 Replies)
Hi
I need to connect to a ServerB from Server A
eg: Server A : 172.20.273.51, un: xxx, pwd: xxx
Server B: 172.20.273.51, un:yyy, pwd: yyy
Need to copy the files(with name starts with IME*) from /grid/pc/IME*
to /grid/pc/archive
What will be the command or script to... (3 Replies)
I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd"
i am trying in this manner "
ssh username@servername "cd... (5 Replies)
I need to connect to a ftp server-1 from linux server-2 and copy/get a file from server-1 which follows a name pattern of FILENAME* (located on the root directory) and copy on a directory on server-2. Later, I have to use this file for ETL loading... For this I tried using as below
/usr/bin/ftp... (8 Replies)
I am trying to connect to remote server in hp-ux, using sftp command (using sftp username@ip and password ) able to connect to remote server but, in this case sftp prompt for password and user need to manually enter it.
I want sftp can read a password define in script or from file, so it can... (1 Reply)
Hi my name is Manju.
->I have configure the two way authentication on my linux server.
->Now I am able to apply two way authenticator on particuler user.
->Now I want to map this linux server to my AD server.
->Kindly tell me how to map AD(Active Directory) with this linux server.
... (0 Replies)
Discussion started by: manjusharma128
0 Replies
LEARN ABOUT REDHAT
pqlist
PQLIST(1) pqlist PQLIST(1)NAME
pqlist - List available NetWare print queues
SYNOPSIS
pqlist [ -h ] [ -S server ] [ -U user name ] [ -P password
| -n ] [ -C ] [ pattern ]
DESCRIPTION
pqlist lists all the NetWare print queues available to you on some server. If you are already connected to some server, this one is used.
If pqlist does not print to a tty, the decorative header line is not printed, so that you can count the printing queue available on your
server by doing
pqlist -S server | wc -l
pqlist looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information.
Please note that the access permissions of .nwclient MUST be 600, for security reasons.
OPTIONS
pattern
pattern is used to list only selected queues. You can use wildcards in the pattern, but you have to be careful to prevent shell inter-
pretation of wildcards like '*'.
-h
-h is used to print out a short help text.
-S server
server is the name of the server you want to use.
-U user name
If the user name your NetWare administrator gave to you differs from your unix user-id, you should use -U to tell the server about your
NetWare user name.
-P password
You may want to give the password required by the server on the command line. You should be careful about using passwords in scripts.
-n
-n should be given to mount shares which do not require a password to log in.
If neither -n nor -P are given, pqlist prompts for a password.
-C
By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off
this conversion by -C.
SEE ALSO nwclient(5), nprint(1), slist(1), ncpmount(8), ncpumount(8)CREDITS
pqlist was written by Volker Lendecke (lendecke@math.uni-goettingen.de)
pqlist 01/10/1996 PQLIST(1)