Re: shell magic/info

1998-12-14 Thread Frank Barknecht
Sibuyas Bombay hat gesagt: // Sibuyas Bombay wrote: > My concern is actually to write a program that will prompt a user 4 > or 5 inputs only, (pon, poff, elm, quit) then make it as her default > login shell, that way, i dont give her a fully interactive shell (and > a potential security hole for m

Re: shell magic/info

1998-12-14 Thread Jiri Baum
Hello, > They always start with that usual executable magic #!/bin/sh . Actually, they can start with the full path to *any* program there. > My concern is actually to write a program that will prompt a user 4 or 5 > inputs only, (pon, poff, elm, quit) Check out "whiptail" (in the whiptail pack

Re: shell magic/info

1998-12-13 Thread Oliver Elphick
"Sibuyas Bombay" wrote: >Hello everyone ! > I've been dirtying my hands on how interactive shell programs like smailco >nfig, >bindconfig (those who ask the user for a choice and execute something for th >at >choice). > They always start with that usual executable magic #!/b

shell magic/info

1998-12-13 Thread Sibuyas Bombay
Hello everyone ! I've been dirtying my hands on how interactive shell programs like smailconfig, bindconfig (those who ask the user for a choice and execute something for that choice). They always start with that usual executable magic #!/bin/sh . Does anyone know of any documentation w/s can