
com.anrisoftware.sscontrol.scripts.unix.templates.useradd.stg Maven / Gradle / Ivy
The newest version!
unix(args) ::= <<
if [ -z "`grep | cut -d ':' -f 3`" ]; then
ret=$?
if [ $ret = 0 ]; then
echo "User '' added."
else
exit $ret
fi
else
echo "User '' already exists."
fi
>>
unixUserAdd(args) ::= <%
%>
unixGroupName(args) ::= <%
-g
%>
unixUserAddSystem(args) ::= <%
-r
%>
unixUserAddShell(args) ::= <%
-s
%>
unixUserAddHomeDir(args) ::= <%
-d -m
%>
unixUserAddUid(args) ::= <%
-u
%>
unixAdditionalGroups(args) ::= <%
-G
%>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy