Share

Fujitsu Application Panel driver

Tracker: Bugs

5 fjkeyd applications started as root - ID: 1813017
Last Update: Comment added ( deloptes )

Time ago I posted that it is not wise to have the uid check in fjkeyd,
because it then runs the applications as root

As it is user dependent it is wise to have this run as the logged user,
then also the applications are started under the logged username




Emanoil Kotsev ( deloptes ) - 2007-10-13 21:27

5

Closed

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2007-10-13 22:24
Sender: deloptes


Forgot to say that you then have to start the daemon after or within the
desktop login process of the user and terminate it on logout by killing the
pid in /tmp/fjkeyd.pid

on kde

ln -s /usr/bin/fjkeyd ~/.kde/Autostart/

mkdir ~/.kde/shutdown/
touch ~/.kde/shutdown/fjkeyd
vi ~/.kde/shutdown/fjkeyd


put something like this
!/bin/bash

if [ -f /tmp/fjkeyd.pid ]; then
kill -TERM `cat /tmp/fjkeyd.pid`
kill -KILL `cat /tmp/fjkeyd.pid`
fi


regards

File Added: apanel.script.tar.gz


Log in to comment.

Attached Files ( 2 )

Filename Description Download
fjkeyd.c.diff Download
apanel.script.tar.gz apanel etc scripts Download

Changes ( 4 )

Field Old Value Date By
File Added 249576: apanel.script.tar.gz 2007-10-13 22:24 deloptes
status_id Open 2007-10-13 21:28 deloptes
close_date - 2007-10-13 21:28 deloptes
File Added 249572: fjkeyd.c.diff 2007-10-13 21:27 deloptes