Ksh not picking up settings in .profile

Hi,
I am using Solaris 2.8 (02/02) and am having problems when I switch to a korn shell.
The default root shell is set to sh and although I use ksh more frequently, I am reluctant to set it as the default shell. My problem is that although all my environment variables are read from my .profile when I initially log onto the box, when I change to a korn shell (using "hostname# ksh") the resulting shell does not seem to carry across some settings into the new environment. Example:
In my .profile I have the following line:
PS1=`hostname`" # "
This is fine when I first log in to the box but from the prompt when I switch to ksh, the prompt gets reset to "#". I realise this is the default for the korn shell, but I was under the impression that I could change this in the .profile.
Can anyone help ?
Thanks,
Mick
(I have also tried executing "ksh -" from the command line but with the same results)

Hi
The contents of your .profile are executed once, when you log in or you assume the id of another
user.
If you want certain settings to persist accross shells then the best way to proceed is to create
a .kshrc file for the user.
At the end of your .profile ( say for root ) add the following
export ENV=/.kshrc.
Then create a .kshrc file with settings like PS1=`hostname`" # " or set -o vi etc., in it.
The kshrc will get sourced whenever a new shell is spawned.

Similar Messages

  • Breadcrumbs not picking up settings file configuration

    Hi
    I am using FM11, RH10 as part of TCS 4.0.
    I am creating a settings file that will be used by team to generate WebHelp outputs. In this, I want to change the default Times New Roman font of breadcrumbs to Arial. While I am aware how to set that during publishing, I don't want to take that approach because I don't want my team to fiddle around too many things during the publishing process.
    In the RHStyleMapping.css file I used to create the ISF, I saw the breadcrumbs option and changed it to Arial. However, that did not help.
    Is it possible to achieve what I am trying to achieve? If yes, please advise me how.
    Thanks.
    Sreekanth

    Are you creating breadcrumbs via the SSL recipe or by master page – if the former, it’s a browser issue being interpreted as Times AFAIK.

  • My dad gave me an iPhone 3G to use as an ipod touch but it's not picking up wifi. ive tried everything to like resetting the network settings turning wi fi off and on mutable times, turned the phone off on and on. What do i do?

    My dad gave me an iPhone 3G to use as an ipod touch but it's not picking up wifi. ive tried everything to like reseting the network settings turning wi fi off and on mutable times, turned the phone off on and on. What do i do?
    the iphone never really picked up wi fi when it was used as a phone and it didnt really matter because he had unlimited internet but it still wont go on wi fi. does any one know why it is doing this?
    The iphone works fine other wise i just really want it to go on wi fi. We just got new wi fi too and all of our other apple products go on the wi fi just fine. I dont know if its because its newer or what but my brothers 1st gen ipod goes on wi fi just fine.
    The iphone is updated to the latest ios too
    WHAT SHOULD I DO!!!!!!!!!!!???????

    This might help
    http://support.apple.com/kb/ht3406

  • My ipad pick ups the wi-fi signal but not the router settings and therefore will not connect to the internet, what am I doing wrong?

    I only bought the Ipad 2 yesterday, and as of yet have been unsuccessful with connecting the Ipad to the internet.  I have followed all of the instructions provided and have contacted both the provider of the Ipad and my internet service, all to no avail!  The Ipad shows that it is connected to the wi-fi but on checking the details on the selected IP address the number begins with 169 (I understand that this could be the problem) however when you ask for "renew lease" it doesn't change the number.  The Ipad is also not picking up any of the router details.  Hope I've provided enough info for any help!

    The problem could be due to your router or your iPad. To isolate the problem test your iPad on some other networks.
    If it has problems on other networks your iPad probably has a problem. You could try Settings > General > Reset > Reset Network Settings to see if that corrects the iPad problem. If that does not help your iPad may need repair/replacement. Contact Apple to resolve.
    If the iPad does not have problems on other networks the problem may be in your router. You could try restarting your router (remove power to it for 30 seconds and restart) to see if that helps, however, there could be a firmware problem in your router. Check the manufacturer's support Web page to obtain the latest firmware for your router.
    If you need more help please give more details on your network, i.e., your router make, model and version, the wifi security being used (WEP, WPA, WPA2), etc.
    See also http://support.apple.com/kb/TS1398

  • I reset network settings on my iPhone. However now it looks as if my iPhone and iPad are no longer linked. They are both connected to my apple account but when I send an imessage from one it is not picked up by the other. What do I do?

    I reset network settings on my iPhone. However now it looks as if my iPhone and iPad are no longer linked. They are both connected to my apple account but when I send an imessage from one it is not picked up by the other. What do I do? If anyone can help it would be very much appreciated. Many thanks x

    Check Settings > Messages > Send & Receive on both your iPhone and your iPad to make sure that the following are all true:
    (1) you have selected the same Apple ID on both devices,
    (2) you have the same entries checked under "You can be reached by iMessage at:" on both devices,
    (3) you have the same entry checked under "Start new conversations from:" on both devices,
    and
    (4) that the entry checked in #3 is one of those checked in #2 on both devices.
    When you say it has affected your iCloud account, what effect has it had?

  • Manual client deployment not picking up Group Policy provided registry settings

    We are having an issue with some laptops and machines that are turned off overnight not downloading necessary items for the SCCM 2012 client install.  We are going through the upgrade from 2007 to 2012 and are manually installing the client
    through the SCCM console.  Now that we have gotten the majority of our clients up to the 2012 version, we are planning to push the client going forward through WSUS.  Unfortunately, BITS is not allowing the update to come down in the time that some
    machines are on the network. 
    After some digging, we have concerns that the Group Policy setting for the command line properties are being ignored.
    We have the Group policy set as follows:
    /mp:oursccmserver.domain.com / service / forceinstall / BITSPriority:FOREGROUND SMSSITECODE=PRISITE FSP=OURFSP.domain.com
    However, the command line entry in the ccmsetup.log file on machines that have received the client as well as those not installing is showing the following:
    - Ccmsetup command line: "C\Windows\ccmsetup\ccmsetup.exe" /runservice /config:MobileClient.tcf
    - Command line parameters for ccmsetup have been specified. No registry lookup for command line parameters is required.
    Can someone tell me why it is not picking up the settings in the registry?  we have verified the settings are hitting the machines from GP, just does not seem to be using them which is why we thing it is allowing BITS to throttle the download of the
    pre-reqs.
    Thanks in advance for any suggesstions/help.

    Sorry for not updating this...
    After digging for days on this and contemplating calling MSFT support, I happened to check the Client Push installation properties and found the Install properties had been removed from each of our sites (1 primary and 2 secondary's).
    Although we do not have Client Push enabled for a variety of reasons, the properties have to be set for the manual push of the client from the console.  Once we re-entered the command line options for the Push install properties, manual installation
    from the console is working as expected.

  • I need to disable profiles being created in C:/Documents and Settings/[Current User], or I need to move where these are created, move them to somewhere else on the C:/ not under a person's profile. Is this possible?

    I'm trying to package Firefox 5.0.1 for people who have limited space on their profiles. When Firefox is installed and opened, it creates files in C:\Documents and Settings\[CURRENT USER]\Application Data\Mozilla\Firefox\Profiles and apparently this data (even though it's only 10MB) is too much for some people's profiles.
    Is there a way to move where this is created? They don't mind if none of the information such as bookmarks follows them. I need to know if it's possible to move the files elsewhere on the C:\ so that it's not stored inside a users profile folder.

    Open your profile folder Help menu (Alt + H) > Troubleshooting information and click the show folder button.
    Close Thunderbird
    Delete the file foldertree.json and restart Thunderbird.

  • IPad 2 is not picking up current location.  All settings seem correct.

    iPad is not picking up current location for use in apps requiring it.  It was ok prior to downloading the OS 5 upgrade.

    See Here for your Error Message  http://support.apple.com/kb/TS3694
    On your PC... Temporarily disable your firewall and antivirus software and try the Restore again...
    See here for Connection Issues
    http://support.apple.com/kb/TS1379
    From Here
    http://www.apple.com/support/itunes/troubleshooting/

  • Schema ID and Category ID is not picked in case routing

    Dear Experts,
    Currently I am working on SAP CRM 7.0 SP06. Now I am trying to do the settings for case routing based on rule policy.
    I have done the following settings for the above requirement.
    I have defined application area (as Case Management) in multilevel categorization.
    I have created category schema in web ui with application id as case management.
    I have created rule modular as if case category is xxx then route to xxx Org unit.
    I have maintained this rule policy under service manager profile.
    Now the problem is when I hit escalate button schema id and category id is not picking so my rule is getting failed.
    Could you please advice if I missed any settings and also please share if you have some document which will explain steps to get the above functionality.
    And also please let me know where we assign Reference category ID to a case.
    Kindly share your views over the same.
    Thank you.
    Regards,
    Babu.

    ok

  • Last PO Price not picking up

    Hi experts,
    In one of my clients, the Price from the Last P.O for all combination of Vendor/Material/Plant is not picking up. This has happened 15 days ago. I couldnt find any changes.
    I checked the InfoRecord, the info update tick in PO, the User profile for EVO, the Last PO price automatically Copy tick settings. But all are showing fine. Here PBXX is only used.
    Hope to get an answer soon, as I have been searchinh for the last 4 days and am unable to get the answer for this.
    Thanks,
    MouleswaraRao.

    Hi,
    You are facing this problem due to the Pricing date control field In the vendor master record or the Pricing date category field In the purchasing info record.
    Check out the same & make settings accordingly. Remember after you save the new settings you will have to create a new PO to check whether the problem is solved.
    Go through the link below,
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/75/ee130655c811d189900000e8322d00/frameset.htm
    If the problem is still not solved revert back to me.
    Regards,
    Prithviraj

  • I have an old iphone 3G that I want to use as an ipod touch. It does have a sim card and it has been reset but for some reason it will not pick up my wireless network, or any other wireless network.  What is the problem?

    I have an old iphone 3G that I want to use as an ipod touch.  It does have a sim card in it and it has been reset. For some reason it will not pick up my wireless network in my house, or any other wireless network.  What could be the problem?

    Is this the problem:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim

  • Document type KR is not picking to Clear GL account with T-code F-03

    Hi all,
    My client wants to clear GL account Cash-in-Transit which is open item managed. He has posted two items. One is with KR document type like Intercompnay adjustment account debit (40) and Cash-in-Transit account credit (50). Second item is with SA document type like Cash-in-Transit accont debit (40) and Intercompany adjustment account credit (50). He did not give vendor number and appropriate posting key (31) while postings. With document type KR, he posted with posting keys 40 and 50. Now while clearing the GL account through T-code F-03, system is picking only SA document type. The system is not picking document type KR. He wants to clear the items with each other. I have checked the document type settings. Check boxes Intercompany postings and trading partner are active in both above document types.
    How can the GL account be cleared ? Are any configuration settings missing ? Kindly advice as soon as possible.
    Thanks in advance.
    Regards,
    K.S.K

    Hi,
    First of all..why would system need a Exchange gain/Loss Account..If your local currency is INR and you posted a debit and a credit document both in INR..then there is no question of a foreign exchange gain/loss account..
    BUT, if you have posted the document in any currency other than INR, ie: your local currency...then the system would need a exchnage gain/loss account when you try to clear the debits and credits.. i am giving an example below to explain better..
    You posted a debit of 100 USD @ 40 = Rs. 4000.00
    You posted a Credit of 100 USD @ 42 = Rs. 4200.00
    Now, if you clear this debit and credit then there is no difference in 100 USD, as the debit and credit is netting off.. but if you see INR there is a difference of Rs. 200.00 which system posts to Exchange gain/loss account..which we maintain in OB09.
    Hope it is clear to you now..
    Regards,
    SAPFICO.

  • F110 AUTOMATIC PAYMENT PROGRAM  NOT PICKING PAYMENT METHOD

    hi guru's
    F110 - Running payment program proposal list going to exeption list , House bank not picking up from VENDOR master. if not maintaing house bank in vendor master
    proposal list is coming but 2nd house bank picking but i need 1 house bank. i maintained ranking order in FBZP.
    pls suggest me this issue.
    raj.

    Hi,
    I had an other problem with payment methods and in that case it was important how you fill it in the vendor and in the payment run. prhaps this helps you to found a solution or to understand how it is working
    I have set-up a new payment method "E" for splitting euro payments under EUR 50,000 (K is for the other and non iban payments)
    For this I have made the following settings in the Bank determination:
    PM Rank order House bank
    E 1 733BE
    K 2 733BE
    In the vendor masterdata I will fill in EK (to make it easy for users)
    When I run the payment method with KE the system is using K and not E. when I fill in EK the IBAN payments are going with E and and the other one's with K what is correct.
    Why is the Rank order not working for this? (look first to E and when E is not permitted go use K)
    Paul

  • Excise duty is not picking up for a business area

    Hi,
    please help me  ,The problem is
    while creating invoice it is found that exice duty is not picked up by the system for that invoice for a particular business area , so please suggest what setting has to be checked to rectify the error.Is
    Thanks
    Ahsan

    Excise Duty will flow based on your plant and CIN settings and not based on your business area.  So first check in your sale order / billing document whether plant is flowing.
    If you are in TAXINJ, ensure that you have maintained both the customer code and material code in J1ID.  If you are in TAXINN, ensure that the relevant tax code with that ED condition type is maintained in FV11
    thanks
    G. Lakshmipathi

  • Error while creating Notification: Partner Function is Not Allowed in Partner Determination Profile Q2

    During Notification Creation I get the error --Partner Function is Not Allowed in Partner Determination Profile Q2
    As I enter Purchase Document Number in the transaction QM01 and press Enter. I get the above error and donot go further.
    Can anyone help me here.

    Hello Prashant,
    You are missing some configuration for the partner function;
    Go- to
    SPRO>IMG>QM>Quality Notifications>Notification Creation>Partners>Define partner Determination Procedure>
    Again Select "Define Partner Determination Procedure".
    Select Quality management> Change Partner
    Now Select Q2.
    Compare settings with Partner Determination Procedure on any other client. Also check Partner functions on the same screen.
    Amol.

Maybe you are looking for