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
Change Root Password iBot Solaris BigAdmin RSS 0 09-30-2008 02:30 PM
force to change password(shell script) tjay83 Shell Programming and Scripting 3 09-18-2008 11:16 PM
script to change root password kvadivel80 Shell Programming and Scripting 3 09-18-2007 02:14 AM
change root password duke0001 SUN Solaris 3 02-22-2007 12:10 PM
Change Password In A Shell Script pintu_asim Shell Programming and Scripting 6 06-29-2006 10:16 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-24-2009
kurva kurva is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 32
Post how to change root password using shell script with standard password

Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.

which is the easy scripting to learn for the beginner, Thanks in advance.
  #2 (permalink)  
Old 02-24-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
Just thoughts (Im still half asleep...):

Who will you be when you change the password?
1) Root, in that case why want to change the password with a script when you only have to type passwd?
2) a user, in that case, have you a little idea what this means? (security concern...)
  #3 (permalink)  
Old 02-25-2009
kurva kurva is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 32
Post how to change root password using shell script with standard password

its development server, i need install 3rd party software for 30 servers. i m creating control file with standard password. Using same password i need to install servers. after installation put back to original password

ex:
1)cp -p /etc/shadow /etc/shadow.old
2) change the root passwd
3)install the 3rd party software
4) after installation put back the original shadow file
5) cp -p /etc/shadow.old /etc/shadow
Sponsored Links
Closed Thread

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:13 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