zeldor.biz

Linux, programming and more

Copyright © 2021
Log in

Usermod command

March 22, 2011 by Igor Drobot Leave a Comment

Manpages are great!
Disable ssh login:

1
usermod -s /bin/false username

usermod -s /bin/false username

Change home directory:

1
usermod -d /home/users/newpath/ username

usermod -d /home/users/newpath/ username

Filed Under: Bash, Debian, Linux Tagged With: usermod change home, usermod change shell

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY Fedora FTP Fun GIT Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID Roundcube rsync security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *