https://github.com/sofianehamlaoui/ana-chajra
custom Sudo Warning Message
https://github.com/sofianehamlaoui/ana-chajra
linux sofianehamlaoui sudo terminal
Last synced: 7 months ago
JSON representation
custom Sudo Warning Message
- Host: GitHub
- URL: https://github.com/sofianehamlaoui/ana-chajra
- Owner: SofianeHamlaoui
- Created: 2020-09-03T20:33:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-04T06:31:31.000Z (over 4 years ago)
- Last Synced: 2025-01-18T23:44:13.539Z (9 months ago)
- Topics: linux, sofianehamlaoui, sudo, terminal
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ana Chajra ak chayef ?
## A custom Sudo Warning message### You can get more of ASCII arts here : [asciiart.eu](https://asciiart.eu)

instead of this boring one
```
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
```
## Add this to `/etc/sudeors.lecture`
```
$ sudo vim /etc/sudoers.lecture
```
## The shown message
```
` `o+
-++///.
`-` :-.
oso``` `ossss` ` :so-
`:///ss: `sosos: sso./:`
/so:/--` +ssss/ .-//so:
`` -:-..+ssss+--:--.`:/.
.:oosss/-`
/sooso
-soooo`
`oosos: Ana chajara ak chayef ! ye3ni jit brk
`/+++++/ n9oulek be careful while using sudo!
.+/+++++o.
`+:``.-.`://-
/+/- `++`
```## Add this to `/etc/sudoers`
```
Defaults lecture_file = /etc/sudoers.lecture # alternate sudo lecture path
Defaults lecture = always # always display the lecture
```