mirror of https://git.envs.net/envs/ops.git
do not allow users to toot as envs and remove envs_toot from motd.
This commit is contained in:
parent
4463eafe88
commit
7643802f71
|
@ -1,5 +1,9 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
if [ "$(id -u)" -ne 0 ] || [ "$(id -u)" -ne 10000 ]; then
|
||||
printf 'sorry only root and creme can toot as envs.\n' && exit 1
|
||||
fi
|
||||
|
||||
print_usage() {
|
||||
printf 'usage: envs_toot "your message"\n\n'
|
||||
printf 'sample output:\nusername | your message\n'
|
||||
|
|
|
@ -16,7 +16,7 @@ Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/b
|
|||
|
||||
# Cmnd alias specification
|
||||
Cmnd_Alias THELOUNGE=/srv/thelounge/.yarn/bin/thelounge add *
|
||||
Cmnd_Alias TOOT=/usr/bin/toot post *
|
||||
#Cmnd_Alias TOOT=/usr/bin/toot post *
|
||||
|
||||
# User privilege specification
|
||||
root ALL=(ALL:ALL) ALL
|
||||
|
@ -26,7 +26,7 @@ services ALL=(ALL:ALL) NOPASSWD:ALL
|
|||
%sudo ALL=(ALL:ALL) ALL
|
||||
|
||||
%envs ALL=(thelounge) NOPASSWD: THELOUNGE
|
||||
%envs ALL=(services) NOPASSWD: TOOT
|
||||
#%envs ALL=(services) NOPASSWD: TOOT
|
||||
|
||||
# See sudoers(5) for more information on "#include" directives:
|
||||
|
||||
|
|
|
@ -9,18 +9,17 @@ cool things to do while you're here on envs.net:
|
|||
* gomuks - a terminal based matrix client written in go
|
||||
* neomutt - default @envs.net command line mail client
|
||||
* clinte - community notices system
|
||||
* bbj - forum - command line bbs (bulletin butter and jelly)
|
||||
* linkulator - a link aggregator for the shell
|
||||
* bbj - forum - command line bbs ( bulletin butter and jelly )
|
||||
* linkulator - a link aggregator - gopher://envs.net/1/linkulator/
|
||||
* who - see who else is connected right now
|
||||
* finger - get info on other users (local and remote)
|
||||
* envs - manage your users_info.json entrys and user-submitted scripts
|
||||
* envs_toot - submit a post to the official envs.net pleroma account
|
||||
(https://pleroma.envs.net/@envs)
|
||||
* pb - command line pastebin - see https://envs.sh and man pb
|
||||
* twtxt - minimalist microblogging service - see twtxt --help
|
||||
* todo-txt - simple todo managing
|
||||
* burrow - manage your gopherhole - try burrow -h to see the options
|
||||
* hole - open our envs.net gopherhole
|
||||
* toot - a command-line mastodon client
|
||||
* feels - ttbp feels engine
|
||||
post to local feels, somewhere on your site, or gopher
|
||||
or bb - bashblog - see https://help.envs.net/blog/#with-bashblog
|
||||
|
|
Loading…
Reference in New Issue