Re: [systemd-devel] controlling serial console using a token

2015-04-19 Thread Praveen kumar R
$uptime`]: Token doesn't allow console access export ENABLE_ECM_CONSOLE=n fi I am trying to implement the same in the sytemd init system. On Sun, Apr 19, 2015 at 11:48 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Sat, 18 Apr 2015 19:54:50 +0530 Praveen kumar R praveenrgo

Re: [systemd-devel] controlling serial console using a token

2015-04-19 Thread Praveen kumar R
You mean in the *getty-generator.c ?* On Mon, Apr 20, 2015 at 9:14 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Mon, 20 Apr 2015 09:09:09 +0530 Praveen kumar R praveenrgo...@gmail.com пишет: This is the snippet of the code in the systemV init system that controls the serial console

[systemd-devel] controlling serial console using a token

2015-04-18 Thread Praveen kumar R
...@poettering.net javascript:_e(%7B%7D,'cvml','lenn...@poettering.net'); wrote: On Fri, 17.04.15 15:54, Praveen kumar R (praveenrgo...@gmail.com javascript:_e(%7B%7D,'cvml','praveenrgo...@gmail.com');) wrote: I have a token passed on by command line argument on which I need to decide

[systemd-devel] controlling serial console using a token

2015-04-17 Thread Praveen kumar R
I have a token passed on by command line argument on which I need to decide to start the serial console or not. I plan to tweak the getty*ttyS0.service and add the script which validates the token and starts the console. Is this the right approach or is there any better way of handling it ??