Roosembert Palacios
9b1123fc77
login.c: remove useless indentation on empty lines
...
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-12-22 20:26:35 +01:00
Roosembert Palacios
8c6f0526ae
login.c: fix several `-Werror=format-truncation`
...
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-12-22 20:24:17 +01:00
Roosembert Palacios
28b094febb
login.c: Move XDG initialization before opening the pam session
...
As per https://www.freedesktop.org/wiki/Software/systemd/writing-display-managers/ ,
in order for logind to register the display manager and session using pam_systemd
(https://www.freedesktop.org/software/systemd/man/pam_systemd.html ), the corresponding
XDG variables must be set prior to opening the pam session.
This change has no effect if the system is not configured to use pam_systemd.
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-12-22 20:24:16 +01:00
Roosembert Palacios
757ec52217
login.c: fix minor out of bound strncpy
...
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-12-22 20:24:13 +01:00
Iván
aaa34e09da
fix typo in spanish translation ( #159 )
2019-12-16 15:03:55 +01:00
cylgom
55fcacb27f
document libpam0g-dev dependency for debian-based distros ( #101 )
2019-12-14 12:30:02 +01:00
cylgom
f593339cd4
add install without conf target
2019-12-14 12:23:43 +01:00
Iván
dda5a0c688
Translate Ly to Spanish ( #150 )
...
Pending to test.
2019-12-14 12:16:45 +01:00
cylgom
676cbf55a8
fix language loading
2019-12-14 12:12:50 +01:00
Stuart Reilly
40fb8659ba
Remove /usr/bin/env from default path ( #158 )
2019-12-14 11:58:30 +01:00
Mateusz Piotrowski
216c6fb63b
Mention that GNU make is required ( #139 )
...
The current makefile is not compatible with bmake,
which is the default make on FreeBSD.
2019-12-14 11:50:17 +01:00
Stanislav Láznička
e4afa78d14
Fix building by explicitly casting const out in config.c ( #155 )
2019-12-06 16:15:08 +01:00
Stanislav Láznička
c98bd74a8e
Implement utmp audit ( #133 )
...
Implements utmp audit required by policykit.
This commit also flattens the pidtree for the DM by starting the
display environment directly in the first fork which already should
have the environment ready for this purpose. This is with the
exception of xorg environments where this can't be done that easily.
2019-12-06 16:10:27 +01:00
Roosemberth Palacios
cba0333fc5
Alloc passing the path to the configuration file as an argument ( #134 )
...
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-10-31 13:54:45 +01:00
Roosemberth Palacios
38fefffdf6
login.c: Do not overwrite the PATH variable if config.path element is empty ( #135 )
...
This allows disabling the feature if PATH was already set (e.g. by the systemd session
slice) and the user wishes to honor that.
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-10-31 00:03:35 +01:00
Roosemberth Palacios
1796a355bc
Makefile: Add config option to allow specifying a separate data directory ( #136 )
...
This allows the user to specify a different directory to store static files, such as
translations and other resources.
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-10-27 16:49:55 +01:00
Stanislav Láznička
d839a92296
cosmetic changes + enter behavior ( #126 )
...
* remove trailing whitespace
* always submit password on enter
Moves the keypress logic for keypresses from if-else statements
to switches, adds non-contextual behavior on pressing enter
* wrap pam actions and handle errors at on spot
* init all of text struct in input_text()
This gets rid off valgrind warning on unitialized variables
2019-10-04 20:50:02 +02:00
Stanislav Láznička
0b467a95b3
print hostname in info lane on start ( #127 )
...
hostname was set in the info_line and unset right after that
2019-10-04 20:41:56 +02:00
cylgom
7485d89a4a
fix remotes dependant submodules
2019-09-22 16:57:03 +02:00
cylgom
62c3d70496
set LANG
2019-09-21 18:34:03 +02:00
cylgom
4ba0725dd4
fix animation bug
2019-09-21 18:00:16 +02:00
cylgom
f2050c955d
add remotes tool
2019-09-21 17:46:45 +02:00
cylgom
4c17b2f91d
update xsetup #111
2019-08-24 14:06:00 +02:00
cylgom
ee41d926a0
remove unused include
2019-06-26 23:11:33 +02:00
cylgom
4a1f965bea
update submodules
2019-06-26 22:51:42 +02:00
cylgom
61fd099f3d
initial commit
2019-06-10 16:05:54 +02:00
cylgom
2d93bc7af3
add submodules
2019-06-10 16:05:36 +02:00