![]() |
|
|
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 |
| Cool and quiet BIOS setting on RH5 (OEL) | devjxh | Linux | 1 | 06-27-2008 10:34 AM |
| diffrent results between command line and scripted grep | r1500 | Shell Programming and Scripting | 1 | 11-24-2003 02:05 PM |
| etc/passwd | nguda | UNIX for Dummies Questions & Answers | 2 | 07-03-2003 10:38 AM |
| Quiet System for Maintenance | michieka | UNIX for Dummies Questions & Answers | 3 | 08-08-2001 08:10 AM |
| Sun E 10000 scripted shutdown | redfoot | UNIX for Dummies Questions & Answers | 1 | 02-06-2001 03:57 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Scripted passwd but it won't really be quiet!
First off, sorry if this is in the wrong forum.
I have made a script that will always set the password back to a specified value when I log in as root, this is because for testing purposes I regularly change it as I'm logged in..but this isn't the point. The thing that's bothering me is that the way I've done is: passwd < the_password_is_here where the_password_is_here has: password password However, I want the whole passwd process to be quiet and not print anything to the screen. Using: passwd < the_password_is_here > dump or passwd < the_password_is_here | > dump Did not work. I'm assuming what's fundamentally wrong is the way I'm passing in a text file like that to circumvent me having to type the password in. If that's the case...what do I do to make it change my root password but not say a peep on the screen? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|