<?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: user profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959834#M118063</link>
    <description>.rhosts file is not specific to any shell.&lt;BR /&gt;&lt;BR /&gt;It is common to all shells&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Sat, 26 Apr 2003 05:57:53 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2003-04-26T05:57:53Z</dc:date>
    <item>
      <title>user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959828#M118057</link>
      <description>I have setup a new unix , but the user can't automatically run their own .profile when login , they can run their profile when run the following statement ( $ . ./.profile ) , how to solve it? thx</description>
      <pubDate>Sat, 26 Apr 2003 02:22:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959828#M118057</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-04-26T02:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959829#M118058</link>
      <description>Hi Juno,&lt;BR /&gt;&lt;BR /&gt;How did you create the user ?&lt;BR /&gt;What are the permissions of the users .profile file?  If the user does not have read permissions you will have a problem.&lt;BR /&gt;&lt;BR /&gt;The users profile runs automtically when logging in. Here is the order.&lt;BR /&gt;&lt;BR /&gt;user logs in&lt;BR /&gt;the user picks up /etc/profile, then their own profile. you do not need an type of execute permissions for the profile.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Michael</description>
      <pubDate>Sat, 26 Apr 2003 03:56:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959829#M118058</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-04-26T03:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959830#M118059</link>
      <description>Juno,&lt;BR /&gt;&lt;BR /&gt;Which shell is this?&lt;BR /&gt;if it is bash, you must be modifying ~/.bash_profile.&lt;BR /&gt;&lt;BR /&gt;for ksh and sh, you'd be done with modifying ~/.profile.&lt;BR /&gt;&lt;BR /&gt;I am assuming that you may have compiled and installed bash on hp-ux, and that a port is readily available. excuse me if these assumptions are wrong.&lt;BR /&gt;&lt;BR /&gt;did you create the user using the useradd command or like a few people i know edited the /etc/passwd file directly. as a general practice i use the useradd command and never edit the /etc/passwd file directly (dirty). i know i will miss out some step in the process if i go the dirty way.&lt;BR /&gt;&lt;BR /&gt;- ramd.</description>
      <pubDate>Sat, 26 Apr 2003 04:32:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959830#M118059</guid>
      <dc:creator>Ramkumar Devanathan</dc:creator>
      <dc:date>2003-04-26T04:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959831#M118060</link>
      <description>Yes, i use bash , thx all help.</description>
      <pubDate>Sat, 26 Apr 2003 04:58:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959831#M118060</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-04-26T04:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959832#M118061</link>
      <description>hi,&lt;BR /&gt;i hope that u might have copied the .profile from some other machine. look for the shell in the .profile and /etc/passwd and change if necessary. also comment the following line&lt;BR /&gt;DTSOURCEPROFILE=true&lt;BR /&gt;in .dtprofile in the home directory of user.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ravi</description>
      <pubDate>Sat, 26 Apr 2003 05:36:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959832#M118061</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2003-04-26T05:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959833#M118062</link>
      <description>thx all, one more question, how about other system file, eg. what is the rhosts file on bash , is it /.bash_rhosts ? thx.</description>
      <pubDate>Sat, 26 Apr 2003 05:45:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959833#M118062</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-04-26T05:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959834#M118063</link>
      <description>.rhosts file is not specific to any shell.&lt;BR /&gt;&lt;BR /&gt;It is common to all shells&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 26 Apr 2003 05:57:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959834#M118063</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-04-26T05:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959835#M118064</link>
      <description>I guess adding in DTSOURCEPROFILE=true in .dtprofile will solve the problem.</description>
      <pubDate>Sun, 27 Apr 2003 23:21:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959835#M118064</guid>
      <dc:creator>Chia-Wei</dc:creator>
      <dc:date>2003-04-27T23:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959836#M118065</link>
      <description>Profiles are always dependent on the shell, so the answer is: man &lt;WHATEVER-SHELL&gt;&lt;BR /&gt;&lt;BR /&gt;For the HP-UX POSIX shell and the Korn shell, /etc/profile is run, followed by $HOME/.profile (and for ksh, .kshrc may be setup in the environment. csh uses a different set of files and bash (not standard for HP-UX) use the set of files listed in the man page.&lt;BR /&gt;&lt;BR /&gt;NOTE: All of these profiles are run only when a 'normal' login is performed, ie, a telnet connection or a serial/modem login. If the login is connected to an Xwindow manager, things are not very standard. While CDE can be configured to source a profile, it does not cause /etc/profile to be run. If you use Xwindows, the environment of the login window (ie, hpterm, xterm dtterm) should have the Xwindow resource *loginShell=true so that a 'normal' login will take place.&lt;/WHATEVER-SHELL&gt;</description>
      <pubDate>Mon, 28 Apr 2003 01:29:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/2959836#M118065</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-04-28T01:29:58Z</dc:date>
    </item>
  </channel>
</rss>

