Autologin Shell


 
Thread Tools Search this Thread
Top Forums Web Development Autologin Shell
# 1  
Old 07-07-2012
Autologin Shell

Hello friends,

I'm working on portal for Auto login servers without asking for credentials. Credentials are stored in database/file. Script fetches credentials from db/file and autologin the server.

I have installed AjaxTerm for it but don't know exactly how to login remote servers using it.
Also stuck at autologin server shell.

Anyone has ideas and suggestions for it ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Pass C shell array to another C shell script(csh) and shell(sh)

Dear Friends, Please help me on this my script name is send.csh In this i have written the statement like this set args = ( city state country price ) I want to pass this array to another c shell called receiver.csh. and i want to use it in this c shell or how to pass to... (2 Replies)
Discussion started by: SA_Palani
2 Replies

2. Solaris

Autologin and vnc - Solaris 10

Hi guys, First of all I would like to thank you for reading my post. My question is about having autologin and VNC. I already configure VNC that works perfectly using the following procedure: 1. svcadm enable svc:/application/x11/xvnc-inetd:default 2. vi /etc/services vnc-server... (0 Replies)
Discussion started by: dennis3
0 Replies

3. Shell Programming and Scripting

Shell : sftp autologin not working ...

Hi folks, for sftp autologin, while browing in unix.com forums.. I got the below code. I tried to execute that code but no luck. #!/bin/sh HOST=yourservername USER=yourusername PASS=yourpassword echo "sftping file ..." lftp -u ${USER},${PASS} sftp://${HOST} <<EOF cd /tmp get tmpfile... (7 Replies)
Discussion started by: scriptscript
7 Replies

4. Shell Programming and Scripting

sftp autologin is working but ...

Dears, I am new to linux scripting and I was look for a way to auto login to a server using sftp to download a file. I found one and it is working fine. But i don't know the meaning of <<EOF in the code. Any one explain it to me: #!/bin/sh HOST=yourservername USER=yourusername ... (1 Reply)
Discussion started by: torabi
1 Replies

5. UNIX for Dummies Questions & Answers

ssh autologin issue when both machines are having same ~home directory

Hi, I have two machines. M1 and M2 and having a generic id catadm, these two machines having common mount of /u/catadm directory. with this setup, ssh autologin is failing for me and asking me to enter password when i try autologin using this generc id from M1 to M2 catadm-M1$ ssh... (3 Replies)
Discussion started by: rbalaj16
3 Replies

6. UNIX for Dummies Questions & Answers

Horde autologin with cron job

I have created a filter in cPanel Horde email account, but the filter only work when someone log into the inbox. May I know if I can setup a cron job so the system able to autologin to my cPanel Horde email account inbox? Anyone can help? Thanks, Sean (12 Replies)
Discussion started by: seangtc
12 Replies

7. Linux

How to Start a Shell as Login shell instead of ordinary shell

Hi I tried with bash --login option. but the output is siva:~$ bash --login siva:~$ is there any way to make the shell ask for user id and password ( and login as different user instead of using sudo / su ) Thx in advance Siva (3 Replies)
Discussion started by: Sivaswami
3 Replies

8. Linux

How to do autologin for telnet ?

Hi, I am interested in logging into some systems via telnet automatically. I do not want to send any username & password by hand or by script. Security is not an issue. It is just a home network. How do I do it ?. Is there any file that telnet daemon reads and configures itself to allow... (10 Replies)
Discussion started by: RipClaw
10 Replies

9. SuSE

Autologin

How to autologin as any user at SuSe Linux server startup ? (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies

10. UNIX for Dummies Questions & Answers

sftp/scp autologin

Ive have 2 unix machines i need to transfer files from one to the other. Im trying to use either sftp or scp as ftp is out of the question. Ive created the RSA key on one machine and copied it across but im still prompted for a password. Assume this is due to the fact that im not using the same ID... (8 Replies)
Discussion started by: devid
8 Replies
Login or Register to Ask a Question
CIFSCREDS(1)															      CIFSCREDS(1)

NAME
cifscreds - manage NTLM credentials in kernel keyring SYNOPSIS
cifscreds add|clear|clearall|update [-u username] [-d] host|domain DESCRIPTION
The cifscreds program is a tool for managing credentials (username and password) for the purpose of establishing sessions in multiuser mounts. When a cifs filesystem is mounted with the "multiuser" option, and does not use krb5 authentication, it needs to be able to get the credentials for each user from somewhere. The cifscreds program is the tool used to provide these credentials to the kernel. The first non-option argument to cifscreds is a command (see the COMMANDS section below). The second non-option argument is a hostname or address, or an NT domain name. COMMANDS
add Add credentials to the kernel to be used for connecting to the given server, or servers in the given domain. clear Clear credentials for a particular host or domain from the kernel. clearall Clear all cifs credentials from the kernel. update Update stored credentials in the kernel with a new username and password. OPTIONS
-d, --domain The provided host/domain argument is a NT domainname. Ordinarily the second argument provided to cifscreds is treated as a hostname or IP address. This option causes the cifscreds program to treat that argument as an NT domainname instead. If there are not host specific credentials for the mounted server, then the kernel will next look for a set of domain credentials equivalent to the domain= option provided at mount time. -u, --username Ordinarily, the username is derived from the unix username of the user adding the credentials. This option allows the user to substitute a different username. NOTES
The cifscreds utility requires a kernel built with support for the login key type. That key type was added in v3.3 in mainline Linux kernels. Since cifscreds adds keys to the session keyring, it is highly recommended that one use pam_keyinit to ensure that a session keyring is established at login time. SEE ALSO
pam_keyinit(8) AUTHORS
The cifscreds program was originally developed by Igor Druzhinin <jaxbrigs@gmail.com>. This manpage and a redesign of the code was done by Jeff Layton <jlayton@samba.org>. 2012-07-17 CIFSCREDS(1)