From: docv <do...@sb...> - 2002-08-31 20:14:18
|
Freddie Cash wrote: > > If you want the user to be able to type a username and a password, click a > button and have the account created, then yes this is possible. You just > need to create multiple variables. Set the type of one of those variables to > "password" and it will look/act just like a variable of type "text" except > any input displays as ******. > > So, your command would be: /path/to/script.sh $username $password > > In the first text box at the bottom of the screen you'd type username, and in > the one below it you'd type password, and change the input type to password > for that entry. > > If you need more than 2 variables, you need to save the command, then edit it. > Then save it, then edit it (and so on, for each new variable you wish to add > to the command). > Yup, got all that, however when passwd is run, it asks for the password 2x (to insure no typos occurred). Would that part of my script need to be written as follows; passwd $1 < $2 ???? -- Steve do...@sb... In a world without walls and fences there is no need for windows nor gates. You can not solve problems with the same level of thinking that existed when the problems were created. --Dr. Albert Einstein Usted no puede solucionar problemas con el nivel del mismo de manera de pensar tan existido cuando el problemas fueron creados. --Dr. Albert Einstein |