Re: How to disable console on serial when needed ?
- From: Albert van der Horst <albert@xxxxxxxxxxxxxxxxxx>
- Date: 26 Dec 2006 15:21:46 GMT
In article <emnldv$b26$1@xxxxxxxxxxxxx>, Raymond <skyflame@xxxxxxxx> wrote:
<SNIP>
"How can I completely disable / redirect the console input/output after I
already login in a console "
This is what I mean here.
My problem is :
I using bash to atomaticly loggin the console on serial to run a certain
program,
So anytime I connect to the serial , I can trace the output and input
commands.
Actually you don't (use bash to login). What happens is that the login
starts up bash for you.
So you may install a user (called application), which uses your
application as a shell instead of bash.
Look at ``man adduser'' especially the -s option.
The application runs, and when it terminates, your application
user is logged out.
<SNIP>
I believe I can achieve my aim by modify some kernel code sooner or later
but I wonder , isn't there just a simple way to do it ?
The above is certainly simple, if it fits your bill.
Raymond
Groetjes Albert
--
--
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- like all pyramid schemes -- ultimately falters.
albert@xxxxxxxxxxxxxxxxxx http://home.hccnet.nl/a.w.m.van.der.horst
.
- References:
- Re: How to disable console on serial when needed ?
- From: Jim Jackson
- Re: How to disable console on serial when needed ?
- From: Sebastian
- Re: How to disable console on serial when needed ?
- Prev by Date: what should be use in redhat 8.0 make file instead of freebsd file (bsd.port.mk)
- Next by Date: Re: ...Strange Problem...
- Previous by thread: Re: How to disable console on serial when needed ?
- Next by thread: Re: How to disable console on serial when needed ?
- Index(es):
Relevant Pages
|