Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37531139
en ru br
ALT Linux repos
S:45.0-alt1

Group :: Graphical desktop/GNOME
RPM: gnome-shell

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: gnome-shell-3.8.4-alt-invalid_user_shell.patch
Download


--- js/gdm/loginDialog.js.shells	2013-07-31 02:23:04.000000000 +0400
+++ js/gdm/loginDialog.js	2013-07-31 10:31:18.338968456 +0400
@@ -241,6 +241,12 @@
         if (user.locked)
            return;
 
+	let userShell = user.get_shell();
+
+	if (userShell == '/dev/null' ||
+	   userShell == '/bin/false')
+	    return;
+
         let userName = user.get_user_name();
 
         if (!userName)
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin