blob: 23949015cc22ab5e177b0378b1201f51c66f50b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
if [ $SHELL = /usr/bin/pinyshell ]; then
echo "You are in a restricted shell. Along with some safe Bash builtins, you are able to execute the following Piny commands:"
else
echo "You are able to execute the following Piny commands:"
fi
echo
if [ -x /srv/rbin/newrepo ]; then echo "Create a new repository (interactive): newrepo <reponame>"; fi
if [ -x /srv/rbin/rmrepo ]; then echo "Remove an existing repository: rmrepo <reponame>"; fi
if [ -x /srv/rbin/addaccess ]; then echo "Add access to a repository for a user: addaccess <reponame> <username>"; fi
if [ -x /srv/rbin/rmaccess ]; then echo "Remove access to a repository for a user: rmaccess <reponame> <username>"; fi
if [ -x /srv/rbin/newuser ]; then echo "Create a new user (interactive): newuser"; fi
if [ -x /srv/rbin/passwd ]; then echo "Change your password (interactive): passwd"; fi
if [ -x /srv/rbin/pinyconfig ]; then echo "Change config variables for your repository: pinyconfig <reponame> <variablename> [value]"; fi
|