diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2001-02-23 12:34:56 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2001-02-23 12:34:56 +0000 |
commit | 3a758383e74e57748dc03553edd2b82d2710ad46 (patch) | |
tree | aee9f2ac391bfa1463d587f8e2ea54390e0f321c /net/netsaint | |
parent | Upgrade to 2.06. (diff) |
Create the fake user with /sbin/nologin as the login shell, not /bin/sh.
PR: 25094
Submitted by: Phil Regnauld <regnauld@td.rh.dk>
Notes
Notes:
svn path=/head/; revision=38633
Diffstat (limited to 'net/netsaint')
-rw-r--r-- | net/netsaint/scripts/createuser | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netsaint/scripts/createuser b/net/netsaint/scripts/createuser index ce858d738462..7733a9cc4323 100644 --- a/net/netsaint/scripts/createuser +++ b/net/netsaint/scripts/createuser @@ -31,7 +31,7 @@ if( getgrnam( "netsaint" ) ) { print "netsaint user using uid $nsUID and gid $nsGID\n"; -system( "/usr/bin/chpass -a \"netsaint:*:$nsUID:$nsGID\:\:0:0:Netsaint pseudo-user:$ENV{'PREFIX'}/netsaint:/bin/sh\"" ); +system( "/usr/bin/chpass -a \"netsaint:*:$nsUID:$nsGID\:\:0:0:Netsaint pseudo-user:$ENV{'PREFIX'}/netsaint:/sbin/nologin\"" ); sub append_file { local($file,@list) = @_; |