<?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: root .profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468495#M774789</link>
    <description>Below a .profile.&lt;BR /&gt;&lt;BR /&gt;Never give root access to third party, Security rule number one. This time it was your profile, next time it can be your root filesystem.&lt;BR /&gt;set permissions to 444(chmod)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# @(#) $Revision: 74.2 $&lt;BR /&gt;&lt;BR /&gt;# Default (example of) super-user's .profile file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Do not put "." in PATH; it is a potential security breach.&lt;BR /&gt;# Do not put "/usr/local/bin" in PATH; it is a potential security breach.&lt;BR /&gt;# Example assumes /home/root exists.&lt;BR /&gt;        set +u&lt;BR /&gt;&lt;BR /&gt;        PATH=/usr/sbin:$PATH:/sbin:/home/root:/opt/omni/sbin&lt;BR /&gt;&lt;BR /&gt;# Be sure that VUE does not invoke tty commands&lt;BR /&gt;&lt;BR /&gt;   if [ ! "$VUE" ]; then&lt;BR /&gt;&lt;BR /&gt;   # Set up the terminal:&lt;BR /&gt;        if [ "$TERM" = "" ]&lt;BR /&gt;        then&lt;BR /&gt;                eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;        else&lt;BR /&gt;                eval ` tset -s -Q `&lt;BR /&gt;        fi&lt;BR /&gt;stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;BR /&gt;        stty hupcl ixon ixoff&lt;BR /&gt;        tabs&lt;BR /&gt;&lt;BR /&gt;        echo&lt;BR /&gt;        echo "Value of TERM has been set to \"$TERM\". "&lt;BR /&gt;        export TERM&lt;BR /&gt;&lt;BR /&gt;        EDITOR=vi&lt;BR /&gt;        export EDITOR&lt;BR /&gt;&lt;BR /&gt;   fi          # if !VUE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Set up shell environment:&lt;BR /&gt;&lt;BR /&gt;        set -u                                  # error if undefined variable.&lt;BR /&gt;        trap "echo 'logout root'" 0             # what to do on exit.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Set up shell variables:&lt;BR /&gt;        export EDITOR=vi&lt;BR /&gt;        export HISTFILE=/.sh_history&lt;BR /&gt;        MAIL=/var/mail/root&lt;BR /&gt;        # don't export, so only login shell checks.&lt;BR /&gt;        echo "WARNING:  YOU ARE SUPERUSER !!\n"&lt;BR /&gt;</description>
    <pubDate>Wed, 29 Nov 2000 15:40:41 GMT</pubDate>
    <dc:creator>Darrel Louis</dc:creator>
    <dc:date>2000-11-29T15:40:41Z</dc:date>
    <item>
      <title>root .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468490#M774784</link>
      <description>Someone (our App Provider) managed to delete the root .profile. I have created a working /.profile but it's not quite right. Could some kind soul email me a copy of their /.profile. We haven't made any changes to it, so just the standard default HP-UX 10.20 /.profile would be nice.&lt;BR /&gt;edack@films.com or edack@kengel.com&lt;BR /&gt;Thanx</description>
      <pubDate>Wed, 29 Nov 2000 15:32:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468490#M774784</guid>
      <dc:creator>Ed Ackerman</dc:creator>
      <dc:date>2000-11-29T15:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: root .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468491#M774785</link>
      <description>You will find the standard .profile in /etc/skel/.profile.</description>
      <pubDate>Wed, 29 Nov 2000 15:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468491#M774785</guid>
      <dc:creator>Thomas Schler_1</dc:creator>
      <dc:date>2000-11-29T15:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: root .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468492#M774786</link>
      <description>you could find the default .profile for root at&lt;BR /&gt;&lt;BR /&gt;/usr/newconfig/.profile</description>
      <pubDate>Wed, 29 Nov 2000 15:36:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468492#M774786</guid>
      <dc:creator>Rainer_1</dc:creator>
      <dc:date>2000-11-29T15:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: root .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468493#M774787</link>
      <description>You already have a copy  - it is in&lt;BR /&gt;/usr/newconfig/.profile&lt;BR /&gt;&lt;BR /&gt;/Allan</description>
      <pubDate>Wed, 29 Nov 2000 15:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468493#M774787</guid>
      <dc:creator>Lasse Knudsen</dc:creator>
      <dc:date>2000-11-29T15:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: root .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468494#M774788</link>
      <description>Ed:&lt;BR /&gt;&lt;BR /&gt;The default, root profile is in /usr/newconfig/.profile&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 29 Nov 2000 15:38:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468494#M774788</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-11-29T15:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: root .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468495#M774789</link>
      <description>Below a .profile.&lt;BR /&gt;&lt;BR /&gt;Never give root access to third party, Security rule number one. This time it was your profile, next time it can be your root filesystem.&lt;BR /&gt;set permissions to 444(chmod)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# @(#) $Revision: 74.2 $&lt;BR /&gt;&lt;BR /&gt;# Default (example of) super-user's .profile file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Do not put "." in PATH; it is a potential security breach.&lt;BR /&gt;# Do not put "/usr/local/bin" in PATH; it is a potential security breach.&lt;BR /&gt;# Example assumes /home/root exists.&lt;BR /&gt;        set +u&lt;BR /&gt;&lt;BR /&gt;        PATH=/usr/sbin:$PATH:/sbin:/home/root:/opt/omni/sbin&lt;BR /&gt;&lt;BR /&gt;# Be sure that VUE does not invoke tty commands&lt;BR /&gt;&lt;BR /&gt;   if [ ! "$VUE" ]; then&lt;BR /&gt;&lt;BR /&gt;   # Set up the terminal:&lt;BR /&gt;        if [ "$TERM" = "" ]&lt;BR /&gt;        then&lt;BR /&gt;                eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;        else&lt;BR /&gt;                eval ` tset -s -Q `&lt;BR /&gt;        fi&lt;BR /&gt;stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;BR /&gt;        stty hupcl ixon ixoff&lt;BR /&gt;        tabs&lt;BR /&gt;&lt;BR /&gt;        echo&lt;BR /&gt;        echo "Value of TERM has been set to \"$TERM\". "&lt;BR /&gt;        export TERM&lt;BR /&gt;&lt;BR /&gt;        EDITOR=vi&lt;BR /&gt;        export EDITOR&lt;BR /&gt;&lt;BR /&gt;   fi          # if !VUE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Set up shell environment:&lt;BR /&gt;&lt;BR /&gt;        set -u                                  # error if undefined variable.&lt;BR /&gt;        trap "echo 'logout root'" 0             # what to do on exit.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Set up shell variables:&lt;BR /&gt;        export EDITOR=vi&lt;BR /&gt;        export HISTFILE=/.sh_history&lt;BR /&gt;        MAIL=/var/mail/root&lt;BR /&gt;        # don't export, so only login shell checks.&lt;BR /&gt;        echo "WARNING:  YOU ARE SUPERUSER !!\n"&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Nov 2000 15:40:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-profile/m-p/2468495#M774789</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2000-11-29T15:40:41Z</dc:date>
    </item>
  </channel>
</rss>

