Skip to Content
Technical Articles
Author's profile photo Azael NAVARRO JIMENEZ

Linux Part 14: ROOT USER

Hi dears,

This is the part 1 of the Main Linux Agenda to become a SAP Consultant expert enjoying Linux features in our machines or laptops.

Context: for SAP consultants this is an important topic, because this are the complementary tools that we need in our operating systems, so in this real example i show you how to find or get a user password with one proposal..

 

ROOT USER (change password):

When you install your linux, maybe you need to find a user password, so one solution is change it writing the next commands:

  1. Open the “Linux Terminal”
  2. sudo su
  3. #Current password
  4. passwd root
  5. #Write new password

Reference: Link

 

Thank you for your attention and if you have more information to complement this knowledge, please share it into the commentaries section!!!…

Copyright: 2004193712021

 

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo David Bank
      David Bank

      To insure proper shell initialization use sudo su -

      Yes, the dash at the end IS important

      Also, here are other important things to do to create a secure Linux environment:

      • Disable root login via SSH
      • Restrict root login to the console
      • Require membership in a control Group (like wheel) before a user can use su -
      • NOTE: Properly implementing the previous item will NOT break sudo or interfere with sudo su - <sid>adm

      Finally, it someone doesn't need root access, don't give it to them. If a process doesn't have to run as root, then don't let it run as root.

      Close the door to the chicken coop - don't leave it open and then hope the wolf decides not to eat your chickens.