[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: 1.Passing text to program and 2.automatic login

On Sat, Nov 10, 2007 at 05:55:55PM +0100, vladak madnet co yu wrote:
> 1. Is there a console command or construction that can solve my problem: I need to start program from console that asks couple times for text input.
> Can I somehow give all the inputs in one command, so the execution of program doesn't stop to ask for input?
Yes, there are lots of utlities that will do this for you.  The
obvious one to try initially is bash, the program that you 'talk to'
at the command line.  You could try 'man bash' but that's not very
good as a tutorial.  Try a Google search for 'bash tutorial' or
something similar.

> 2. Without the graphical environment (only from bash) how can I set linux to login some user at startup without asking for user name and pass?

The shell (bash) isn't running at the login prompt.  When you say
"login some user at startup" when do you want this user logged in
exactly?  Whatever, it's quite difficult to do this.

Chris Green

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]