summaryrefslogtreecommitdiff
path: root/src/login/loginctl.c
Commit message (Collapse)AuthorAge
...
* clients: unify how we invoke getopt_long()Lennart Poettering2013-11-06
| | | | | Among other things this makes sure we always expose a --version command and show it in the help texts.
* loginctl: suppress cgroup tree output if cgroup is emptyLennart Poettering2013-07-11
| | | | same for machinectl
* loginctl: restore cgroup display for status outputLennart Poettering2013-07-11
| | | | Same for machinectl.
* machined: split out machine registration stuff from logindLennart Poettering2013-07-02
| | | | | | | Embedded folks don't need the machine registration stuff, hence it's nice to make this optional. Also, I'd expect that machinectl will grow additional commands quickly, for example to join existing containers and suchlike, hence it's better keeping that separate from loginctl.
* logind: add infrastructure to keep track of machines, and move to slicesLennart Poettering2013-06-20
| | | | | | | | | | | | | | | | | | | | - This changes all logind cgroup objects to use slice objects rather than fixed croup locations. - logind can now collect minimal information about running VMs/containers. As fixed cgroup locations can no longer be used we need an entity that keeps track of machine cgroups in whatever slice they might be located. Since logind already keeps track of users, sessions and seats this is a trivial addition. - nspawn will now register with logind and pass various bits of metadata along. A new option "--slice=" has been added to place the container in a specific slice. - loginctl gained commands to list, introspect and terminate machines. - user.slice and machine.slice will now be pulled in by logind.service, since only logind.service requires this slice.
* cgls,loginctl,systemctl: fix -lZbigniew Jędrzejewski-Szmek2013-06-19
| | | | | Fixup for 98a6e13 "journalctl,loginctl,systemctl,systemd-cgls: add -l as alias for --full".
* journalctl,loginctl,systemctl,systemd-cgls: add -l as alias for --fullDaniel Albers2013-06-17
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=65850
* Allow for the use of @ in remote host callsDaniel Wallace2013-06-09
| | | | | Without this you have to use %40 with the -H flag because dbus doesn't like the @ sign being unescaped.
* inhbit: show comm field of inhibiting processesLennart Poettering2013-04-24
|
* Use initalization instead of explicit zeroingZbigniew Jędrzejewski-Szmek2013-04-05
| | | | | | | | | | | | | | | | | | | | | | | Before, we would initialize many fields twice: first by filling the structure with zeros, and then a second time with the real values. We can let the compiler do the job for us, avoiding one copy. A downside of this patch is that text gets slightly bigger. This is because all zero() calls are effectively inlined: $ size build/.libs/systemd text data bss dec hex filename before 897737 107300 2560 1007597 f5fed build/.libs/systemd after 897873 107300 2560 1007733 f6075 build/.libs/systemd … actually less than 1‰. A few asserts that the parameter is not null had to be removed. I don't think this changes much, because first, it is quite unlikely for the assert to fail, and second, an immediate SEGV is almost as good as an assert.
* logind: exploit previous cleanups and simplify returnsZbigniew Jędrzejewski-Szmek2013-03-18
|
* logind: Make more use of cleanup macrosColin Walters2013-03-18
|
* pager: introduce "jump to end" optionHarald Hoyer2013-03-07
| | | | | | | | $ journalctl -be is what you want :) https://bugzilla.redhat.com/show_bug.cgi?id=867841
* logind: add UnlockSessions() clal to complement LockSessions()Lennart Poettering2013-01-24
|
* systemctl,loginctl,cgls: do not ellipsize cgroup members when --full is ↵Lukas Nykryn2013-01-16
| | | | | | | | | | | | | | | | | | | | specified New file output.h with output flags and modes. --full parameter also for cgls and loginctl. Include 'all' parameter in flags (show_cgroup_by_path, show_cgroup, show_cgroup_and_extra, show_cgroup_and_extra_by_spec). get_process_cmdline with max_length == 0 will not ellipsize output. Replace LINE_MAX with 0 in some calls of get_process_cmdline. [zj: Default to --full when under pager for clgs. Drop '-f' since it wasn't documented and didn't actually work. Reindent a bit. ]
* build-sys: drop all distribution specfic checksLennart Poettering2013-01-04
| | | | Yay, we now have a completely generic systemd. No distribution specific checks anymore!
* time-util: also rename FORMAT_TIMESTAMP_PRETTY → _MAXLennart Poettering2012-11-23
|
* util: rename format_timestamp_pretty() to format_timestamp_relative() ↵Lennart Poettering2012-11-23
| | | | because that describes much better what it does
* enable localization for common *ctl commandsDave Reisner2012-11-12
|
* util: unify usage of on_tty() in util.cLennart Poettering2012-10-19
|
* loginctl: show pager also for status commandLennart Poettering2012-10-17
|
* timedatectl: introduce new command line client for timedatedLennart Poettering2012-10-17
| | | | | | 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.
* login: missing break for getopt ARG_NO_ASK_PASSWORD in loginctlLukas Nykryn2012-09-21
|
* loginctl: use bus_method_call_with_reply() where posibleSimon Peeters2012-08-08
|
* logind: add new loginctl lock-sessions commandLennart Poettering2012-07-29
|
* unit: introduce %s specifier for the user shellLennart Poettering2012-07-16
|
* logind: introduce a state for session, being one of online, active, closingLennart Poettering2012-06-21
| | | | | | | | | | online = logged in active = logged in and session is in the fg closing = nominally logged out but some left-over processes still around Related to: https://bugzilla.gnome.org/show_bug.cgi?id=677556
* loginctl: avoid segfault for kill-session and kill-user commandsLennart Poettering2012-04-22
| | | | | | As reported by Mantas Mikulėnas. http://lists.freedesktop.org/archives/systemd-devel/2012-April/004993.html
* systemctl: show main and control PID explicitly in cgroup-showLennart Poettering2012-04-16
| | | | | | | In some cases the main/control PID of a service can be outside of the services cgroups (for example, if logind readjusts the processes' cgroup). In order to clarify this for the user show the main/control PID in the cgroup tree nonetheless, but mark them specially.
* cgls: don't show empty cgroups by defaultLennart Poettering2012-04-16
|
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-12
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* polkit: temporarily spawn of a polkit agent in terminals for possibly ↵Lennart Poettering2012-04-11
| | | | authenticated operations
* login: track login class (i.e. one of "user", "greeter", "lock-screen") for ↵Lennart Poettering2012-02-14
| | | | | | | | | | | each session This introduces the new PAM environment variable XDG_SESSION_CLASS. If not set, defaults to "user". This is useful for apps that want to distuingish real user logins from "fake" ones which just exist to show a gdm login screen or a lock screen.
* cgls: don't show kernel threads by defaultLennart Poettering2012-01-22
|
* logind: move logind into its own subdirectoryLennart Poettering2011-12-31