- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- command 'script' changes /etc/profile
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
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
09-29-2003 04:00 AM
09-29-2003 04:00 AM
command 'script' changes /etc/profile
Has anyone seen this? I am at the same patch level across these machines. (Unless something really funny has happened while I wasn't watching...)
This wouldn't necessarily be a problem, but I must not have enough to do if I am making more work for myself...
Thanks
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 04:05 AM
09-29-2003 04:05 AM
Re: command 'script' changes /etc/profile
It is not according to my tests an the man page supposed to change PS1. It did not do this on two systems.
Your results are quite interesting.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 04:10 AM
09-29-2003 04:10 AM
Re: command 'script' changes /etc/profile
What about an alias for script, or a script named script that is being picked up first in your path?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 04:22 AM
09-29-2003 04:22 AM
Re: command 'script' changes /etc/profile
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 04:24 AM
09-29-2003 04:24 AM
Re: command 'script' changes /etc/profile
At this point, I assume I will have to open a call to HP, unless someone comes up with something for me in the next day. (It's mostly only bugging me.)
Thanks
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 04:28 AM
09-29-2003 04:28 AM
Re: command 'script' changes /etc/profile
I kind of figured that would have occurred to you, but thought I should mention it just in case. I'm still scratching my head over this and will respond if anything occurs to me.
Good luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2003 06:22 AM
10-02-2003 06:22 AM
Re: command 'script' changes /etc/profile
On most of my machines, I have the following in /etc/profile:
export PS1="$HOST:\$PWD$ "
On the 10 that were not working, this is not present. (For some reason.) This made these commands change PS1, no matter what I had in my .profile for a PS1 export.
Thanks
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2003 06:23 AM
10-02-2003 06:23 AM
Re: command 'script' changes /etc/profile
John