<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: backup of root user in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920645#M26508</link>
    <description>Better way is to use sudo - you can grant root access to specific users/groups without sharing root password.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
    <pubDate>Thu, 04 Jan 2007 03:25:18 GMT</pubDate>
    <dc:creator>Ivan Krastev</dc:creator>
    <dc:date>2007-01-04T03:25:18Z</dc:date>
    <item>
      <title>backup of root user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920644#M26507</link>
      <description>Hi,&lt;BR /&gt;Some times , I need to share the root password of my linux servers with another team&lt;BR /&gt;&lt;BR /&gt;So 1st I changed the root password and then inform them.&lt;BR /&gt;&lt;BR /&gt;once their activity had been done completely,&lt;BR /&gt;again I need to  change it back.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So I want to keep a backup root username always before changing and handing over to another team incase some one from another team mistakely  changes the root password or resets and forgets.&lt;BR /&gt;&lt;BR /&gt;Please suggest&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jan 2007 03:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920644#M26507</guid>
      <dc:creator>praveen..</dc:creator>
      <dc:date>2007-01-04T03:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: backup of root user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920645#M26508</link>
      <description>Better way is to use sudo - you can grant root access to specific users/groups without sharing root password.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 04 Jan 2007 03:25:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920645#M26508</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-01-04T03:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: backup of root user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920646#M26509</link>
      <description>Agree with Ivan.&lt;BR /&gt;Never give your root password. &lt;BR /&gt;With sudo you can specify a list of command that can be run as root, thus limiting unnecessary access. &lt;BR /&gt;You can edit the sudoers file with `visudo`.</description>
      <pubDate>Thu, 04 Jan 2007 03:33:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920646#M26509</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-01-04T03:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: backup of root user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920647#M26510</link>
      <description>If your colleagues access to your servers via ssh you may do the following - let them ssh to your server with public keys authentication only. In this case they don't know root password but receive access as root to your server. Obviously,once got root access they can change things as they like. So I'd see this as a "lasy" option while sudo can be more secure but time consuming to set :)</description>
      <pubDate>Thu, 04 Jan 2007 04:41:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920647#M26510</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2007-01-04T04:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: backup of root user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920648#M26511</link>
      <description>"sudo" is the best choice.&lt;BR /&gt;&lt;BR /&gt;One more possibility is to add an user with group id "0" (root) so it should have enough permissions to run the needed operations. Just disable this user if the work is done.</description>
      <pubDate>Thu, 04 Jan 2007 09:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920648#M26511</guid>
      <dc:creator>Arnd Kohlen</dc:creator>
      <dc:date>2007-01-04T09:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: backup of root user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920649#M26512</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;To prevent root password lost (I suppose it's what you want) follow these steps :&lt;BR /&gt;&lt;BR /&gt;As root&lt;BR /&gt;copy a shell in a user dir (Ksh for example)&lt;BR /&gt;change owner of the file with chown root:root &lt;LOCAL_KSH&gt;&lt;BR /&gt;change file attribute : chmod 6555 &lt;LOCAL_KSH&gt;&lt;BR /&gt;His attribute will be r-sr-sr-x.&lt;BR /&gt;&lt;BR /&gt;To keep save your work :&lt;BR /&gt;Copy these file on a backup media (a tape, or cd) before removing from your local user directory.&lt;BR /&gt;&lt;BR /&gt;When necessary, restore this file in a user directory and use it. You will gain the root rights when this (unsafe) shell will start.&lt;BR /&gt;&lt;BR /&gt;Roland&lt;/LOCAL_KSH&gt;&lt;/LOCAL_KSH&gt;</description>
      <pubDate>Fri, 05 Jan 2007 11:19:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920649#M26512</guid>
      <dc:creator>Roland Piette</dc:creator>
      <dc:date>2007-01-05T11:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: backup of root user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920650#M26513</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If you don't trust the other team not to change the root password then you should not give it to them.&lt;BR /&gt;&lt;BR /&gt;There is no way to prevent a user with root priviledges to do anything, so backing up files is useless as you won't be able to restore them.&lt;BR /&gt;&lt;BR /&gt;Our team gives sudo to particular commands, even though it can be a pain to configure as they always find more commands they need.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 06 Jan 2007 11:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920650#M26513</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-01-06T11:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: backup of root user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920651#M26514</link>
      <description>Hi,&lt;BR /&gt;No issue is with sharing the root password with other team,&lt;BR /&gt;&lt;BR /&gt;But in case, they forgot the password &amp;amp; changed it by mistake,&lt;BR /&gt;&lt;BR /&gt;so i want one more user with root preveliages so that if in case, we forgot the root password, we can get it back.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;should i create a user with user id "0"&lt;BR /&gt;&lt;BR /&gt;Please suggest&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 10 Jan 2007 03:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920651#M26514</guid>
      <dc:creator>praveen..</dc:creator>
      <dc:date>2007-01-10T03:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: backup of root user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920652#M26515</link>
      <description>1. Have a document (encrypted) with root's password.&lt;BR /&gt;2. In case you lost root's password - you can always boot to "Single" init. In this init - you won't be prompted for password and you have the ability to change a password with "passwd" command.&lt;BR /&gt;To boot to single mode:&lt;BR /&gt;&lt;BR /&gt;Select Red Hat Linux with the version of the kernel that you wish to boot and type e for edit. You will be presented with a list of items in the configuration file for the title you just selected. &lt;BR /&gt;&lt;BR /&gt;Select the line that starts with kernel and type e to edit the line. &lt;BR /&gt;&lt;BR /&gt;Go to the end of the line and type single as a separate word (press the [Spacebar] and then type single). Press [Enter] to exit edit mode. &lt;BR /&gt;&lt;BR /&gt;Back at the GRUB screen, type b to boot into single user mode. &lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jan 2007 04:32:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920652#M26515</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-01-10T04:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: backup of root user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920653#M26516</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have to come back on the solution of Alexander. How is it possible to execute the shutdown or init -0 command without root privilege? Is possible only if you are already connected as root. In this case you can simply change de root password ! In all other cases you have to use the BRS (Big Red Switch) to power off the system and gain access to GRUB.&lt;BR /&gt;&lt;BR /&gt;Roland</description>
      <pubDate>Wed, 10 Jan 2007 07:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920653#M26516</guid>
      <dc:creator>Roland Piette</dc:creator>
      <dc:date>2007-01-10T07:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: backup of root user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920654#M26517</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;depending on the criticality of the server and the trust you have on the other team member, you might as well create another user with id "0".&lt;BR /&gt;&lt;BR /&gt;it will also depend on the policy you have implemented there.&lt;BR /&gt;&lt;BR /&gt;anyway, even if they change the root password without you knowing it you can always reboot the server in single-mode and change it back. Well, this will be definitely an inconvenience but this will again depends on the criticality of the servers.&lt;BR /&gt;&lt;BR /&gt;Since you have many linux serversm, SSH will be my preferred solution as well.&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 10 Jan 2007 23:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-of-root-user/m-p/3920654#M26517</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-01-10T23:19:58Z</dc:date>
    </item>
  </channel>
</rss>

