From 9610fb38147a1b7123579414ad419ad1f78697d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 17 Sep 2017 20:05:57 +0200 Subject: [PATCH] man: update limits on seat and session identifiers in sd-login(3) For the session identifier, the code is currently slightly stricter, because it only uses digits and letters, than the description. This should be OK. Fixes #6745. --- man/sd-login.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/man/sd-login.xml b/man/sd-login.xml index 5022ff6be3..b2131a9af9 100644 --- a/man/sd-login.xml +++ b/man/sd-login.xml @@ -120,11 +120,11 @@ A seat consists of all hardware devices assigned to a specific workplace. It consists of at least one graphics device, and usually also includes keyboard, mouse. It can also include video cameras, sound cards and more. Seats - are identified by seat names, which are short strings (<= 64 chars), that start - with the four characters seat followed by at least one more + are identified by seat names, which are strings (<= 255 characters), that start + with the four characters seat followed by at least one character from the range [a-zA-Z0-9], _ and - -. They are suitable for inclusion in file names. Seat names - may or may not be stable and may be reused if a seat becomes available again. + -. They are suitable for use as file names. Seat names may or + may not be stable and may be reused if a seat becomes available again. @@ -140,10 +140,10 @@ systemd1 ensures that audit sessions are identical to systemd sessions, and uses the audit - session ID as session ID in systemd (if auditing is enabled). The session - identifier too shall be considered a short string (<= 64 chars) consisting only - of [a-zA-Z0-9], _ and -, suitable for - inclusion in a file name. Session IDs are unique on the local machine and are + session ID as session ID in systemd (if auditing is enabled). In general the + session identifier is a short string consisting only of [a-zA-Z0-9], + _ and -, suitable for use as a file name. + Session IDs are unique on the local machine and are never reused as long as the machine is online. A user (the way we know it on UNIX) corresponds to the person using a computer. A single user can have multiple sessions open at the same time. A user is identified by a numeric user id (UID) or