Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MUCK sudo command #654

Open
tanabi opened this issue Aug 5, 2021 · 0 comments
Open

MUCK sudo command #654

tanabi opened this issue Aug 5, 2021 · 0 comments
Milestone

Comments

@tanabi
Copy link
Collaborator

tanabi commented Aug 5, 2021

I had a thought that it might be useful to have a sudo command such as:

@sudo SomeName SomePassword=Some command

This would basically let one user @force another user assuming they have that user's password, and would enable people to remote control their wizard characters (or their alts) for one off tasks easily. It would use most of the same code as @force under the hood, it would just alter the permission intake.

Some questions come to mind as far as security; we could have an @tune that only lets certain people use sudo (kind of like sudoers on Linux). And failed attempts to @sudo should be logged, though follow the same rules as other logging settings:

  • Successful attempts would go to the command log (with maybe a notation that someone used sudo in the status log?) and follow the same rules re. command log settings
  • Failed attempts will go in the status log. If log failed commands is enabled, we'll show the whole command. Otherwise, we'll just say like X tried to sudo to Y and failed.

On my MUCK, we log as little user input as possible so I wouldn't want to log the user input on a successful attempt.

This is just a random thought, total back burner, no immediate need.

@tanabi tanabi added this to the 8.0 milestone Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant