Skip to main content
ALT Linux Bugzilla
– Attachment 22731 Details for
Bug 61070
hasher-useradd: заменить оболочку вспомогательных пользователей на /bin/false
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч замены -s /dev/null на -s /bin/false
hasher-useradd-use-bin-false.patch (text/plain), 1.19 KB, created by
Artem Baleevskih
on 2026-10-15 04:41:05 MSK
(
hide
)
Description:
Патч замены -s /dev/null на -s /bin/false
Filename:
MIME Type:
Creator:
Artem Baleevskih
Created:
2026-10-15 04:41:05 MSK
Size:
1.19 KB
patch
obsolete
>Subject: [PATCH] hasher-useradd: use /bin/false as the satellite login shell > >Satellite accounts currently use /dev/null as their login shell. This is >not an executable and is not recognized by Plasma Login Manager's >non-login shell filter, so accounts with regular user UIDs appear in the >greeter. > >Use /bin/false for both satellites. Keep /dev/null as their home directory >and leave UID allocation unchanged. Existing accounts are not modified. > >diff --git a/hasher-priv/hasher-useradd.in b/hasher-priv/hasher-useradd.in >index ebb2cbe..fa7f233 100644 >--- a/hasher-priv/hasher-useradd.in >+++ b/hasher-priv/hasher-useradd.in >@@ -157,12 +157,12 @@ fi > Fatal "config file '$old_config' for user '$caller' already exists" > > # First satellite. >-useradd $useradd_system_option -M -d /dev/null -s /dev/null \ >+useradd $useradd_system_option -M -d /dev/null -s /bin/false \ > -c "1st hasher satellite for $caller" "$user1" || > Fatal "error creating satellite user $user1" > > # Second satellite. >-useradd $useradd_system_option -M -d /dev/null -s /dev/null \ >+useradd $useradd_system_option -M -d /dev/null -s /bin/false \ > -c "2nd hasher satellite for $caller" "$user2" || > Fatal "error creating satellite user $user2" >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 61070
: 22731