<?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: Help!!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994911#M748898</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;your system needs a "root" like a tree does ;-)&lt;BR /&gt;&lt;BR /&gt;You have already seen what happens without "root".&lt;BR /&gt;&lt;BR /&gt;What you want to achieve by renaming root?</description>
    <pubDate>Mon, 07 May 2007 13:25:22 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2007-05-07T13:25:22Z</dc:date>
    <item>
      <title>Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994896#M748883</link>
      <description>Can some one in the team tell me how can I rename root account from HP-UX box? Is it advisable to change the root password? if not what is the reason? if yes let me know the step by step proceedure to change the root account name. I tried by chaning the name in /etc/password file, but after reboot it went to single user mode.. Any help will be appreciated..&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;SAM</description>
      <pubDate>Mon, 07 May 2007 04:43:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994896#M748883</guid>
      <dc:creator>sam_193</dc:creator>
      <dc:date>2007-05-07T04:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994897#M748884</link>
      <description>Hi sam&lt;BR /&gt;&lt;BR /&gt;It is crucial to change the root password to a strong password and it is important for you to remember the password.&lt;BR /&gt;&lt;BR /&gt;1. Using root, type passwd root&lt;BR /&gt;and key-in new password.&lt;BR /&gt;&lt;BR /&gt;Do you mean to change "root" to something else ?&lt;BR /&gt;</description>
      <pubDate>Mon, 07 May 2007 04:49:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994897#M748884</guid>
      <dc:creator>Apai</dc:creator>
      <dc:date>2007-05-07T04:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994898#M748885</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;'root' is the admin in UX, so you shouldn't change it (why would you do this?).&lt;BR /&gt;&lt;BR /&gt;Of course should you change the 'root-password' to something unique, if you are the only admin.&lt;BR /&gt;&lt;BR /&gt;To change the root password login as root and use the command 'passwd', then you 'll be asked for the new password.&lt;BR /&gt;&lt;BR /&gt;Now, you have to edit /etc/password file in single user mode and change back to 'root'.&lt;BR /&gt;&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Mon, 07 May 2007 04:53:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994898#M748885</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-05-07T04:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994899#M748886</link>
      <description>Thank you for your time!! I am looking for changing the root account name not the password. Please advice .&lt;BR /&gt;&lt;BR /&gt;Thanks anyways,&lt;BR /&gt;SAM</description>
      <pubDate>Mon, 07 May 2007 05:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994899#M748886</guid>
      <dc:creator>sam_193</dc:creator>
      <dc:date>2007-05-07T05:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994900#M748887</link>
      <description>grep root /etc/passwd&lt;BR /&gt;root will have gid 0&lt;BR /&gt;&lt;BR /&gt;you can duplicate root account with another name with gid 0 and this new user will be same as root&lt;BR /&gt;&lt;BR /&gt;It is always adivsable to change the root passwd on a routine basis for security reasons but you must always remember it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On single user mode, use vi (vi /etc/passwd) then remove the second field (passwd field) for the root user to null. Each field is separated by a column (:) This means root will have no passwd&lt;BR /&gt;&lt;BR /&gt;root::0:3::/:/sbin/sh&lt;BR /&gt;</description>
      <pubDate>Mon, 07 May 2007 05:07:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994900#M748887</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2007-05-07T05:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994901#M748888</link>
      <description>'Please advice'?&lt;BR /&gt;&lt;BR /&gt;What do you need?&lt;BR /&gt;&lt;BR /&gt;In single user mode you have to edit /etc/password file again and change the login name back to 'root'.&lt;BR /&gt;Then reboot and change passwd.&lt;BR /&gt;&lt;BR /&gt;Volkmar</description>
      <pubDate>Mon, 07 May 2007 05:16:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994901#M748888</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-05-07T05:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994902#M748889</link>
      <description>I need to change my root account name to some other name. Thats all my need.. can you??&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;SAM</description>
      <pubDate>Mon, 07 May 2007 05:24:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994902#M748889</guid>
      <dc:creator>sam_193</dc:creator>
      <dc:date>2007-05-07T05:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994903#M748890</link>
      <description>I need to change my root account name to some other name. Thats all my need.. Could you help me for that???&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mubeer</description>
      <pubDate>Mon, 07 May 2007 05:29:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994903#M748890</guid>
      <dc:creator>sam_193</dc:creator>
      <dc:date>2007-05-07T05:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994904#M748891</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;I think your test has shown, that you can't and shouldn't change 'root' name.&lt;BR /&gt;After changing back everything you could try to do it with SAM, but I don't believe that it will work.&lt;BR /&gt;&lt;BR /&gt;Maybe an 'olympian' or another guru will look into this thread and give you assurance, but a better titel for this thread than 'Help!!' would be more helpful for such a strange question.&lt;BR /&gt;&lt;BR /&gt;Till now I've never tried nor read about it, to change the name of 'root'. And I can't imagine, why one would like to do it ....&lt;BR /&gt;&lt;BR /&gt;As mentioned above you can create another user with the same privileges as 'root', but this is also not an advising tipp of the past, nor that it makes your ws more secure. &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;V.&lt;BR /&gt;</description>
      <pubDate>Mon, 07 May 2007 06:07:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994904#M748891</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-05-07T06:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994905#M748892</link>
      <description>I think you are trying to apply the windows methods on unix (renaming administrator account to something not familiar). I have not tested the implications of changing the root user name to another name. &lt;BR /&gt;&lt;BR /&gt;So it is up to you to take the risk. If you have a test server to play with you can try it.&lt;BR /&gt;This is how you can do it:&lt;BR /&gt;&lt;BR /&gt;vi /etc/passwd&lt;BR /&gt;and change the root portion to some thing you need as below:&lt;BR /&gt;&lt;BR /&gt;root::0:3::/:/sbin/sh&lt;BR /&gt;to&lt;BR /&gt;sysadm::0:3::/:/sbin/sh&lt;BR /&gt;&lt;BR /&gt;On unix system there are a lot of files which owned by the user root and by changing the user name you will be having some problems.&lt;BR /&gt;&lt;BR /&gt;Do not do it on a production server unless you are sure about what you are doing.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Mon, 07 May 2007 06:13:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994905#M748892</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2007-05-07T06:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994906#M748893</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;an add to Rasheed's answer:&lt;BR /&gt;Users in UX have an unique UID, and UID=0 is called 'root'. Normally you can change the name, because all files and dirs are directed to the UID not the user name.&lt;BR /&gt;But there are also some files like /var/spool/cron/crontabs/root who are assigned to the user name. So this could be the problem ...&lt;BR /&gt;&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Mon, 07 May 2007 06:34:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994906#M748893</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-05-07T06:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994907#M748894</link>
      <description>Thanks for the advices...&lt;BR /&gt;I tried the command and changed the user name. problem is after reboot it is directly going to single user mode.. I need to change the /etc/password file entry back to root to make the system up. Is this behaviour expected after renaming the root account in HP-UX?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;SAM</description>
      <pubDate>Mon, 07 May 2007 06:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994907#M748894</guid>
      <dc:creator>sam_193</dc:creator>
      <dc:date>2007-05-07T06:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994908#M748895</link>
      <description>P.S.&lt;BR /&gt;I hope you haven't tried a name that was too long ... have you tried a short name for the begining?&lt;BR /&gt;</description>
      <pubDate>Mon, 07 May 2007 06:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994908#M748895</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-05-07T06:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994909#M748896</link>
      <description>I tried with shortname only.. root123 is my new name..&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;SAM</description>
      <pubDate>Mon, 07 May 2007 07:09:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994909#M748896</guid>
      <dc:creator>sam_193</dc:creator>
      <dc:date>2007-05-07T07:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994910#M748897</link>
      <description>As indicated by others:&lt;BR /&gt;  o file/process ownership is by uid&lt;BR /&gt;    o uid is an integer&lt;BR /&gt;  o uid !0 can change the permissions only of&lt;BR /&gt;    files/processes it owns&lt;BR /&gt;  o uid 0 can change the permissions of any&lt;BR /&gt;    files/processes&lt;BR /&gt;  o /etc/passwd maps between uid and loginname&lt;BR /&gt;  o some tools use loginname (ssh, cron, ...)&lt;BR /&gt;&lt;BR /&gt;For example, ssh will not normally allow&lt;BR /&gt;remote login as root.&lt;BR /&gt;Many boot processes reference their assets &lt;BR /&gt;by "root" loginname, and they are thereafter&lt;BR /&gt;inaccessible except by root.&lt;BR /&gt;&lt;BR /&gt;If you remove "root" from /etc/passwd,&lt;BR /&gt;you will lose these isolation protections.&lt;BR /&gt;&lt;BR /&gt;Consequently, you should not remove "root",&lt;BR /&gt;nor change its uid from 0.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After considering the security tradeoffs,&lt;BR /&gt;you may consider adding other offices&lt;BR /&gt;with uid 0.&lt;BR /&gt;Among security considerations, you should consider excluding these offices from remote login, and limitting their use to&lt;BR /&gt;sudo without login.&lt;BR /&gt;If your intent is to remove the threat of&lt;BR /&gt;remote root access (e.g. rootkit attack)&lt;BR /&gt;by renaming "root", you should realize that&lt;BR /&gt;"security by obscurity is seldom obscure&lt;BR /&gt;and never secure.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you have already removed "root" from&lt;BR /&gt;/etc/passwd, you should be able to boot&lt;BR /&gt;the system in single-user mode (run level 1)&lt;BR /&gt;and use emacs /etc/passwd (or your&lt;BR /&gt;favorite editor) to restore root to&lt;BR /&gt;/etc/passwd.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you cannot perform the above, you can&lt;BR /&gt;physically remove the hard disk, insert&lt;BR /&gt;it into another host, mount the disk (not&lt;BR /&gt;as /) and edit the .../etc/passwd file.&lt;BR /&gt;&lt;BR /&gt;Hopefully helpful,&lt;BR /&gt;</description>
      <pubDate>Mon, 07 May 2007 10:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994910#M748897</guid>
      <dc:creator>drb_1</dc:creator>
      <dc:date>2007-05-07T10:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994911#M748898</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;your system needs a "root" like a tree does ;-)&lt;BR /&gt;&lt;BR /&gt;You have already seen what happens without "root".&lt;BR /&gt;&lt;BR /&gt;What you want to achieve by renaming root?</description>
      <pubDate>Mon, 07 May 2007 13:25:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994911#M748898</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-05-07T13:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994912#M748899</link>
      <description>Just in case the message has not got through, DO NOT rename root! Lots of software relies on root's existence and, as you have already found to your cost, the system will not boot if root does not exist.&lt;BR /&gt;&lt;BR /&gt;Almost as important: DO NOT create another user with UID 0. One day an inexperienced sys admin will come along and decide that user is surplus to requirements. He will then remove the user and all files belonging to it. This process works by UID, not user name. Removing all files that belong to UID 0 will leave you without a system.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Tue, 08 May 2007 03:04:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help/m-p/3994912#M748899</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2007-05-08T03:04:09Z</dc:date>
    </item>
  </channel>
</rss>

