![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| invoking script from /etc/passwd | seeker333 | Shell Programming and Scripting | 3 | 04-25-2008 11:53 AM |
| setting passwd in script | LisaS | UNIX for Advanced & Expert Users | 2 | 03-31-2005 08:27 AM |
| passwd -l script | antalexi | Shell Programming and Scripting | 3 | 02-23-2005 01:07 PM |
| Why passwd isnt working in shell scripts? | Deepa | Shell Programming and Scripting | 1 | 01-31-2003 10:46 AM |
| How to "su" along with passwd within a shell script? | unique | UNIX for Advanced & Expert Users | 2 | 09-19-2001 08:09 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I had this problem, I thought about sed on the password file and/or shadow file but too risky. if sed stuffs up the file your ALL users are doomed!
The safest way was to install "expect" and use it eith as an expect script or from withion a shell script. Basiccly passwd will always stop and request command line input. Its a security thing.... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|