Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Deploy Dell PowerFlex v3.6.x

PDF

Configure a non-root non-interactive sudo user

In Linux, you can deploy or extend PowerFlex with a non-root user. You must configure a non-root sudo user in non-interactive mode.

About this task

The following procedure details one method for configuring a non-root non-interactive sudo user. Perform the commands from the operating system console of where you want the PowerFlex Gateway to deploy PowerFlex.

Steps

  1. Create a user group named "admin".
    groupadd admin
  2. Create a user named "non_root" and add it to the admin group.
    useradd -G admin non_root
  3. Change the password of the non_root user.
    passwd non_root
    When prompted, enter the new password and then confirm it by entering it again.
  4. Open the sudoers /etc/sudoers file for editing.
    vi /etc/sudoers
  5. Search the sudoers file for "## Same thing without a password".
    :s/## Same thing without a password
  6. In the line below the search result, add the text %admin ALL=(ALL) NOPASSWD: ALL to the file.
  7. Search the sudoers file for "Defaults requiretty", and replace it with Defaults ! requiretty.
  8. Exit the vi editor by typing the following command to exit: :wq!
  9. Create a hidden directory in the non_root user's home directory to store the SSH configuration.
    mkdir /home/non_root/.ssh
  10. Copy the SSH configuration from the root user to the non_root user's directory.
    cp -rf /root/.ssh/* /home/non_root/.ssh/

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\