- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/profile and tcsh
Operating System - HP-UX
1820118
Members
3124
Online
109619
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО06-03-2004 12:41 AM
тАО06-03-2004 12:41 AM
Hi
I have a user that doesn't appear to read either /etc/profile or ~/.profile when it logs in.
I have made some changes to the /etc/profile that I want to apply to all users but in the case of this user they are not being picked up.
It is set up to use tcsh. Is there something about tcsh that bypasses the profiles?
Any help would be greatly appreciated.
Thanks Barbara
I have a user that doesn't appear to read either /etc/profile or ~/.profile when it logs in.
I have made some changes to the /etc/profile that I want to apply to all users but in the case of this user they are not being picked up.
It is set up to use tcsh. Is there something about tcsh that bypasses the profiles?
Any help would be greatly appreciated.
Thanks Barbara
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 12:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 12:55 AM
тАО06-03-2004 12:55 AM
Re: /etc/profile and tcsh
don't forget ~/.tcshrc
this enables you to see a difference between csh and tcsh users
From the section "Startup and shutdown" in the tcsh manual page:
--8<--- Startup and shutdown
A login shell begins by executing commands from the system
files /etc/csh.cshrc and /etc/csh.login. It then executes
commands from files in the user's home directory: first
~/.tcshrc (+) or, if ~/.tcshrc is not found, ~/.cshrc,
then ~/.history (or the value of the histfile shell vari├п┬┐┬╜
able), then ~/.login, and finally ~/.cshdirs (or the value
of the dirsfile shell variable) (+). The shell may read
/etc/csh.login before instead of after /etc/csh.cshrc, and
~/.login before instead of after ~/.tcshrc or ~/.cshrc and
~/.history, if so compiled; see the version shell vari├п┬┐┬╜
able. (+)
Non-login shells read only /etc/csh.cshrc and ~/.tcshrc or
~/.cshrc on startup.
For examples of startup files, please consult
http://tcshrc.sourceforge.net.
Commands like stty(1) and tset(1), which need be run only
once per login, usually go in one's ~/.login file. Users
who need to use the same set of files with both csh(1) and
tcsh can have only a ~/.cshrc which checks for the exis├п┬┐┬╜
tence of the tcsh shell variable (q.v.) before using tcsh-
specific commands, or can have both a ~/.cshrc and a
~/.tcshrc which sources (see the builtin command)
~/.cshrc. The rest of this manual uses `~/.tcshrc' to
mean `~/.tcshrc or, if ~/.tcshrc is not found, ~/.cshrc'.
-->8---
Enjoy, Have FUN!
this enables you to see a difference between csh and tcsh users
From the section "Startup and shutdown" in the tcsh manual page:
--8<--- Startup and shutdown
A login shell begins by executing commands from the system
files /etc/csh.cshrc and /etc/csh.login. It then executes
commands from files in the user's home directory: first
~/.tcshrc (+) or, if ~/.tcshrc is not found, ~/.cshrc,
then ~/.history (or the value of the histfile shell vari├п┬┐┬╜
able), then ~/.login, and finally ~/.cshdirs (or the value
of the dirsfile shell variable) (+). The shell may read
/etc/csh.login before instead of after /etc/csh.cshrc, and
~/.login before instead of after ~/.tcshrc or ~/.cshrc and
~/.history, if so compiled; see the version shell vari├п┬┐┬╜
able. (+)
Non-login shells read only /etc/csh.cshrc and ~/.tcshrc or
~/.cshrc on startup.
For examples of startup files, please consult
http://tcshrc.sourceforge.net.
Commands like stty(1) and tset(1), which need be run only
once per login, usually go in one's ~/.login file. Users
who need to use the same set of files with both csh(1) and
tcsh can have only a ~/.cshrc which checks for the exis├п┬┐┬╜
tence of the tcsh shell variable (q.v.) before using tcsh-
specific commands, or can have both a ~/.cshrc and a
~/.tcshrc which sources (see the builtin command)
~/.cshrc. The rest of this manual uses `~/.tcshrc' to
mean `~/.tcshrc or, if ~/.tcshrc is not found, ~/.cshrc'.
-->8---
Enjoy, Have FUN!
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 01:11 AM
тАО06-03-2004 01:11 AM
Re: /etc/profile and tcsh
The tcsh don't process /etc/profile.
If you want see some question on tcsh
http://www.tcsh.org/FAQ
Bruno
If you want see some question on tcsh
http://www.tcsh.org/FAQ
Bruno
Torino (Turin) +2H
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP