- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- profile problems...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 07:19 AM
04-11-2002 07:19 AM
profile problems...
I've a big little problem... This problem, only one of my user have it... When this user logon to the system, his profile don't seem to be loaded at all, cause he have not access to all of the application here (seems the PATH and apps environement variables are not set well)... When I login as root and I do a "su - user" I can run all his apps with out a problem... This is very weird cause when I switch-user, I use the same profile has him...
Does somebody have seen something like this!! Please help!!!
Jonathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 07:22 AM
04-11-2002 07:22 AM
Re: profile problems...
do pwck (-s for trusted system) /etc/passwd
maybe you'll find some fault in the passwd file.
Check uid's and grp id's for this user and all the files in his home dir. also permissions on this dir.
Good luck, E
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 07:23 AM
04-11-2002 07:23 AM
Re: profile problems...
Have him do the following:
. $HOME/.profile
Then see if he still has problems. He may be changing shells or doing something else he's unaware of.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 07:27 AM
04-11-2002 07:27 AM
Re: profile problems...
Now if you are talking about workstations, the story is very different. The usual terminal window on 10.20 and 11.xx is CDE+dtterm and the defaults are to *NOT* run /etc/profile and .profile at all. While you can edit .dtprofile to turn on .profile, that still misses /etec/profile and both are needed for 'normal' Unix style support.
To fix this, have each user do this:
echo *loginShell: true" >> $HOME/.Xdefaults
Now, every terminal window (dtterm, xterm, hpterm) will truly login and run /etc/profile and then .profile).
Bill Hassell, sysadmin
- Tags:
- .Xdefaults
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 07:40 AM
04-11-2002 07:40 AM
Re: profile problems...
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 07:48 AM
04-11-2002 07:48 AM
Re: profile problems...
Is that syntax correct on the echo command?
Should that be "loginShell: true" ?
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 07:51 AM
04-11-2002 07:51 AM
Re: profile problems...
thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 08:00 AM
04-11-2002 08:00 AM
Re: profile problems...
NB logout of CDE or use xrdb -merge for the changes to take effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 08:19 AM
04-11-2002 08:19 AM
Re: profile problems...
care for both, the asterisk AND the uppercase!
The "loginShell: true" forces the terminal emulator programs to start the shell as a login shell (that way executing "/etc/profile" and "$HOME/.profile) and the asterisk means "don't care for the widget hierarchy inside the program"...
In your "$HOME/.Xdefaults" you should have:
*loginShell: true
or, using multiple lines:
xterm*loginShell: true
hpterm*loginShell: true
dtterm*loginShell: true
And the first few characters of the codefilenames could even be in uppercase, to use so-called "class-names" (read the man pages of xterm/hpterm/dtterm for this).
BEWARE: "loginshell" will never work, only "loginShell" does!
Just my $0.02,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 09:05 AM
04-11-2002 09:05 AM
Re: profile problems...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 09:15 AM
04-11-2002 09:15 AM
Re: profile problems...
echo "*loginShell: true" >> .Xdefaults
I specifically used >> to append to your current .Xdefaults file (but likely there isn't one). This file is sort of like .profile only for Xwindows. What it does is to set certain Xwindow default values. For example, the contents might look like this:
*loginShell: true
HPterm*scrollBar: true
HPterm*saveLines: 10s
HPterm*background: navy
HPterm*foreground: white
Xterm*background: darkslateblue
Xterm*foreground: white
Xterm*saveLines: 10s
Xterm*scrollBar: true
Dtterm*saveLines: 10s
Dtterm*scrollBar: true
and after adding these lines to .Xdefaults, all hpterm, xterm and dtterm windows will have a scroll bar plus 10 screens (800 lines) of history. hpterm will have a dark blue with white letter color scheme while xterm will have a more gray-blue background with white letters. dtterm will match the overall CDE color scheme.
.Xdefaults is one of the many ways to set window decorations or resources. Look at the man page for hpterm and you'll see the dozens of options and resources that can be set. They can be set generically for every window or they can be set for a window that has a specific title. man X is a start but a good book on Xwindows will also be worthwhile.
Does this help?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 05:06 AM
04-29-2002 05:06 AM
Re: profile problems...
sorry for the delay, but none of these answer working.. :( I still stuck with the problem!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 05:25 AM
04-29-2002 05:25 AM
Re: profile problems...
how is the user logging in.
Telnet
X
X-emulator.
When you login can you do set > file
Su as user set > file2
diff file file2
Then you will see.
Maybe he has a fault.
If CDE look at $HOME/.dt/startlog $HOME/.dt/errorlog.
Otherwise put set -x in users .profile
login and you will see the steps taken by the profile.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 09:19 AM
05-06-2002 09:19 AM
Re: profile problems...
I solved my problem, it was with the application (I-deas 8) someone from SDRC came to resolved it!!
Thanks anyway!!
ciao!