- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
Discussions
Discussions
Forums
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
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