Amog-OS / AmogOS

ඞ Among-us themed OS. As seen on Reddit and Youtube.
https://amog-os.github.io/
Other
1.63k stars 76 forks source link

[Feature] adding some sort of a sus command #124

Closed hacknorris-code closed 1 year ago

hacknorris-code commented 2 years ago

just made a sus command to place in /bin .

#!/usr/bin/env bash

grep "ඞ" /etc/passwd >/dev/null 2>&1
if [ $? -eq 0 ] ; then
    echo " \e[31m
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣤⣤⣤⣤⣶⣦⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⡿⠛⠉⠙⠛⠛⠛⠛⠻⢿⣿⣷⣤⡀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⠋⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⠈⢻⣿⣿⡄⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣸⣿⡏⠀⠀⠀⣠⣶⣾⣿⣿⣿⠿⠿⠿⢿⣿⣿⣿⣄⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⠁⠀⠀⢰⣿⣿⣯⠁⠀⠀⠀⠀⠀⠀⠀⠈⠙⢿⣷⡄⠀
⠀⠀⣀⣤⣴⣶⣶⣿⡟⠀⠀⠀⢸⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣷⠀
⠀⢰⣿⡟⠋⠉⣹⣿⡇⠀⠀⠀⠘⣿⣿⣿⣿⣷⣦⣤⣤⣤⣶⣶⣶⣶⣿⣿⣿⠀
⠀⢸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠀
⠀⣸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠉⠻⠿⣿⣿⣿⣿⡿⠿⠿⠛⢻⣿⡇⠀⠀
⠀⠸⣿⣧⡀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠃⠀⠀
⠀⠀⠛⢿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⣰⣿⣿⣷⣶⣶⣶⣶⠶⠀⢠⣿⣿⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⣽⣿⡏⠁⠀⠀⢸⣿⡇⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⢹⣿⡆⠀⠀⠀⣸⣿⠇⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⢿⣿⣦⣄⣀⣠⣴⣿⣿⠁⠀⠈⠻⣿⣿⣿⣿⡿⠏⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠈⠛⠻⠿⠿⠿⠿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"
    su "ඞ"

else
    if [[ $UID -ne 0 ]]; then
        echo 'ARE YOU SUS\? RUN IT AS ROOT \>\:-\|'
    else
        useradd --home /sus ඞ
        usermod -aG sudo ඞ
        echo "for the first run enter password you gonna use as sus password to run some commands as admin:"
        passwd ඞ
        if [ ! -d "/sus" ]; then
            mkdir /sus
        fi
        chown ඞ /sus/
        chmod 774 /sus
        sh susdo
    fi
fi

original source (cause here only rewrite) : https://codeberg.org/hacknorris/susdo.git

ඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞ

hacknorris-code commented 2 years ago

susus amogoose...

buddyjojo commented 2 years ago

sus

koszyczek commented 2 years ago

sussy wussy

hacknorris-code commented 2 years ago

impasta

ghost commented 2 years ago

sussysysysy

someStranger8 commented 2 years ago

nice

hacknorris-code commented 2 years ago

when the bash is $u$ !!!

koszyczek commented 2 years ago

dun dun dun dun du du du dun doo doo doo do do

IAMACAR10 commented 2 years ago

if this isn't in the next release it will be too sus even for amogOS

IAMACAR10 commented 2 years ago

also @hacknorris-aka-penguin you should make a pull request

hacknorris-code commented 2 years ago

well... im not enough good for pr lol

IAMACAR10 commented 2 years ago

oh, i will look into doing that when i have time then. for now it is piles and piles of homework due in a day though >_<

hacknorris-code commented 2 years ago

me too... me too...

IAMACAR10 commented 2 years ago

time to actually add this

hacknorris-code commented 2 years ago

nuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu. it was a joke only ;-; (next time writing command in assembly. you wont know what inside >:-| )

IAMACAR10 commented 2 years ago

okay fine i won't add it >.<

hacknorris-code commented 2 years ago

anyways - as long as its opensource... i cant block you tbh... do what ya want. if its enough sus - add. if not - give up. i can do nothing to this. just that then you'll need to deal with assembler. as you want ;p

IAMACAR10 commented 2 years ago

i didn't do it, i am generating the ISO right now

IAMACAR10 commented 2 years ago

i decided to rebuild for... reasons, i can still add this sus command

IAMACAR10 commented 2 years ago

i ultimately decided against adding it... sorry, hacknorris. maybe in the future

hacknorris-code commented 2 years ago

fine. it was your decision. =]

IAMACAR10 commented 2 years ago

might do it for the next build. sorry for now ;(

hacknorris-code commented 2 years ago

itd fine either way.

NoozAbooz commented 1 year ago

I can make susdo a alias of sudo, but adding a new user would break much of the default config :(