summaryrefslogtreecommitdiffstats
path: root/src/shared/user-record-show.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* user-record: Introduce selfModifiable fieldsAdrian Vovk2024-11-011-0/+29
| | | | | Allows the system administrator to configure what fields the user is allowed to edit about themself, along with hard-coded defaults.
* various: move const ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-1/+1
|
* user-record: Add preferredSession{Type,Launcher}Adrian Vovk2024-03-011-0/+5
| | | | | | | These will be used by display managers to pre-select the user's preferred desktop environment and display server type. On homed, the display manager will also be able to set these fields to cache the user's last selection.
* user-record: Add blobDirectory and blobManifestAdrian Vovk2024-02-191-0/+37
| | | | | | These fields are used to connect a JSON user record to its blob directory, and to include the directory's contents in the record's signature
* user-record-show: show if fallback data is usedLennart Poettering2024-02-141-4/+16
|
* user-record: Add languages fieldAdrian Vovk2024-02-131-9/+10
| | | | | | | | | | | | | | | | This field is like preferredLanguage, but takes a priority list of languages instead. If an app isn't translated into a user's primary language, it can fall back to one of the other languages in the list thus making the app more accessible to the user. For instance: in my experience, many Ukrainians are fluent in Russian, often significantly better than English (especially if they are of a generation that grew up during the USSR). Such a person might set this new variable to ["uk_UA.UTF-8", "ru_UA.UTF-8"] so that software that lacks Ukrainian translations will first try Russian translations before defaulting to English. Fixes #31290
* user-record: extend user records with an ambient and bounding caps set fieldLennart Poettering2023-02-281-0/+17
| | | | | In particular the ambieht caps field is useful: we can use it later to pass caps such as CAP_WAKE_ALARM to regular users on login.
* Implement --luks-pbkdf-force-iterations for homedAidan Dang2022-12-061-0/+2
|
* Implement --luks-sector-size for homedAidan Dang2022-10-071-0/+2
|
* core/cgroup: CPUWeight/CPUShares support idle inputwineway2022-08-111-1/+3
| | | | Signed-off-by: wineway <wangyuweihx@gmail.com>
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-11/+2
| | | | This also avoids multiple evaluations in STRV_FOREACH_BACKWARDS()
* userdbctl: fix "Password OK" shown even when password is empty or locked ↵Pigmy-penguin2022-01-061-3/+21
| | | | | (#21308) userdbctl: fix "Password OK" shown even when password is empty or locked
* user-record: add rebalanceWeight fieldLennart Poettering2021-11-251-0/+10
|
* user-record: add auto-resize propertyLennart Poettering2021-11-231-0/+3
|
* homework: also add a way to configure additional mount options via a JSON ↵Lennart Poettering2021-11-121-0/+3
| | | | | | user record field Fixes: #15120
* user-record: show CIFS extra mount options, in output tooLennart Poettering2021-11-061-0/+3
| | | | Follow-up for 4c2ee5c7f26fda41d7eb1250c61c85cc869a90de
* user-record: fix display of access modeLennart Poettering2021-11-051-1/+1
|
* user-record: show fs/luks/gpt UUIDs as proper UUIDsLennart Poettering2021-11-051-3/+3
| | | | | These are not defined by us, but are defined as proper UUIDs by their respective specs, hence show them as such.
* homed: optionally, drop caches on logoutLennart Poettering2021-10-111-0/+3
| | | | Fixes: #20857
* tree-wide: add FORMAT_BYTES()Zbigniew Jędrzejewski-Szmek2021-07-091-32/+17
|
* tree-wide: add FORMAT_TIMESPAN()Zbigniew Jędrzejewski-Szmek2021-07-091-21/+12
|
* tree-wide: use FORMAT_TIMESTAMP()Zbigniew Jędrzejewski-Szmek2021-07-091-26/+13
|
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* user-record: don't refuse login when last pw change time is in the futureLennart Poettering2020-09-211-0/+4
| | | | | The RTC is like just off, it's a weird system state, let's continue without requiring pw change.
* homed: don't block logins into accounts with future change timeLennart Poettering2020-09-211-5/+6
| | | | | This might happen if the system clock is wrong, and we should allow access in this case (though certainly log about it).
* shared: merge {user,group}-record-show.[ch]Zbigniew Jędrzejewski-Szmek2020-09-011-1/+72
| | | | | It is natural to include both, and in total they declared three functions. Let's merge them for simplicity.
* homed: report a home directory as "dirty" if image file has dirty flagLennart Poettering2020-08-251-1/+1
|
* user-record: add recovery key fields to user recordLennart Poettering2020-08-251-0/+3
|
* user-record: add fields for FIDO2 HMAC authentication optionsLennart Poettering2020-07-011-1/+4
|
* homectl: color disk free output if low on free spaceLennart Poettering2020-05-081-2/+20
|
* user-record: add new field for requesting LUKS discard on logoutLennart Poettering2020-05-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | We make this entirely independent of the regular discard field, i.e. the one that controls discard behaviour when the home directory is online. Not all combinations make a ridiculous amount of sense, but most do. Specifically: online-discard = yes, offline-discard = yes → Discard when activating explicitly, and during runtime using the "discard" mount option, and discard explicitly when logging out again. online-discard = no, offline-discard = yes → The new default: when logging in allocate the full backing store, and use no discard while active. When loging out discard everything. This provides nice behaviour: we take minimal storage when offline but provide allocation guarantees while online. online-discard = no, offline-discard = no → Never, ever discard, always operate with fully allocated backing store. The extra safe mode.
* homectl: show disk free in percent in 'inspect'Lennart Poettering2020-05-071-2/+20
|
* shared: add helpers for displaying new-style user/group records to usersLennart Poettering2020-01-151-0/+466