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 my feline friend).
Take a look at the package "pdmenu". It is a nice graphical shell interface that can easily be configured to do exactly what you want. A lot of examples come with the package. -- __ __ Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______ / __// __ /__/ __// // __ \ \/ / __ \\ ___\ / / / ____/ / / / // ____// /\ \\ ___\\____ \ /_/ /_____/ /_/ /_//_____// / \ \\_____\\_____\ /_/ \_\