Monarchz3ro / Silver

A unix inspired terminal mockup that is definitely not an emulator.
GNU General Public License v3.0
2 stars 2 forks source link

Fixes + User Management Commands + Basic Sudoers System #25

Closed OcelotWalrus closed 4 months ago

OcelotWalrus commented 4 months ago

Summary

This PR adds some fixes:

This PR also adds some new systems:

This PR adds new commands and new os/script functions:

OcelotWalrus commented 4 months ago

Check commit 3b4c030, I've added the useradd command.

OcelotWalrus commented 4 months ago

@Monarchz3ro , I've a request: should I add this line of code, so there isn't pycache folders generating anymore? It's kinda weird and annoying that pycache stuff get generated in the root folder.

import sys

sys.dont_write_bytecode = True
Monarchz3ro commented 4 months ago

I'd rather not do that, because the cache is generated for a reason and speeds up the system, so I'd rather make the mockup simply ignore those files instead of not write them at all

OcelotWalrus commented 4 months ago

I've added the passwd and userdel command! I've tested them in every case, but feel free to test them yourself!

OcelotWalrus commented 4 months ago

The PR is ready for review @Monarchz3ro !

Monarchz3ro commented 4 months ago

Apologies, I've been busy with a few other aspects of the game (such as story and graphics), but I'll look at your PR

Monarchz3ro commented 4 months ago

Mismatch: passwd.py has the help text for userdel

OcelotWalrus commented 4 months ago

Apologies, I've been busy with a few other aspects of the game (such as story and graphics), but I'll look at your PR

No worries.

Mismatch: passwd.py has the help text for userdel

I'll change that soon.

OcelotWalrus commented 4 months ago

just fixed @Monarchz3ro!