[PC-BSD Commits] r8240 - pcbsd/stable/pcbsdusermanager

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


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

Modified:
   pcbsd/stable/pcbsdusermanager/usermanagerback.cpp
Log:

MFC /sbin/nologin to choice of shells in user-manager



Modified: pcbsd/stable/pcbsdusermanager/usermanagerback.cpp
===================================================================
--- pcbsd/stable/pcbsdusermanager/usermanagerback.cpp	2010-12-21 14:02:20 UTC (rev 8239)
+++ pcbsd/stable/pcbsdusermanager/usermanagerback.cpp	2010-12-21 14:02:40 UTC (rev 8240)
@@ -110,6 +110,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