summaryrefslogtreecommitdiff
path: root/src/login
AgeCommit message (Collapse)Author
2012-11-12util: nicer tree drawingsMichal Schmidt
Draw trees more similar to pstree/findmnt/lsblk/...
2012-11-12enable localization for common *ctl commandsDave Reisner
2012-11-02util : fallback to plain ASCII drawing if locale is not UTF-8Michal Schmidt
When printing cgroup and sysfs hierarchies, avoid using UTF-8 box drawing characters if the locale is not UTF-8. https://bugzilla.redhat.com/show_bug.cgi?id=871153
2012-10-30logind: it's OK if a process on an pty requests a session for seat0Lennart Poettering
After all, if a sudo/su inside an X terminal should get added to the same session as the X session itself.
2012-10-30logind: unify all session lock loopLennart Poettering
2012-10-28login: trivial grammar fixZbigniew Jędrzejewski-Szmek
2012-10-28logind: add 'lock' as possible choice for handling hw keysLennart Poettering
2012-10-28logind: support for hybrid sleep (i.e. suspend+hibernate at the same time)Lennart Poettering
2012-10-19util: unify usage of on_tty() in util.cLennart Poettering
2012-10-17loginctl: show pager also for status commandLennart Poettering
2012-10-17timedatectl: introduce new command line client for timedatedLennart Poettering
Much like logind has a client in loginctl, and journald in journalctl introduce timedatectl, to change the system time (incl. RTC), timezones and related settings.
2012-10-16logind: only release logind session from the PAM module if the same module ↵Lennart Poettering
instance actually created it
2012-10-13log: introduce a macro to format message idZbigniew Jędrzejewski-Szmek
The MESSAGE_ID=... stanza will appear in countless number of places. It is just too long to write it out in full each time. Incidentally, this also fixes a typo of MESSSAGE is three places.
2012-10-09logind: expose missing signals in Session bus objectsLennart Poettering
2012-10-03man: handle-sleep-key is invalid, replace it with handle-suspend-key and ↵Сковорода Никита Андреевич
handle-hibernate-key in systemd-inhibit help and man.
2012-10-01pam: check environ[] for XDG_SEAT as fallbackLennart Poettering
This is useful for systems such as kmscon which want to invoke classic /sbin/login but use it on multiple seats.
2012-09-21multi-seat-x: drop a lot of unnecessary codeLennart Poettering
2012-09-21pam: document that we don't do error checking when parsing vtnrLennart Poettering
2012-09-21login: missing break for getopt ARG_NO_ASK_PASSWORD in loginctlLukas Nykryn
2012-09-21login: check return value of session_get_idle_hintVáclav Pavlín
2012-09-21logind: check return value, log warning on errorVáclav Pavlín
2012-09-21multi-seat-x: drop framebuffer specific stuff, as we have a DRM driver nowDave Airlie
2012-09-21Revert "multi-seat: drop multi-seat-x wrapper, as upstream X can handle ↵Lennart Poettering
multi-seat graphics on its own now" This reverts commit 636d30a0895f17eca8313d50f9b2fc1ec5e128da. Turns out we will need the multi-seat wrapper a bit longer, however without the fb-specific bits in it.
2012-09-21logind: split up HandleSleepKey= into HandleSuspendKey= and HandleHibernateKey=Lennart Poettering
The kernel and X11 distuingish these two, and Thinkpad keys have both, hence we really should distinguish them too.
2012-09-21multi-seat: drop multi-seat-x wrapper, as upstream X can handle multi-seat ↵Lennart Poettering
graphics on its own now
2012-09-21logind: allow users to override their own suspend/sleep inhibitorsLennart Poettering
2012-09-19util: define union dirent_storage and make use of it everywhereLennart Poettering
Make sure to allocate enough space for readdir_r(). https://bugzilla.redhat.com/show_bug.cgi?id=858754
2012-09-19logind: if a lid-switch lock was taken while the lid was closed, recheck lid ↵Lennart Poettering
status when the lock is released
2012-09-19logind: properly parse handle-lid-switch inhibitorLennart Poettering
2012-09-19man: document new inhibitor typesLennart Poettering
2012-09-19logind: rework power key/suspend key/lid switch handlingLennart Poettering
http://lists.freedesktop.org/archives/systemd-devel/2012-September/006604.html https://bugzilla.gnome.org/show_bug.cgi?id=680689 This changes the meaning of the HandlePowerKey=/HandleSleepKey=/HandleLidSwitch= setting of logind.conf
2012-09-18logind: split up inhibit acquire policyLennart Poettering
2012-09-17logind: make VT reservation logic compatible with containersLennart Poettering
2012-09-17logind: make sure there's always a getty available on TTY6Lennart Poettering
Previously, if X allocated all 6 TTYs (for multi-session for example) no getty would be available anymore to guarantee console-based logins. With the new ReserveVT= switch in logind.conf we can now choose one VT (6 by default) that will always be subject to autovt-style activation, i.e. we'll always have a getty on TTY6, and X will never take possession of it.
2012-09-16logind: redefine idleness to start at last activityZbigniew Jędrzejewski-Szmek
Before, after the timeout, a session would be timestamped as idle since 'last activity' + 'idle timeout'. Now, it is timestamped as idle since 'last activity'. Before, after all sessions were idle, the seat would be marked with as idle with the timestamp of the oldest idle session. Now it is marked with the timestamp of the youngest idle session. Both changes seem to me to be closer to natural understanding of idleness: the time since last activity counts.
2012-09-12login: reshuffle meaning of require_active parameterLennart Poettering
2012-09-12logind: Avoid unnecesary rewrite of user file when switching sessions of the ↵Colin Guthrie
same user.
2012-09-12logind: Ensure the user, seat and session files are updated when the session ↵Colin Guthrie
is closing.
2012-09-12logind: Add a two new variables to the user session tracking file.Colin Guthrie
This counts 'online sessions' in addition to 'active sessions' and 'sessions'. In this context, an 'online session' covers all session in the 'active' state in addition to the explicit 'online' state. This provides an easy machanism to determin all relevant sessions easily (i.e. those that are not 'closing') and adds new semantics to the sd-login.c APIs sd_uid_get_sessions() and sd_uid_get_seats() where the require_active argument can be supplied as a value 2 which only lists sessions which are 'online'. This functionality should allow client applications to avoid deadlocks where they only exit when all sessions are complete, such as a the problem where PulseAudio will not exit until all sessions are gone, but in itself prevents the session from exiting.
2012-09-12logind: Properly list the ACTIVE_SEATS in the user session tracking file.Colin Guthrie
Prevsiouly the first active seat for a user would never be listed and any subsequent seats would be concatenated on without any spaces.
2012-09-12logind: If all user sessions are in closing state, set the overall status to ↵Colin Guthrie
closing. PulseAudio for example will keep a client connection open provided at least one session exists. However, if all sessions are currently in the process of closing, we should flag that as the overall state appropriately to better reflect what is happening. Although this does better reflect the status for any given user, it does not actually solve the overall problem of PulseAudio still finding some sessions active and thus not exiting and therefore actually preventing the session from closing. Future commits will extend sd-login to cope with this situation.
2012-09-12pam: Add session class to the debug log.Colin Guthrie
2012-09-10inhibit: close all fds when invoking inhibited toolLennart Poettering
2012-09-10dbus: minor coding style fixesLennart Poettering
2012-09-10Make systemd-inhibit --list workMatthias Clasen
The code in the print_inhibitors function had an unintended unconditional early exit, causing it to never print any inhibitors.
2012-09-03journal: generate structured journal messages for a number of eventsLennart Poettering
2012-08-23login: check return of parse_pid and parse_uidLukas Nykryn
2012-08-08logind: use bus_method_call_with_reply() where posibleSimon Peeters
2012-08-08loginctl: use bus_method_call_with_reply() where posibleSimon Peeters
2012-07-29logind: add new loginctl lock-sessions commandLennart Poettering