Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e2b5f082
authored
Dec 18, 2014
by
Oliver Pinter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow cloud user to sudo
parent
943345bc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
bootstrap-freebsd.sh
+3
-1
No files found.
bootstrap-freebsd.sh
View file @
e2b5f082
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
export
LOGLEVEL
=
DEBUG
export
LOGLEVEL
=
DEBUG
pkg install
-y
devel/git lang/python devel/py-pip sysutils/screen editors/vim-lite
pkg install
-y
devel/git lang/python devel/py-pip sysutils/screen editors/vim-lite
security/sudo
grep
"^cloud:"
/etc/passwd
>
/dev/null
grep
"^cloud:"
/etc/passwd
>
/dev/null
ret
=
$?
ret
=
$?
...
@@ -13,6 +13,8 @@ then
...
@@ -13,6 +13,8 @@ then
pw group mod wheel
-m
cloud
pw group mod wheel
-m
cloud
fi
fi
sed
-i
'.orig'
-e
's/# \(%wheel ALL=(ALL) ALL\)/\1/g'
/usr/local/etc/sudoers
if
[
!
-d
/usr/ports
]
if
[
!
-d
/usr/ports
]
then
then
git clone https://github.com/HardenedBSD/freebsd-ports.git /usr/ports
git clone https://github.com/HardenedBSD/freebsd-ports.git /usr/ports
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment