Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session logged in from cdm not active in utmp #4

Open
andres-erbsen opened this issue Jul 15, 2012 · 0 comments
Open

Session logged in from cdm not active in utmp #4

andres-erbsen opened this issue Jul 15, 2012 · 0 comments

Comments

@andres-erbsen
Copy link

CDM proccess pid is added to utmp (logged in users file), but after CDM starts the X session and exits, the user does not appear to be logged in anymore. The conventional solution to this seems to be starting user session on the same pid using exec, but this tends to leave the initial tty vulnerable to tampering after using CTRL + C (even if the X session may be locked).

This makes "w", "who" and "users" commands not report the user and "last" shows the duration of cdm menu being displayed as session duration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant