Login to diff server w/o prompts for passwd


 
Thread Tools Search this Thread
Operating Systems HP-UX Login to diff server w/o prompts for passwd
# 1  
Old 12-09-2005
Login to diff server w/o prompts for passwd

Is there any way to login to another server with out getting prompted for the password? Is there a way to embed the password in a script and use either telnet or rlogin (or some other prg)?

I need to do some file manipulation on several servers for out ORACLE 10g RAC and need to automated so that our ops-personnel can do this work. This has to be "idiot-proof", i.e. no user (ops) input.

THX in advance for any advice!
# 2  
Old 12-10-2005
see "man rsh" (remsh on HP), "man ssh" --- search for setup tips in this forum ... i always try to avoid putting in passwords in scripts or files as that is asking for disaster ... good luck!
# 3  
Old 12-12-2005
I agree with JustIce. You will want to use SSH. You can set up an account which is trusted between two servers then that account can ssh from one to the other without ever being asked for a password. Where I work we use that technique to allow scripts run on our admin server to push files to other servers in a cron job without needing any input.
# 4  
Old 12-12-2005
You can also #rlogin to the machine once it gets trusted.
# 5  
Old 12-12-2005
Quote:
Originally Posted by catwomen
You can also #rlogin to the machine once it gets trusted.
actually, you don't even need that .... running just "remsh $hostname" without any other arguments will get you a remote shell ...

however, the op wants to automate a task as "idiot-proof" as possible and a remote interactive shell --- whether by remsh, rlogin or ssh --- is not the best thing to do in this case ...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Logging to server to get etc/passwd file of all 300 server

i am new to scripting ,i need bash script in jump server to pull the /etc/passwd of all servers and the ssh keys are installed (3 Replies)
Discussion started by: profiles
3 Replies

2. AIX

Not able to login AIX server but able to login thru console.

Hi, i am able to login to AX server thru console but not able to login directly thru server. also the server is not ping-able with other server. filesystem is fine. and OS version is AIX 5.3. please let me know if you need any specific log. thx in advance. Scriptor (2 Replies)
Discussion started by: scriptor
2 Replies

3. Solaris

Passwd -f locks out login

hello; I have inherited a SunOS sjcorpftp 5.10 Generic_118855-36 i86pc i386 i86pc whenever someone needs a new password, I change it via "passwd username" then "passwd -f username" so they can change their password on my only sun sparc 5.9 you can "accessed denied" when you... (0 Replies)
Discussion started by: ikeleong
0 Replies

4. Solaris

Why unix passwd are hidden when while login

Hi, I might be stupid here to ask such question but I was just curious on ssh login to unix boxes (solaris). When we login to unix box, it asks for password, but while typing the password, the password characters (like asterik or anything) seems hidden. why it is so? Thanks (3 Replies)
Discussion started by: snchaudhari2
3 Replies

5. AIX

User Account Login Login on your AIX server

I want to learn AIX. I would like to find someone who would be willing to give me a login to their AIX home lab server. My intent is to poke around and discover the similarities and differences of AIX compared to other *NIXs. I am a UNIX admin so I can think of what some immediate concerns may... (1 Reply)
Discussion started by: perl_in_my_shel
1 Replies

6. Shell Programming and Scripting

Issue in passing passwd to login into a sudo account

Hi Gurus, I have small issue... I used to pass the passwd for sudo commands like below, gzcat ~/passwd.gz | sudo su - <villin> >> eof ------ ----- ------ eof And it was able to login into "villin" sudo account successfully. But now, I'm using the same in another script for the... (2 Replies)
Discussion started by: raghu.iv85
2 Replies

7. Solaris

Solaris 10 allow ssh login with empty passwd

I have turned off PermitEmptyPasswords in sshd_config, but a user with empty passwd (deleted by passwd -d user) can still login without password, why? it is big security concern, linux doesn't have the issue. $ uname -a SunOS 5.10 Generic_118855-14 i86pc i386 i86pc ... (8 Replies)
Discussion started by: honglus
8 Replies

8. Solaris

Force user to change passwd on first login

Hello All, How to force user to change his login passwd on his first login in solaris 10 ? while adding user do we need to set the password in theis case?? (7 Replies)
Discussion started by: saurabh84g
7 Replies

9. Cybersecurity

APACHE: Tie in Web Page login with server login

Hello, I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification. I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server. i.e. the same login info. is used for both, when... (1 Reply)
Discussion started by: WhotheWhat
1 Replies

10. Web Development

APACHE: Tie in Web Page login with server login

Hello, I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification. I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server. i.e. the same login info. is used for both,... (2 Replies)
Discussion started by: WhotheWhat
2 Replies
Login or Register to Ask a Question