1
0
mirror of https://github.com/elisspace/rtinst.git synced 2026-08-31 00:22:31 +00:00
Files
rtinst/edit_su
2014-09-26 16:29:49 +01:00

9 lines
150 B
Bash

#!/bin/bash
if [ ! -z "$1" ]; then
echo "ALL ALL = NOPASSWD: /usr/local/bin/rtsetpass" >> $1
else
export EDITOR=$0
visudo
fi