How to add/delete network users in Ubuntu

Posted in:Tips 'n Tricks
            sudo smbpasswd -a system_username
            gksudo gedit /etc/samba/smbusers 
  • Insert the following line into the new file
            system_username = "network username" 
  • Save the edited file
  • To add network user
            sudo smbpasswd -a system_username
  • To delete network user
            sudo smbpasswd -x system_username
  • To enable network user
            sudo smbpasswd -e system_username
  • To disable network user
            sudo smbpasswd -d system_username
  • By Default network users are disabled after adding them, make sure you run the enable network user command above.

Content Courtesy: http://www.ubuntuguide.org
Content License:http://www.gnu.org/copyleft/fdl.htm

Press the button below if you liked this site.
webmaster's picture

The brains or the lack of it behind Ubuntu Manual. Crazy about Linux, hates windows except for the fact that it runs many of his favorite games by default. Loves blogging

writeforus