Turanic / usbwall

Control ldap users access to usb devices
MIT License
1 stars 5 forks source link

username retrieve problem #6

Closed Turanic closed 7 years ago

Turanic commented 7 years ago

Currently, to get the current user login we parse utmp. The problem is that more than one user can be logged on the system and the username may not be the last connected user one. A new way to get the username need to be found.

Turanic commented 7 years ago

For now, I propose to combine authorised devices for all users present on the system. However, it is important to note that utmp is not really as reliable as who though it would be ...