[SOLVED] Only local config files for common shells?

Just to understand matter a little better: As far is I've learned, common shells like fish or zsh only look in local directories for configuration files (like ~/.config/fish/config.fish or ~/.zshrc) but wouldn't this be extremly uncomfortable to lose all custumizations when running sudo su?  Or is it generally depreciated to use su and one should try to get everywhere using sudo only?  Vim, for example, also looks in /etc for a global vimrc.
Thanks for some clarification!
Last edited by ysetdng (2014-07-12 22:47:06)

Thanks a lot for the inputs!  Now I've got some context.
ConnorBehan wrote:Are you sure they only look in local config files?
I'm unsure now, the man pages say that zsh indeed also parses /etc/zshrc, I only checked the Arch Wike page before and there it doesn't mention this.
Last edited by ysetdng (2014-07-12 22:46:36)

Similar Messages

  • UWL config file for Customer, Vendors and Materials

    Hello All,
    We are trying to integrated uwl to connect to a MDM system for objects Vendors, Customer and Materials. I have looked at the MDM UWL config file, it is configured only for Business partners and products.. does anybody have the config file for Customer, Vendor and Material using business content..
    Thanks in advance
    Som

    Hey Som,
    If you are talking about Portal UWL, then you have to go for System Admin, there you should see UWL related iviews. There you have the ability to download the uwl xml. in that you have to do some modifications.
    All that matters for your problem is the MDM System you have created. when you chanage the respository informatin at this system. then your problem should be solved.
    Thanks,
    Raghavendra

  • Creation of one single config file for 100 packages

    Hello Everyone,
    I need to create a single config file for multiple packages. Is it possible to do it?
    Could you please let me know how can it be achieved?
    Regards,
    Chinni

    Its possible
    Depending on whether all packages contain same configuration items and names you can use any of below approaches
    1. If all package configuration items and names are same, you can point all packages to same config file and it will use values from file for all of them
    2.If packages have different set of conigurations, then one method is to use parent package (wrapper package) to call and execute all of them. Then define all configurations as variable values in parent and add a config file in it. Pass only required configurations
    to each of child packages by using parent package configuration method.
    http://www.sqlis.com/sqlis/post/Using-Parent-Package-Variables-in-Package-Configurations.aspx
    The parent package has to call child packages using execute package task
    Then change any of values in your config file for parent package and change gets reflected to child package property values.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • [svn:osmf:] 13604: Update build-config files for sample plugins.

    Revision: 13604
    Revision: 13604
    Author:   [email protected]
    Date:     2010-01-18 17:09:32 -0800 (Mon, 18 Jan 2010)
    Log Message:
    Update build-config files for sample plugins.
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml
        osmf/trunk/apps/samples/plugins/MASTSample/MASTSample-build-config.xml

    Thanks Brian. I would certainly appreciate the maintenance and documentation of some of these. The one that most comes to mind is the OSMFTest suite. This would be valuable if only so that developers have some idea of the coverage that's going on under the hood. It would also help for diagnosing what's going on when behavior is not as expected. I was pleased that when I figured out how to compile this directory, I could see that there were 1109 tests, all of which passed except for one that failed due to not being on my local security whitelist.

  • [svn:osmf:] 13605: Update build-config files for libs.

    Revision: 13605
    Revision: 13605
    Author:   [email protected]
    Date:     2010-01-18 17:10:01 -0800 (Mon, 18 Jan 2010)
    Log Message:
    Update build-config files for libs.
    Modified Paths:
        osmf/trunk/libs/VAST/vast-build-config.flex
        osmf/trunk/libs/VAST/vast-build-config.flexcov
        osmf/trunk/libs/VAST/vast-build-config.xml
        osmf/trunk/libs/adobe/NetMocker/netmocker-build-config.xml

    Thanks Brian. I would certainly appreciate the maintenance and documentation of some of these. The one that most comes to mind is the OSMFTest suite. This would be valuable if only so that developers have some idea of the coverage that's going on under the hood. It would also help for diagnosing what's going on when behavior is not as expected. I was pleased that when I figured out how to compile this directory, I could see that there were 1109 tests, all of which passed except for one that failed due to not being on my local security whitelist.

  • No local help files for Photoshop CS6 extended

    Hi
    I wish to use local help files for Photoshop CS6 but only online support is available. Local files are not listed under the Adobe Help preferences. The option to search only local rather than online help is greyed out. I found and downloaded a PDF with of the help files but don't know where to install it or if this is possible. I have CS 5 Creative Suite and this works fine giving the option of local or online help when accessed.
    Is there a way to install and use local help files in photoshop CS6?
    Thank you.

    Hi and thanks for directing me to that article, it should have done the trick. I am using mac mountain lion 10.8.5.
    The help system has always operated oddly - I have Photoshop cs6 but also the cs5 master suite installed. CS5 works fine but Photoshop cs6 only gives the option for online help and then directs me to the CC site. There is no simple listing for just Photoshop help in the help menu - presumably as it is not seeing it installed
    I tried various configurations in the article, having to set up the folders they suggested. In my case, in a variety of alternative places as I have a boot up volume with the documents folder moved onto a RAID array so the Shared folder is not in the documents folder but in Users on the boot drive. So - confusing - but tried all the likely candidates and folder configurations/locations while following the instructions as closely as possible. Even tried an documents folder alias to redirect the program to the alternative path way.
    At least now I have the PDFs and can look through them outside the adobe interface. The problem with the community site being questions regarding photoshop alone, yield answers for all sort of other issues and programs.
    Thanks for your help though, which should have worked, appreciated.

  • Cannot get Membership Provider with name RoleProvider. The membership provider for this process was not properly configured. You must configure the membership provider in the .config file for every SharePoint process.

    I am trying to create a web application that uses AD LDS as its authentication provider. I have followed all the steps and verified all the web.config files, but I receive the error below:
    Cannot get Membership Provider with name CustomRoleProvider. The membership provider for this process was not properly configured. You must configure the membership provider in the .config file for every SharePoint process.
    Has anyone come across this error before?

    There seems to be some issues in your web.config files. Please make sure your Web application entries for membership and role provider(at central admin site) are matching with Web.config entries. your error
    "Cannot get Membership Provider with name CustomRoleProvider.
    ", indicating that you may have used role provider name in Membership provider text box or in web.config.
    Also please make sure that you have correct entries in all 3 web.config files - Central Administration , Security Token Service (STS), Web application .
    Please refer  -
    Forms Based Authentication (FBA) in SharePoint 2013
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Generate a xml config file for SPA3102

    Hi everyone,
    I'm trying to create a xml config file for my SPA3102
    I tried  http://<phone -or- device ip address>/admin/spacfg.xml
    to generate the xml but i had a  404 Not Found !
    web page so i'm searching a solution to generate a config file from the existing configuration
    I don't want to generate 2 html files for voice and router
    can you help me ?

    Basically, XML config file for this SPA3102 can be generated using SPC tool software (Profile
    compiler). However, I think this tool is only available from your Value Added Reseller or from your VoIP.Thanks.

  • Global emacs config file for all users?

    Hi all,
    i put .emacs in my home dir, but it do not take effect when  'sudo emacs'
    so where should i put the config file for all users ?
    thanks!

    use this elisp snippet to edit file by sudo
    (defun xwl-revert-buffer-with-sudo ()
    "Revert buffer using tramp sudo.
    This will also reserve changes already made by a non-root user."
    (interactive)
    (let ((f (buffer-file-name))
    (p (point)))
    (when f
    (let ((content (when (buffer-modified-p)
    (widen)
    (buffer-string))))
    (kill-buffer (current-buffer))
    (if (file-remote-p f)
    (find-file
    (replace-regexp-in-string "^\\/[^:]+:" "/sudo:" f))
    (find-file (concat "/sudo::" f)))
    (when content
    (let ((buffer-read-only nil))
    (erase-buffer)
    (insert content)))
    (goto-char p)))))

  • [SOLVED] Parsing simple config files in pure bash

    Hi everyone,
    I'd like to implement a bash function to parse a simple config file for a script I've wrote. The conifg file contains different sections for different scenarios. Here's an example how it should look like:
    # configuration file
    # global settings
    global {
    DATE_PREFIX="-I"
    SSHFS_OPTS="-C"
    EXT_FULL="full"
    EXT_DIFF="diff"
    EXT_CATALOGUE="catalogue"
    DAR_OPTS="-v -m 256 -y -s 600M -D"
    DAR_NOCOMPR="-Z '*.gz' -Z '*.bz2' -Z '*.zip' -Z '*.png'"
    # system settings
    system {
    DAR_OPTS="-v -m 256 -y -s 200M -D"
    It contains some settings which are global for the whole script and special settings groups which can be used to overwrite global settings.
    The function to parse this config file looks as follows:
    #!/bin/sh
    CONFIG="/home/chi/.daruprc"
    function readconf() {
    match=0
    while read line; do
    # skip comments
    [[ ${line:0:1} == "#" ]] && continue
    # still no match? lets check again
    if [ $match == 0 ]; then
    # do we have an open tag ?
    if [[ ${line:$((${#line}-1))} == "{" ]]; then
    # strip "{"
    group=${line:0:$((${#line}-1))}
    # do we have a match ?
    if [[ ${group} -eq $1 ]]; then
    match=1
    continue
    fi
    continue
    fi
    # found close tag but still no match - continue
    elif [[ ${line:0} == "}" && $match == 0 ]]; then
    continue
    # found close tag after config was read - exit loop
    elif [[ ${line:0} == "}" && $match == 1 ]]; then
    break
    # got a config line return it
    else
    echo $line
    fi
    done < "$CONFIG"
    for line in $(readconf "system"); do
    echo $line
    done
    As you can see I try to just echo the lines at the moment. And here's the problem: It seems I have some " escape issues, if I run it I get the following output:
    ./parseconfig.sh
    DATE_PREFIX="-I"
    SSHFS_OPTS="-C"
    EXT_FULL="full"
    EXT_DIFF="diff"
    EXT_CATALOGUE="catalogue"
    DAR_OPTS="-v
    -m
    256
    -y
    -s
    600M
    -D"
    DAR_NOCOMPR="-Z
    '*.gz'
    -Z
    '*.bz2'
    -Z
    '*.zip'
    -Z
    '*.png'"
    As you can see there are way to much newlines - which leads to problems when I try to use "eval" to initialize the variables.
    I am sure I am missing something simple here, however I am looking for a solution for a few days now - maybe one of the bash gurus on this board can enlighten me ;-).
    Thanks in advance
    PS.: I am trying to do this in pure bash because the script also needs to run on embedded machines with very low memory like my router on which I don't have sed or awk or the like. I also know that I could for example just use different config files to circumvent the whole parsing - but I am just curious if this could work the way I like ;-).
    Last edited by chimeric (2007-11-04 23:20:58)

    chimeric wrote:
    Hi MrWeatherbee,
    well yes, but I want to assign (eval) these lines to get variables out of them. Since the while loop is trapped in its' own subshell I need to return the lines into the parent one to be able to make these variables "visible" in the script itself.
    Right. But I was trying to show you that the way you were going about it wouldn't work at a very fundamental level.
    Without changing too much code just for a quick and dirty demo,
    change:
    # got a config line return it
    else
    echo $line
    fi
    done < "$CONFIG"
    # got a config line return it
    else
    line_array=( "${line_array[@]}" "$line" )
    fi
    done < "$CONFIG"
    numarrayelements=${#line_array[@]}
    and then in the main program code, do this:
    readconf "system"
    for index in $( seq $numarrayelements ); do
    line=${line_array[(($index-1))]}
    echo $line
    done
    Using an array to collect the good lines from the function allows you to reuse them later for whatever purpose. Although other ways exist, you certainly don't want to do what you originally did.
    Edit:
    I posted the code with an incorrectly referenced variable and had to fix it.
    Last edited by MrWeatherbee (2007-11-04 22:46:34)

  • [svn:osmf:] 14412: Added the Syndication. swc to the command line build config file for the AkamaiPluginSample project .

    Revision: 14412
    Revision: 14412
    Author:   [email protected]
    Date:     2010-02-24 17:48:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Added the Syndication.swc to the command line build config file for the AkamaiPluginSample project.
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml

    I think it is not supported through ant script and you may have to contact Oracle Support. Please go through below thread (hisaak's reply) -
    Re: Export OSB configuration jar file using Ant
    Regards,
    Anuj

  • Where is config file for port 5500 ??? Help

    Where is config file for port 5500 ??? Help
    Hello I have 10g_win32_db, and I want to change the http://localhost:5500 to something else where can i find the config file for that ?
    thanks

    To modify port 5500:
    - Modify the file $ORACLE_HOME/<hostname_sid>/sysman/config/emoms.properties
    Change the ConsoleServerPort property to the new port.
    - Modify the file $ORACLE_HOME/<hostname_sid>/sysman/config/emd.properties
    Change the REPOSITORY_URL property.
    - Modify the file $ORACLE_HOME/oc4j/j2ee/<hostname_sid>/config/http-web-site.xml
    Change all references of the old port to the new port.
    Restart the DB Control process:
    emctl start dbconsole

  • [svn:osmf:] 13633: Add build config file for SMILPlugin project

    Revision: 13633
    Revision: 13633
    Author:   [email protected]
    Date:     2010-01-19 14:23:44 -0800 (Tue, 19 Jan 2010)
    Log Message:
    Add build config file for SMILPlugin project
    Added Paths:
        osmf/trunk/plugins/SMILPlugin/SMILPlugin-build-config.xml

    Hi mg30,
    There is no way to overwrite the XML configurations file just through modifying the SQL Server Agent job steps.  The Dtexec utility will apply the default package configurations for the second time after applying the options specified in the command
    lines or other package configurations configured in the job step.
    If the package is not deployed/installed, the Dtexec utility looks for the XML configurations file according to the file path defined in the Package Configurations Organizer window. In this situation, you need to either disable the package configurations
    or modify the XML file path in the BIDS.
    If the package is already deployed/installed, you need to modify the package as above or re-specify the install folder for the package configurations file. 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • UBR 7246VXR - config files for MTA (Motorola SBV5120)

    Hi all
    We are going to implement MTA services of Motorola SBV5120 to our cable network (based on Cisco UBR 7246VXR). My task is to prepare config file for modems. I dont knot how make these files. Has anyone experiences with this task? Could anyone send me an example of configuration file which contain configuration file settings ? Is there some URL which could help me?
    Thanks Miroslav

    This URL should help you:
    http://www.cisco.rw/univercd/cc/td/doc/product/cable/cab_rout/cmtsfg/ufg_docs.pdf

  • [svn:osmf:] 14411: Adding command line build config files for the syndication library.

    Revision: 14411
    Revision: 14411
    Author:   [email protected]
    Date:     2010-02-24 17:45:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Adding command line build config files for the syndication library.
    Added Paths:
        osmf/trunk/libs/Syndication/syndication-build-config.flex
        osmf/trunk/libs/Syndication/syndication-build-config.flexcov
        osmf/trunk/libs/Syndication/syndication-build-config.xml

    Revision: 14411
    Revision: 14411
    Author:   [email protected]
    Date:     2010-02-24 17:45:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Adding command line build config files for the syndication library.
    Added Paths:
        osmf/trunk/libs/Syndication/syndication-build-config.flex
        osmf/trunk/libs/Syndication/syndication-build-config.flexcov
        osmf/trunk/libs/Syndication/syndication-build-config.xml

Maybe you are looking for

  • Creating view to get instances to user in wich he has taken part

    hellow. I have a question. I should to create custom view inside Oracle BPM. This view should get only instances in wich current user has taken part, for a example, some user "test" has assigned in the instance to make some task. Part "Test" has done

  • Macbook Pro 13 Retina Multi Gesture Official Trackpad Driver For Windows 8.1

    Hello Support Team, I want to ask about the Windows 8.1 Trackpad Driver as a start. I have got the Macbook Pro Retina 13 (Late 2013 Model), & I have installed Windows 8.1 on it using Bootcamp. The options at the bootcamp are not very smooth & the dra

  • Is this transfer possible?

    Is there any way of transfering files from one iPod to another? I tried this: My Computer>iPod 1>iPod_Control>Music>F00(Folder) I copied all the tracks randomly assigned to that folder from when I added them to my iPod via iTunes. And copied those sa

  • Helvetica Neue font conflict causing problems in Dashboard and elsewhere

    I'm an art director who makes extensive use of the Postscript version of Helvetica Neue. With Leopard, Apple has also started using it for certain interface elements, and unfortunately the system doesn't seem to know the difference between the OpenTy

  • EBELN in VBRK-BSTNK_VF (Purchase Order field)

    Hello Experts / Gurus In Third Party Sales Process, we like to display SAP Purchase doc # (EBELN) in Customer Sales invoice - Purchase order number or VGBEL or AUBEL field. We absolutely do not want to ABAP this. Any standard configuration way of ach