Developer Blog - Inventic.eu
  • Skipper - The ORM Designer
  • VsBuilds - Parallel building
  • Pulpo - Free Skipper CLI

Tag: #shell

Managing users and passwords on linux

Add user

Add user with correct bash and home folder:

sudo useradd -m -s /bin/bash USER<br />
sudo passwd USER</p>
<p>#Add user to sudoers group<br />
usermod -a -G admin USER<br />

Remove user

sudo userdel USER<br />

To remove also home directory, pass -r

sudo userdel -r USER<br />

Change su password

sudo passwd<br />

13 Feb 2013

Posted by: ludek.vodicka

Linux #Linux #shell