Skip to content

admins 24×7

Everything works!

  • Practice
  • Theory
  • Tips & tricks
  • Uncategorized
  • Utilities
  • About

Month: March 2015

HowTo Disable a User Account in Linux

Published on March 11, 2015

How to disable a user account in Linux How to disable a user account in Linux? How to completely disable a user account Linux server? The best practise is to use usermod command. This does not effect password and you can revert changes and enable user again. Syntax:

Shell
1
2
$ usermod -L -e 1 {user}
$ usermod -L -e 1970-01-01 {user}

Example: In this example, local disable … Continue reading HowTo Disable a User Account in Linux

Recent Posts

  • CloudFlare domain management tool
  • How to generate LA?
  • Private Docker Registry
  • MongoDB performance best practices
  • Redis replication and availability

Recent Comments

    Archives

    • February 2017
    • November 2016
    • August 2016
    • March 2016
    • February 2016
    • November 2015
    • October 2015
    • July 2015
    • March 2015
    • December 2014
    • November 2014
    • August 2014
    • July 2014
    • April 2014
    • March 2014
    • January 2014
    • December 2013
    • October 2013

    Tags

    3306 apt-get bash CentOS cron crontab Debian docker FreeBSD HighAvailable HighLoad htop Linux Load average log.io logs master-slave mongoDB monitoring munin my.cnf Mysql nginx NodeJS NoSQL openvpn performance php practice Python API CloudFlare DNS real-time redis replication shell ssh ssl test TLS Ubuntu Unix vpn vpn-over-ssh w www yum

    © admins 24×7. Powered by WordPress & Krusze Theme.