Ask Me About Websites
Menu
  • What is a website?
  • Useful Linux Commands
    • Cheat Sheet of Useful Linux Commands
    • Add / Create New Sudo User
    • 10 Commands to find the processes in Linux
    • Working with Java Keystores
  • Magento Commands
  • Laravel
  • WordPress Tips and Hints
  • What is a website?
  • Useful Linux Commands
    • Cheat Sheet of Useful Linux Commands
    • Add / Create New Sudo User
    • 10 Commands to find the processes in Linux
    • Working with Java Keystores
  • Magento Commands
  • Laravel
  • WordPress Tips and Hints

Add / Create a new user with SUDO privilegdes to Ubuntu (Linux)


How to add a new user with password access

  1. Log in to your server as the root user.
  2. Use the “adduser" command to add a create the new user to your system, including their home directory and groups. (replace username with new users username)
    COMMAND: adduser username  
  3. Follow the prompts to add the new users password.
  4. Follow next set of prompts to add relevant info about user.
  5. Next use the “usermod” command to add the new user to the sudo group and any other groups they need access to.
    COMMAND: usermod -aG sudo username
  6. Test the user and their access to sudo commands by switching to the user (use “su” command) and running a sudo commmand.
    COMMAND: su – username
    COMMAND: sudo ls -la /root

Recent Posts


  • Add Java Home to a User
  • How to create a new sudo user and secure with SSH key
  • How to config Apache to 301 for HTTP to HTTPS
  • Where do I find the YUI yahooapi serverd secure (https)
  • Fix to Saving Permalinks to fix 404’s

Recent Comments


  • Theron Cashing on Useful Linux Commands
  • check my site on Useful Linux Commands
  • site:forobeta.com/mobidea Mobidea on Useful Linux Commands
  • content on Useful Linux Commands
  • Gerry on Useful Linux Commands

Recent Posts

  • Add Java Home to a User
  • How to create a new sudo user and secure with SSH key
  • How to config Apache to 301 for HTTP to HTTPS
  • Where do I find the YUI yahooapi serverd secure (https)
  • Fix to Saving Permalinks to fix 404’s
  • No space left on device – Could I be running out of Inodes?
  • Simple MYSQL Script to change domain for WP
  • Simple debug setting for WordPress config

Tag Cloud

Pages

  • #552 (no title)
  • 10 Commands to find the processes in Linux
  • Add / Create a new user with SUDO privilegdes to Ubuntu (Linux)
  • Laravel Set Up and Commands Win10
  • Magento Commands
  • test of book
  • TEst of ninja JS
  • Test of WP Google Maps
  • Useful Linux Commands
  • What is a website?
  • WordPress Tips and Hints
  • Working with Java Keystores

Categories

  • Javascript
  • Linux Commands
  • Linux Solutions
  • Wordpress

Copyright © 2020 websidestores.com - askmeaboutwebsites

Theme created by PWT. Powered by WordPress.org