08-07-2014
How to automatically store/cache password for kerberos authentication
Hi All,
I am currently writing script to get the details for lot of hosts from jump server. Means each and every time it will ssh to the host and get the information. To achieve that I need to automatically accept the password from Jump server to that main hosts. We are using kerberos password to access the hosts. Pls let me know how to cache the password & accept it automatically ? Pls advice
Regards
Kannan
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
We've configured Kerberos to authenticate AIX 5.3 users with Active Directory and I now have to port an application written in C to the new security model.
Currently, our users can login as normal and running a "klist" command reveals that they have been successfully granted a ticket. ... (2 Replies)
Discussion started by: phykell
2 Replies
2. Linux
Hi,
Anyone can point me a good link to setup IPSec using racoon IKE which uses gssapi_krb authentication method?
I have a debain linux box and Windows 2003R2 system, and I want them to communicate using IPSec.
Thanks,
Emily. (0 Replies)
Discussion started by: egyfan
0 Replies
3. Programming
I am in the process of developing a application that needs to be able to authenticate users details with a kerberos server, which is proving to be rather difficult. There seems to be a lack of good information on how to do this using the MIT kerberos api.
Can anyone point me in the right... (0 Replies)
Discussion started by: mshindo
0 Replies
4. Red Hat
Hi,
I've configured two linux boxes to authenticate against Windows Active Directory using Kerberos while retrieving authorization data (uids, gids ,,,)from NIS.
The problem I ran into with my PAM configuration is that all authentication attempts succeed in order.i.e. if someone tried his... (0 Replies)
Discussion started by: geek.ksa
0 Replies
5. AIX
I've configured an AIX 5.3 client to use our Windows AD for user authentication via Kerberos.
When I try to ssh to the server using the AD credentials, I eventually get access but not after getting prompted for a password 3 times (which doesn't work) followed by an accepted login on the 4th... (3 Replies)
Discussion started by: jmroderick
3 Replies
6. UNIX for Dummies Questions & Answers
Hi ,
I am trying to authenticate my id on client server with Kerberos and receiving below error
kinit rpagadala@BDC.soft.net
kinit: Cannot contact any KDC for realm 'BDC.soft.net' while getting initial credentials
Please find krb5.conf on the client server configuration which is... (1 Reply)
Discussion started by: Tomlight
1 Replies
7. Shell Programming and Scripting
I am installing Authen::Krb5::Easy and during make test I am getting the follwing error :
kinit not ok 2
error was: could not get initial credentials: Cannot contact any KDC for requested realm
we are stroring krb5.conf in diff location ( not in /etc/krb5.conf) , but, PERL is... (1 Reply)
Discussion started by: talashil
1 Replies
8. IP Networking
RHEL 7.0, IPV6
Scenario:
I have routed specific network using network scripts.
1. "ip -6 route show" shows that route has been added. ( with metric 1024)
2. Ping of the specific IP through that route is successful.
3. Now after few days, for some reason, we see that cache route appears for... (3 Replies)
Discussion started by: msr1981
3 Replies
LEARN ABOUT SUNOS
create-virtual-server
asadmin-create-virtual-server(1AS) User Commands asadmin-create-virtual-server(1AS)
NAME
asadmin-create-virtual-server, create-virtual-server - adds the named virtual server
SYNOPSIS
create-virtual-server --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile file-
name] [--terse=false] [--echo=false] [--interactive=true] --hosts hosts [--httplisteners http_listeners] [--defaultwebmodule
default_web_module] [--state on] [--logfile log_file] [--property (name=value)[:name=value]*] virtual_server_id
Creates the named virtual server. Virtualization in the Application Server allows multiple URL domains to be served by the same HTTP server
process which is listening on multiple host addresses. If the application is available at two virtual servers, they still share the same
physical resource pools.
This command is supported in remote mode only.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--hosts a comma separated (,) list of values allowed in the host request header to select the current virtual server. Each
virtual server that is configured to the same connection group must have a unique hosts value for that group.
--httplisteners optional; a comma separated (,) list of HTTP listener IDs. Required only for a virtual server that is not the
default virtual server.
--defaultwebmodule standalone web module associated with this virtual server by default.
--state determines whether a virtual server is active (on) or inactive (off or disabled). Default is active (on). When
inactive, the virtual server does not service requests.
--logfile name of the file where the log has to be written to.
--property optional attributes name/value pairs for configuring the connection pool.
OPERANDS
virtual_server_id identifies the unique ID for the virtual server to be created. This virtual server ID cannot begin with a number.
Example 1: Using create-virtual-server
asadmin> create-virtual-server --user admin1 --password adminadmin1
--host pigeon --port 5001 --httplisteners http-listener-1 --defaultwebmodule simple
--state on --logfile server.log --property User=admin:Password=admin
--hosts sample1,sample2 sample_vs1
Command create-virtual-server executed successfully
Where sample_vs1 is the virtual server created.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-delete-virtual-server(1AS), asadmin-list-virtual-server(1AS)
J2EE 1.4 SDK March 2004 asadmin-create-virtual-server(1AS)