Skip to content

Releases: tvrzna/emptty

emptty-0.7.0

28 Feb 11:06
Compare
Choose a tag to compare
Fixes
  • detect and inform user, if session ends with error
  • allow application termination during waiting for user input during error
  • updated version of PAM module dependency
Features
  • rootless Xorg, if ROOTLESS_XORG set to true (requires additional configuration of Xorg)
  • added IDENTIFY_ENVS option to differ Xorg/Wayland/Custom/User Custom session in selection
  • limited number of autologin retries, if session ends too soon
  • added AUTOLOGIN_MAX_RETRY option to set number of allowed autologin retries
  • added [TTY_NUMBER] placeholder for log files
  • changed default location of log file to /var/log/emptty/[TTY_NUMBER].log
  • added DYNAMIC_MOTD_PATH option to set path to custom script as dynamic motd
  • added MOTD_PATH option to set path to static motd
  • stty is not used for disabling the output on password-read for Linux
  • refactored configuration handler

emptty-0.6.2

30 Nov 08:22
Compare
Choose a tag to compare
Fixes
  • fixed printing new lines, if /etc/issue is not printed
Features
  • set UID environmental variable after login
  • added PRINT_MOTD option for enabling/disabling printing of motd

emptty-0.6.1

30 Sep 06:15
Compare
Choose a tag to compare
Fixes
  • fixed switching TTY by chvt being searched on PATH
  • PATH variable is set from root environment only if variable is not already set by PAM
  • few environmental variables checks if not being set from PAM to prevent them from being overwritten
Features
  • unlock kwallet automatically
  • new NO_XDG_FALLBACK config option to prevent settings the fallback values for all XDG environmental variables
  • new DEFAULT_XAUTHORITY config option to allow creation of ~/.Xauthority file instead of /var/run/USER_ID/.emptty-xauth

emptty-0.6.0

30 Jul 06:14
Compare
Choose a tag to compare
Fixes
  • fixed ~/.config/emptty being started twice, if Selection=true
  • fixed manual page (typos, missing informations)
Features
  • added -u/--default-user argument to allow preselect user on startup
  • added -a/--autologin argument to allow autologin of default user, if following argument is set, it's considered as autologin session
  • added -c/--config argument to allow different path to config file
  • added -i/--ignore-config argument to disable loading config from file
  • added SESSION_ERROR_LOGGING and SESSION_ERROR_LOGGING_FILE for logging of stderr from Xorg/Wayland session

emptty-0.5.2

30 May 07:51
Compare
Choose a tag to compare
Fixes
  • fixed wrong override of already defined XDG_CONFIG_HOME, XDG_RUNTIME_DIR and XDG_SEAT variables
  • fixed \l issue escape sequence to provide TTY number from configuration, getting value from ps is only fallback; this solves issues with e.g. busybox distros
Features
  • added ENABLE_NUMLOCK configuration to enable numlock on start
  • added \S issue escape sequence for /etc/os-release information including variables
  • added S6 service by make install-s6
  • added new runit service for Artix Linux by make install-runit-artix

emptty-0.5.1

30 Mar 05:39
Compare
Choose a tag to compare
Fixes
  • stop assuming en_US.UTF-8 as default LANG, if system has it defined (#38)
  • AUTOLOGIN_SESSION finds desktop also by name of desktop, not only by exec (#39)
  • commands used by issue escape sequences are searched on PATH, this improves compatibility between distros
  • several mini-fixes discovered by new unit tests
Features
  • added DISPLAY_START_SCRIPT configuration to start script before Display (Xorg/Wayland) starts

emptty-0.5.0

30 Jan 18:30
Compare
Choose a tag to compare
Fixes
  • fixed wrong structure of xdisplay struct in noxlib version
  • removed closing X display, after Xorg is already down
  • log if ~/.emptty/~/.config/emptty file is not executable and should be
  • man page gzipped with -n flag to make package reproducible
Features
  • added -h, --help command options
  • added -t, --tty command option to override TTY number to be started on
  • git version now uses git describe to improve version detection
  • added DESKTOP_SESSION and XDG_SESSION_DESKTOP environmental variables
  • enhanced ~/.emptty/~/.config/emptty file to be more similar to any .desktop file
  • pam_gnome_keyring.so in all PAM modules by default
  • PAM module for Fedora and openSUSE
  • BTMP logging, if authorization failed
  • Selection=true in ~/.emptty/~/.config/emptty file to make script working as .xinitrc even for Wayland to always select Desktop Environment/Window Manager and still have startup script
  • new issue escape sequences \4 and \6 (possible with {iface} argument) to print IPv4 or IPv6 address in issue
  • used build tags mentioned in -v/--version
  • added DISPLAY_STOP_SCRIPT configuration to start script after Display (Xorg/Wayland) stops

emptty-0.4.2

04 Dec 06:27
Compare
Choose a tag to compare
Fixes
  • added missing check for user validity (not expired, ...)
  • fixed running mcookie and xauth as root (now as logged user)
  • fixed potentially dangerous sharing of environmentals between user and root
  • fixed potentially dangerous xauthority file creation (xauth creates file itself)
  • fixed potentially dangerous ~/.cache/emptty setting of ownership by root (directory is created with user's uid/gid)
  • fixed creation and setting ownership on XDG Runtime directory, if is already created

emptty-0.4.1

02 Dec 08:57
Compare
Choose a tag to compare
Fixes
  • fixed root privilige escalation issue with last-session file
  • fixed reading empty last-session file

emptty-0.4.0

30 Nov 15:49
Compare
Choose a tag to compare
Fixes
  • added PAM module for Debian based distros
  • fixed executable flag on SystemD service unit
  • fixed executable flag on default config file
  • fixed closing of opened XDisplay
  • fixed catching signals on running environment (added SIGHUP, SIGINT, SIGQUIT)
Features
  • dynamic MOTD, which prints script result as MOTD
  • configurable background and foreground color
  • putting UTMP/WTMP entry. This allows to check login history
  • added build tags to provide build handle theoretical issues with libc dependencies (e.g. make build TAGS=nopam,noutmp)
  • no PAM version (nopam tag), for Linux it uses crypt.h and shadow.h, for OpenBSD it uses bsd_auth.h
  • no Xlib version (noxlib tag) for specific situations (e.g. only Wayland environment expected)
  • no UTMP version (noutmp tag) to avoid issues with different implementation of UTMP