All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] [PATCH] Starting a command inside UML from mconsole
@ 2003-09-13 16:20 BlaisorBlade
  2003-09-13 19:48 ` Matt Zimmerman
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: BlaisorBlade @ 2003-09-13 16:20 UTC (permalink / raw)
  To: user-mode-linux-devel

I'm writing a patch which adds a new command to the mconsole ones:
exec nomeprog args
which starts a new program with root privileges. I've already done the hard 
part(starting the program) and it seems to basically work(no crash still), 
which is done mostly reusing code from kernel/kmod.c; I'll post the patch 
only when I'll have written also the simple part, i.e., the code to parse the 
command-line.

Reason for this: time ago, someone requested how to execute a command from 
mconsole. The discussion ended up by saying "use cad, after having changed 
the related line in /etc/inittab". The command needed was the one to poweroff 
the PC, but this applies generally. Since that thread showed that running 
commands without logging in is something needed, I decided to implement it.

I'd like a discussion about this(how much interest in this there is, 
suggestions, requests). Especially:
- is the ability to read arguments with spaces(within quotes) needed even for 
the program name?
About the way I'm doing it, I'll ask when the true patch is ready(it's just 
too young, so I want to study more before making you lose your time).
Thanks for the attention.
-- 
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729
EOSIGN



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2003-09-17 18:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-13 16:20 [uml-devel] [PATCH] Starting a command inside UML from mconsole BlaisorBlade
2003-09-13 19:48 ` Matt Zimmerman
2003-09-14 18:50   ` BlaisorBlade
2003-09-14 20:33     ` Henrik Nordstrom
2003-09-15 17:12     ` BlaisorBlade
2003-09-14  2:33 ` Jeff Dike
2003-09-14  6:30   ` Matt Zimmerman
2003-09-14  6:45   ` Russell Coker
2003-09-14  7:59   ` Steve Schnepp
2003-09-14 13:50     ` Jeff Dike
2003-09-14 16:36       ` Matt Zimmerman
2003-09-14 17:10   ` BlaisorBlade
2003-09-14 17:45     ` Michael Richardson
2003-09-14 20:28       ` Henrik Nordstrom
2003-09-14 20:32         ` Michael Richardson
2003-09-15  7:31         ` Ulf Bartelt
2003-09-15  9:20           ` Henrik Nordstrom
2003-09-16 18:27 ` BlaisorBlade
2003-09-17 17:39   ` BlaisorBlade

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.