Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 284 Bytes
#!/bin/bash
. "/etc/webc/functions.sh"
. "/etc/webc/webc.conf"
cmdline_has debug && {
sed -i -e 's/^sudo:.*/sudo:x:27:webc/' /etc/group
sed -i -e 's#^webc:.*#webc::1000:1000::/home/webc:/bin/bash#' /etc/passwd
sed -i -e 's#^root:.*#root::0:0:root:/root:/bin/bash#' /etc/passwd
}
Jump to Line
Something went wrong with that request. Please try again.