bash environmental variables gone

Posted on 2011-04-22
Last Modified: 2013-12-26
I recently changed my ldap password and now my environmental variables in my bashrc are gone.  Does anyone know why this happens or where I can find my old file?  Does a new profile get created when I change my ldap password?
Question by:kfeiner
    LVL 31

    Accepted Solution

    I presume that you were getting your home directory as NFS mount/automount.  When you successfully logged on, it also mounted you with presumably with AUTOMOUNT and gave you your home directory.  That home directory contained your bash profile scripts.

    You files should still be intact on the server that kept it.  You can logon by correcting your password problem or you should be able to otherwise check your files in the server's export directory that kept user home accounts

    Author Closing Comment

    i forgot that i had been SUDO'ing in as a diff user which had a different profile.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
    Recently, an awarded photographer, Selina De Maeyer (, completed a photo shoot of a beautiful event ( in An…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now