Many thanks to anyone who can help me solve this problem I am having:
I am working on an HP-UX system version B.11.11 and I have been tasked with finding a way to read a file on a remote server (cat, grep, etc.) using a specific userID without copying it or moving it to the local machine.
... (0 Replies)
Dear All
I am trying to write one shell which will be running through Cron which contain one SQL query. But I want to draw/fetch the Username password and Instance name (required to loging to the database) from one single file to run that SQL query . Also this file contain details of multiple... (2 Replies)
Hi,
I am new to perl scripting
Can you please let me know if you have an example on how to read the hidden password and read from it?
Thanks,
Mahesh (1 Reply)
Am reading userid and password.
code:
pmsg "Enter the userid \n"
read userid
pmsg "Enter password \n"
read password
pmsg "Enter Database name \n"
read database
When user type password, it a clear text. I want something like
******** or just a blank
any suggestion plz...
... (2 Replies)
Hi,
I have script which does the sftp function. In the script in one place it able to read the password from file and other place files with below error.
warning: has much more security than supplying the password in the clear
warning: on the command line.
Failed to get password: File... (0 Replies)
Hello all, I am i am trying to read username password. Bassicaly, i have file called sidlist and it has my database name, username and password....
looks something like this....
db1, user1, pass1
db2, user2, pass2
db3, user3, pass4
but i dont know how to make it work, until i get... (4 Replies)
Hello All,
i am a newbie and need some help when reading a csv file in a bourne shell script. I want to read 10 lines, then wait for a minute and then do a reading of another 10 lines and so on in the same way. I want to do this till the end of file.
Any inputs are appreciated
... (3 Replies)
Hi
We send *.csv with sensitive data to our customers. Our customers open those files with Excel.
A new requirement is that we password protect those CSV files.
I thought to pack them with ZIP and assign a password to the archive.
But Solaris 10 can't encrypt ZIP files.
$ zip -P... (12 Replies)
Hi Experts,
I am writing a shell script (for displaying disk space details) which is logging to 15 different servers using following command.
ssh userid@servername
It is prompting me for password for all 15 servers when I manually run it.
However , soon I would like to schedule this script... (4 Replies)
I have a shell script to run set of commands every week . I dont have a root access on the server but I can run the commands using pbrun
cat myscript.sh
*
*
*
pbrun command....
each time I run the script , it asks me for my password then it executes fine.
./myscript.sh
Password... (7 Replies)
Discussion started by: Sara_84
7 Replies
LEARN ABOUT SUNOS
asadmin-start-instance
asadmin-start-instance(1AS) User Commands asadmin-start-instance(1AS)NAME
asadmin-start-instance, start-instance - starts a server instance and all the services associated with it
SYNOPSIS
start-instance [--user admin_user] [--password admin_password] [--host local_host] [--port 4848] [--local=false] [--domain domain_name]
[--debug=false] [--passwordfile filename] [--secure|-s] instance_name
Use the start-instance command to start an instance with the instance name you specify. The start-instance command can be run both locally
and remotely. To start locally, with a domain name identified, the named instance must already exist within that domain. To start
remotely, the administration server must be running on the hostname and port number specified. The user authenticates using the password
identified for the administration server.
OPTIONS --user administrative user associated for the instance.
--password administrative password corresponding to the administrative user.
--host host name of the machine hosting the administrative instance.
--port administrative port number associated with the administrative host.
--local determines if the command should delegate the request to administrative instance or run locally.
--domain name of the domain.
--debug starts the instance in debug mode.
--passwordfile file containing passwords appropriate for the command (e.g., administrative instance).
--secure if true, uses SSL/TLS to communicate with the administrative instance.
OPERANDS
instance_name name of the instance to be started.
Example 1: Using start-instance in local mode
asadmin> start-instance --domain domain1 admin-server
Instance admin-server started
Where: the admin-server instance is started on the local domain1 domain.
Example 2: Using start-instance in remote mode
asadmin> start-instance --user admin --password bluestar --host localhost --port 4848 server1
Instance server1 started
Where: the server1 instance is started on the remote domain associated with the specified user, password, host, and port number.
EXIT STATUS
0 command executed successfully
1 error in executing the command
INTERFACE EQUIVALENT
Server Instance page
asadmin-delete-instance(1AS), asadmin-create-instance(1AS), asadmin-stop-instance(1AS), asadmin-restart-instance(1AS), asadmin-start-
appserv(1AS), asadmin-stop-appserv(1AS), asadmin-start-domain(1AS),.asadmin-stop-domain(1AS)J2EE 1.4 SDK March 2004 asadmin-start-instance(1AS)