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
ftp and user/password joeyg Shell Programming and Scripting 7 02-07-2008 05:32 PM
RID - password - user salvor_hardin UNIX for Advanced & Expert Users 1 12-09-2007 11:13 PM
changing unix user password using script mani_um AIX 5 09-04-2007 11:33 PM
How would I telnet & change user password automatically in a script darthur UNIX for Dummies Questions & Answers 4 01-14-2002 11:40 AM
Add User and Password alan thui UNIX for Dummies Questions & Answers 1 11-08-2001 10:14 AM

Closed Thread
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
  #1 (permalink)  
Old 11-06-2001
ehsan ehsan is offline
Registered User
  
 

Join Date: Nov 2001
Location: Islamabad
Posts: 1
Question How to add new user and password through script

Hi Everybody

I want to write a script in solaris that will add user and set his password. How I will do that.

Moreover, if anybody knows where can i find documentation, material and downloads for sample scripts in solaris then please tell me.

Thanx

Ehsan
  #2 (permalink)  
Old 11-06-2001
rwb1959's Avatar
rwb1959 rwb1959 is offline
Registered User
  
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
The simplest way is to use "expect".

Look at...

http://expect.nist.gov/
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 02:15 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