The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NIS password file update issue dolphin SUN Solaris 3 03-24-2008 01:11 PM
Server wide password enforcement rules? 90 day force change. LordJezo UNIX for Dummies Questions & Answers 1 02-08-2008 12:52 PM
Change password by pushing encrypted password to systems benq70 UNIX for Dummies Questions & Answers 1 09-02-2005 10:08 AM
compare update time of files dorilevy UNIX for Dummies Questions & Answers 8 05-27-2003 10:48 AM
auto update on directory change bmsantos High Level Programming 1 09-29-2001 11:13 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 11-07-2005
s_chandrakar s_chandrakar is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 1
Exclamation To simultaneously update password change in two server at a time

I am new beginner in Unix and little experienced in BaaN ERP.

Problem Statement: I have to run a BaaN session. I have to change the password for both primary and secondary server by using this session.

On primary server only few people has access permission (say 10). But on secondary server many people has login IDs (including those of primary one).

Requirement is that the user will run this session, which will prompt a Unix window to change the password. This will change the primary server password. But, this new password will should also get updated in the second server also. A user has same logind and password in both the servers. User do not want to re-enter password change for second server on a Unix Window.

Our Team is stuck at following point: We will write a shell script/BaaN code to connect to second server (telnet command). But how can we dynamically pass the two variables 'new password' and 'Re-enter new password' to update the password of second server; while I am changing password for the primary server.

I request you to please help me on this crucial matter for a crucial project. Also, please suggest any alternative on this problem either by today or tomorrow morning.

Thanking you in advance.

Existing Code in the BaaN session:
declaration:
table ttccom000 | Companies

before.program:
shell("passwd", SHELL_MWINDOW + SHELL_CONFIRM)
exit(0)

Above code opens a Terminal Emulator and asks user to enter existing password. It prompts the user to enter new password and reenter the new password. Then password for the current server is changed.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0