Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
78710371
Commit
78710371
authored
Sep 19, 2003
by
Kirk Webb
Browse files
Oops, forgot to commit our little sh script that gets copied over and run
first on plab nodes to fix up sudo.
parent
abc9fa4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/plab/fixsudo.sh
0 → 100755
View file @
78710371
#!/bin/sh
cat
>
/tmp/edscript
<<
EOF
/^emulab_/s/ALL[
\t
]*
$/
NOPASSWD: ALL/
w
q
EOF
su
-c
"ed /etc/sudoers < /tmp/edscript"
exit
$?
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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