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

cluster-command.sh - disable/enable user login account #21

Closed
BradleyA opened this issue Mar 27, 2019 · 1 comment
Closed

cluster-command.sh - disable/enable user login account #21

BradleyA opened this issue Mar 27, 2019 · 1 comment

Comments

@BradleyA
Copy link
Owner

BradleyA commented Mar 27, 2019

cluster-command.sh - disable/enable user login account - disable user account system access not allowing user to login or other user access to user files below
~/.docker
~/.ssh

@BradleyA
Copy link
Owner Author

BradleyA commented May 20, 2019

try this solution found online
Let the account expire to disallowing a user from logging in from any source including ssh:

# disallow peter from logging in
sudo usermod --expiredate 1 peter

This is how you can reenable that account:

# set expiration date of peter to Never
sudo usermod --expiredate "" peter

@BradleyA BradleyA changed the title cluster-command.sh - disable (default)/ remove user account cluster-command.sh - disable/enable user login account May 20, 2019
@BradleyA BradleyA added this to Investigating in Cluster-command - R&D via automation May 24, 2020
@BradleyA BradleyA moved this from Investigating to Completed in Cluster-command - R&D May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant