Преглед изворни кода

added doas.conf

tags/release-00
gashapwn пре 3 година
родитељ
комит
f3021964de
1 измењених фајлова са 2 додато и 0 уклоњено
  1. +2
    -0
      perl-script/provision.pl

+ 2
- 0
perl-script/provision.pl Прегледај датотеку

@@ -32,3 +32,5 @@ if( ($admin_un) = `tail /etc/passwd | grep -v "nobody:"` =~ /([^:\n]+):[^:]+:[0-
die "create a non-root user & set user passsword before running this script."
}

# grant doas access to admin user
system("echo 'permit $admin_un' > /etc/doas.conf");

Loading…
Откажи
Сачувај