[PC-BSD Commits] r8239 - pcbsd/current/src-qt4/pc-usermanager

svn at pcbsd.org svn at pcbsd.org
Tue Dec 21 06:02:20 PST 2010


Author: kris
Date: 2010-12-21 06:02:20 -0800 (Tue, 21 Dec 2010)
New Revision: 8239

Modified:
   pcbsd/current/src-qt4/pc-usermanager/usermanagerback.cpp
Log:

Added /sbin/nologin to choices of shells in user-manager



Modified: pcbsd/current/src-qt4/pc-usermanager/usermanagerback.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-usermanager/usermanagerback.cpp	2010-12-18 22:33:07 UTC (rev 8238)
+++ pcbsd/current/src-qt4/pc-usermanager/usermanagerback.cpp	2010-12-21 14:02:20 UTC (rev 8239)
@@ -114,6 +114,9 @@
 	qWarning("Error! Unable to open /etc/shells");
     }
     
+    // Add /sbin/nologin as well
+    result.append("/sbin/nologin");
+
     return result;
 }
 



More information about the Commits mailing list