소스 검색

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");

불러오는 중...
취소
저장