<?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: Problem modify user (env and .profile) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-modify-user-env-and-profile/m-p/5243857#M470127</link>
    <description>&lt;!--!*#--&gt;&amp;gt; dbeadm user must have the same user ENV&lt;BR /&gt;&amp;gt; pbeadm&lt;BR /&gt;&lt;BR /&gt;So, what's your question?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; SHELL=/bin/csh&lt;BR /&gt;&lt;BR /&gt;I thought that the C shell used "~/.cshrc"&lt;BR /&gt;and/or "~/.login", not "~/.profile".  Are you&lt;BR /&gt;looking at the right file(s)?</description>
    <pubDate>Tue, 15 Jun 2010 17:32:32 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2010-06-15T17:32:32Z</dc:date>
    <item>
      <title>Problem modify user (env and .profile)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-modify-user-env-and-profile/m-p/5243856#M470126</link>
      <description>good morning,&lt;BR /&gt;need help&lt;BR /&gt;I am creating a new user in HP-UX and must have the same environment variables of another user&lt;BR /&gt;nose and add&lt;BR /&gt;dbeadm user must have the same user ENV pbeadm&lt;BR /&gt;new user: dbeadm&lt;BR /&gt;[1] % env&lt;BR /&gt;HOME=/home/dbeadm&lt;BR /&gt;PATH=/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/ipf/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/sas/bin:/opt/wbem/bin:/opt/wbem/sbin:/usr/bin/X11:/opt/resmon/bin:/opt/perf/bin:/usr/contrib/kwdb/bin:/opt/graphics/common/bin:/opt/prm/bin:/opt/sfm/bin:/opt/hpsmh/bin:/opt/upgrade/bin:/opt/wlm/bin:/opt/sec_mgmt/bastille/bin:/opt/drd/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/firefox:/opt/gnome/bin:/opt/ignite/bin:/opt/mozilla:/opt/perl_32/bin:/opt/perl_64/bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/swa/bin:/opt/thunderbird:/opt/gwlm/bin:/usr/contrib/bin/X11&lt;BR /&gt;LOGNAME=dbeadm&lt;BR /&gt;SHELL=/bin/csh&lt;BR /&gt;TERM=xterm&lt;BR /&gt;COLUMNS=158&lt;BR /&gt;LINES=61&lt;BR /&gt;MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/VRTS/vxfs4.1/man:/opt/ldapux/share/man:/opt/ldapux/ypldapd/man:/opt/ipf/man:/opt/cifsclient/share/man:/opt/openssl/man:/opt/openssl/prngd/man:/opt/wbem/share/man:/opt/amgr/man:/opt/amgr/man/%L:/usr/dt/share/man:/opt/samba/man:/opt/samba/WTEC_Support_Tools/man:/opt/resmon/share/man/%L:/opt/resmon/share/man:/opt/perf/man/%L:/opt/perf/man:/opt/VRTS/man:/opt/graphics/common/man:/opt/prm/man/%L:/opt/prm/man:/opt/sfmdb/pgsql/man:/opt/sfm/share/man:/opt/wlm/share/man/%L:/opt/wlm/share/man:/opt/sec_mgmt/share/man:/opt/drd/share/man/%L:/opt/drd/share/man:/opt/dsau/man:/opt/gnome/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/perl_32/man:/opt/perl_64/man:/opt/sec_mgmt/share/man/%L:/opt/ssh/share/man:/opt/swa/share/man/%L:/opt/swa/share/man:/opt/gwlm/man/%L:/opt/gwlm/man:/opt/EMCpower/share:/opt/openssl/fips/0.9.7/man&lt;BR /&gt;TZ=SAT4:30&lt;BR /&gt;**********************************&lt;BR /&gt;current user: pbeadm&lt;BR /&gt;&lt;BR /&gt;SAPL903:pbeadm 25&amp;gt; env&lt;BR /&gt;HOME=/home/dbeadm&lt;BR /&gt;PATH=/oracle/DBE/102_64/bin:/opt/java1.4/bin:.:/home/pbeadm:/usr/sap/DBE/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/ipf/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/sas/bin:/usr/bin/X11:/opt/resmon/bin:/opt/perf/bin:/usr/contrib/kwdb/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/graphics/common/bin:/opt/prm/bin:/opt/sfm/bin:/opt/upgrade/bin:/opt/sec_mgmt/bastille/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/firefox:/opt/gnome/bin:/opt/mozilla:/opt/perl/bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/hpsmh/bin:/opt/thunderbird:/opt/gwlm/bin:/usr/contrib/bin/X11:/opt/hpvm/bin:/opt/hpnpl//bin:/opt/ignite/bin:/opt/gvsd/bin&lt;BR /&gt;LOGNAME=pbeadm&lt;BR /&gt;SHELL=/bin/csh&lt;BR /&gt;TERM=xterm&lt;BR /&gt;COLUMNS=158&lt;BR /&gt;LINES=61&lt;BR /&gt;MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/VRTS/vxfs4.1/man:/opt/ldapux/share/man:/opt/ldapux/ypldapd/man:/opt/ipf/man:/opt/cifsclient/share/man:/usr/dt/share/man:/opt/samba/man:/opt/samba/WTEC_Support_Tools/man:/opt/resmon/share/man/%L:/opt/perf/man/%L:/opt/perf/man:/opt/openssl/man:/opt/openssl/prngd/man:/opt/wbem/share/man:/opt/VRTS/man:/opt/graphics/common/man:/opt/prm/man/%L:/opt/prm/man:/opt/sfmdb/pgsql/man:/opt/sfm/share/man:/opt/sec_mgmt/share/man:/opt/dsau/man:/opt/gnome/man:/opt/perl/man:/opt/sec_mgmt/share/man/%L:/opt/ssh/share/man:/opt/gwlm/man/%L:/opt/gwlm/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/hpvm/man/%L:/opt/hpnpl//man:/opt/resmon/share/man:/opt/openssl/fips/0.9.7/man:/opt/hpvm/share/man/%L&lt;BR /&gt;TZ=SAT4:30&lt;BR /&gt;SAPSYSTEMNAME=DBE&lt;BR /&gt;DIR_LIBRARY=/usr/sap/DBE/SYS/exe/run&lt;BR /&gt;SHLIB_PATH=/usr/sap/DBE/SYS/exe/run:/oracle/client/10x_64/instantclient&lt;BR /&gt;JAVA_HOME=/opt/java1.4&lt;BR /&gt;THREAD=NOPS&lt;BR /&gt;dbms_type=ORA&lt;BR /&gt;dbs_ora_tnsname=DBE&lt;BR /&gt;dbs_ora_schema=SAPSR3&lt;BR /&gt;ORACLE_SID=PBE&lt;BR /&gt;DB_SID=PBE&lt;BR /&gt;ORACLE_BASE=/oracle&lt;BR /&gt;SECUDIR=/usr/sap/DBE/DVEBMGS01/sec&lt;BR /&gt;TNS_ADMIN=/usr/sap/DBE/SYS/profile/oracle&lt;BR /&gt;ORACLE_HOME=/oracle/DBE/102_64&lt;BR /&gt;NLS_LANG=AMERICAN_AMERICA.UTF8&lt;BR /&gt;SAPDATA_HOME=/oracle/DPBE&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jun 2010 17:23:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-modify-user-env-and-profile/m-p/5243856#M470126</guid>
      <dc:creator>Eli Daniel</dc:creator>
      <dc:date>2010-06-15T17:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem modify user (env and .profile)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-modify-user-env-and-profile/m-p/5243857#M470127</link>
      <description>&lt;!--!*#--&gt;&amp;gt; dbeadm user must have the same user ENV&lt;BR /&gt;&amp;gt; pbeadm&lt;BR /&gt;&lt;BR /&gt;So, what's your question?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; SHELL=/bin/csh&lt;BR /&gt;&lt;BR /&gt;I thought that the C shell used "~/.cshrc"&lt;BR /&gt;and/or "~/.login", not "~/.profile".  Are you&lt;BR /&gt;looking at the right file(s)?</description>
      <pubDate>Tue, 15 Jun 2010 17:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-modify-user-env-and-profile/m-p/5243857#M470127</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-06-15T17:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem modify user (env and .profile)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-modify-user-env-and-profile/m-p/5243858#M470128</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;So, declare and export (or 'setenv' for that brain-dead C-shell) the non-standard variables you need in the new user's login file.  This is '${HOME}/.profile' for the POSIX or Korn shell.  Since you appear to be using the scummy C-shell, the login file to modify is the '${HOME}/.cshrc' and '${HOME}/.login' files.&lt;BR /&gt;&lt;BR /&gt;When done, logout and login to the new user and compare the results with your template user.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 15 Jun 2010 17:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-modify-user-env-and-profile/m-p/5243858#M470128</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-06-15T17:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem modify user (env and .profile)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-modify-user-env-and-profile/m-p/5243859#M470129</link>
      <description>Thanks</description>
      <pubDate>Tue, 15 Jun 2010 18:36:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-modify-user-env-and-profile/m-p/5243859#M470129</guid>
      <dc:creator>Eli Daniel</dc:creator>
      <dc:date>2010-06-15T18:36:44Z</dc:date>
    </item>
  </channel>
</rss>

