The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
Changing prompt kjbaumann SUN Solaris 5 01-23-2009 12:23 PM
changing group ID frankkahle Filesystems, Disks and Memory 4 05-19-2006 02:24 PM
File group ownership changing automatically top_gun UNIX for Advanced & Expert Users 1 12-09-2005 03:37 PM
Changing the Effective Group ID Jody UNIX for Dummies Questions & Answers 2 12-05-2002 03:53 PM
Changing IP's Hordak UNIX for Dummies Questions & Answers 2 08-03-2002 01:42 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 04-18-2007
deal732 deal732 is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 13
Changing userID and Changing group and GID

Hello,

I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job.

linux1
linux2
linux3
linux4
linux5 ......
.
.
.
.
.

1.) How can i enter "password" in script rather asking me?

I was trying this...

ssh csmith@linux

echo 'PASSWD="xxxxx"'

2) The above job has to perform on root level how can i have machine enter su - and it password?

then

su -

echo 'PASSWD="xxxxx"'

-Adeel
 

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 07:11 PM.


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