Getting root to recognize .bashrc [SOLVED]

How do I get root to recognize my home directory's .bashrc? I want it to read that so I can color the root BASH prompt and have access to aliases.
Any help would be most appreciated.

phrakture wrote:I know!
Don't run as root, just use sudo.  Problem solved.
Then how do you make sudo use your aliases, i've got
alias emacs='emacs -nw'
both in /home/user/.bashrc and /root/.bashrc... it works well when i just type emacs in a console, but sudo emacs starts emacs with its ugly gui (although starting emacs after typing sudo -s works the way i want it to)
It's the same with with ls too, try and compare ls to sudo ls

Similar Messages

  • How do i get itunes to recognize my device

    how do i get itunes to recognize my device

    Hello there,
    It sounds like your iPod Nano is not seen in iTunes. I recommend the troubleshooting steps from the article named:
    iPod not recognized in My Computer and in iTunes for Windows
    http://support.apple.com/kb/ts1369
    Here is an overview of the troubleshooting to be done:
    1. Start with the iPod Troubleshooting Assistant
    If you haven't already done so, use the iPod Troubleshooting Assistant that applies to your iPod. This will often solve your issue.
    If you're still experiencing the issue after going through each of the steps in the assistant, continue with the steps below in this article. The most likely solutions are listed below (for both USB and FireWire (IEEE 1394) iPod connections). Check each section starting from the top of the list to see if that is what's keeping your iPod from appearing.
    Note: To determine if your iPod syncs via USB or FireWire, check the table in the Additional Information section below.
    2. If your iPod displays an exclamation point folder or sad iPod icon
    3. Charge the iPod and make sure it is getting power
    4. Secure the iPod's connections
    5. Disconnect other USB Devices
    6. Determine whether your iPod's cable functions properly
    7. Place the iPod into Disk Mode
    8. Determine which format the iPod is in
    9. Verify that USB drivers are installed
    10. Determine if Windows confuses iPod with a network drive
    11. Determine if third-party software may be causing conflicts
    12. Reinstall iTunes
    13. Make sure FireWire card is a WHQL-certified IEEE 1394 card
    14. Check for a conflict in the FireWire chain
    15. Determine if there may be an issue with your computer
    16. Your iPod needs service
    If the issue persists, try uninstalling iTunes and its associated apps with this article named:
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/ht1923
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • DWMX2004 -- I can't get it to recognize a SWF

    I'm trying out Flash CS3 with my trusty ol' Dreamweaver
    MX2004, on Mac OS 10.4.9. I've had another DW site active for four
    years; this is the first time I've tried Flash.
    The swf plays as expected (I've posted it for reference at
    www.somethinghappeninghere.com/happeningintro.swf), but I cannot
    get DW to recognize it within my index.html
    (www.somethinghappeninghere.com). I've tried inserting my .swf
    according to instructions in ch. 17 in Todd Perkins' H.O.T. CS3
    book, and by using Dreamweaver's Insert > Flash menu command. I
    found another tutorial that talked about "skins" (huh?) in DW CS3,
    but I don't find them used in my MX2004.
    I do also have the corresponding "happeningintro.html" file
    from when I published the swf -- but I can't find anything that
    refers to how to USE it.
    Please send any suggestions and clarification to
    [email protected] I'm fully prepared to give myself a dope-slap
    when Iearn whatever details I've overlooked. Thank you.

    > www.somethinghappeninghere.com
    the path is wrong.
    This is the code:
    <param name="movie" value="/swf/happeningintro.swf">
    The flash file is here:
    http://www.somethinghappeninghere.com/happeningintro.swf
    A question?
    "/swf/happeningintro.swf" is a site root relative path. If
    you made this a
    document relative path, would it then become
    "happeningintro.swf" which is
    where the file is at....
    This index.html page is inside of the swf folder? It's not in
    the root level
    of the "local site folder"??
    If that's the case- you've defined the "local site folder"
    one folder level
    too high. It should be the folder that contains the homepage
    index file, not
    two folders up.
    If you need to adjust the remote server folder because the
    site files need
    to be in a subfolder such as www or htdocs or public_html or
    similar, use
    the "host directory" line of the remote server info to adjust
    the path to
    the public site folder
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Bash shell for root not sourcing .bashrc

    Hi all
    Finally got around to getting my home LAPP server up and running - on Arch of course!
    Small problem that's really annoying. I can't get root's shell to source the .bashrc file.
    I (kind of) followed the colorized prompt tip from the Wiki:
    http://wiki.archlinux.org/index.php/Pos … nd_Console
    Except I put EVERYTHING in to /etc/bashrc then sym linked my user and root ~/.bashrc to /etc/bashrc:
    fukawi2 ~  $ ls -lha .bashrc
    lrwxrwxrwx 1 fukawi2 fukawi2 11 2008-04-01 21:53 .bashrc -> /etc/bashrc
    And that works fine. Root doesn't though. I tried removing the symlink and replacing it with a 'normal' .bashrc file that only sources /etc/bashrc if it exists:
    [root@lapp ~]# cat .bashrc
    if [ -f /etc/bashrc ]; then
            . /etc/bashrc
    fi
    But if I source it manually after I su or sudo, it works fine:
    fukawi2 ~  $ sudo -i
    [root@lapp ~]#
    [root@lapp ~]# (There's no pretty colorized prompt here)
    [root@lapp ~]#
    [root@lapp ~]# logout
    fukawi2 ~  $ su -
    Password:
    [root@lapp ~]#
    [root@lapp ~]# (Still no pretty prompt!)
    [root@lapp ~]#
    [root@lapp ~]# logout
    fukawi2 ~  $ sudo -i
    [root@lapp ~]# . .bashrc
    root ~ #
    root ~ #  (That's better; now I have the pretty prompt!)
    root ~ #
    Not having the colors doesn't bother me so much - it's not having all my aliases and not being able to change root's $PATH variable to include /usr/local/bin/ that's really annoying.
    Anyone got any advice or suggestions please?

    Besides having a .bashrc file, you also need a .bash_profile file in root's home directory.  .bash_profile should contain the following:
    . $HOME/.bashrc
    the .bash_profile file tells bash what file to use for configuration, which by convention has always been .bashrc.
    HTH
    Pudge
    Edit:  Opps, too slow on the trigger.  Brebs beat me to it.  I spent too much time looking in man bash for an explanation of the .bash_profile and .bashrc files.
    Last edited by Pudge (2008-04-03 02:04:54)

  • Failed to get root path for 'UED'

    Good afternoon.
    I have a problem with my IDES installation in University.
    After a server reboot, MAXDB doesn't want to give up.
    This is the log:
    $ tail startdb.log
    Error! Connection failed to node dolphin for database UED: database not found                    
    Opening Database...
    Failed to get root path for 'UED'
    Error! Connection failed to node dolphin for database UED: database not found                    
    Fri Aug 24 17:11:11 CEST 2007
    Connect to the database to verify the database is now open
    dbmcli check finished with return code: 0
    If I try to run dbmcli manually, I receive the same error:
    $dbmcli -u control,****** -d UED
    Failed to get root path for 'UED'
    Error! Connection failed to node (local) for database UED: database not found
    Any suggestions??
    Regards,
    Luca

    Hi Markus,
    I think that my problem is not completely solved.
    In fact, now the IDES system is on , but I'm not able to login into it.
    When I select UED system on menu of my JAVA GUI and press "connect button", I can't access to SAP login window. (see )
    I'm sure that is not a "network problem" of my laptop. (the problem persist also with others SAPGUI).
    I've tried to <b>reboot</b> the server, but the situation is always the same. No way to access into the system, popup "connecting" reman.
    If I try to see process that are running in the server, via "top -u uedadm" command, this is the situation:
    3791 uedadm    16   0 87988 9768 1996 S    0  0.2   0:00.00 sapstartsrv                                                                               
    4775 uedadm    15   0 54664 1580  904 S    0  0.0   0:00.04 csh                                                                               
    4911 uedadm    16   0 54664 1604  920 S    0  0.0   0:00.05 csh                                                                               
    5388 uedadm    20   0 26788 1896 1064 S    0  0.0   0:00.04 sapstart                                                                               
    5408 uedadm    16   0 35736 5748 3024 S    0  0.1   0:00.06 ms.sapUED_DVEBM                                                                               
    5409 uedadm    16   0 4480m 100m  86m S    0  2.5   0:00.95 UED_00_DP                                                                               
    5410 uedadm    16   0 27528 2988 2224 S    0  0.1   0:00.05 co.sapUED_DVEBM                                                                               
    5411 uedadm    16   0 27488 2952 2216 S    0  0.1   0:00.04 se.sapUED_DVEBM                                                                               
    5412 uedadm    18   0 17620 2432 1800 S    0  0.1   0:00.01 ig.sapUED_DVEBM                                                                               
    5413 uedadm    16   0  210m  12m 3352 S    0  0.3   0:00.20 igsmux_mt                                                                               
    5414 uedadm    16   0  183m  18m  10m S    0  0.5   0:00.16 igspw_mt                                                                               
    5415 uedadm    16   0  183m  18m  10m S    0  0.5   0:00.19 igspw_mt                                                                               
    5430 uedadm    15   0  188m 8296 5972 S    0  0.2   0:00.05 gwrd                                                                               
    5431 uedadm    18   0  164m 4376 2844 S    0  0.1   0:00.63 icman                                                                               
    5432 uedadm    17   0 4486m  22m 7988 S    0  0.6   0:00.01 UED_00_DIA_W0                                                                               
    5433 uedadm    17   0 4486m  22m 7976 S    0  0.6   0:00.01 UED_00_DIA_W1                                                                               
    5434 uedadm    16   0 5201m  79m  63m S    0  2.0   0:00.82 UED_00_DIA_W2                                                                               
    5435 uedadm    17   0 4486m  22m 7976 S    0  0.6   0:00.01 UED_00_DIA_W3                                                                               
    5436 uedadm    17   0 4486m  22m 7980 S    0  0.6   0:00.02 UED_00_DIA_W4                                                                               
    5437 uedadm    16   0 4486m  22m 7980 S    0  0.6   0:00.02 UED_00_DIA_W5                                                                               
    5438 uedadm    16   0 4486m  22m 7976 S    0  0.6   0:00.01 UED_00_DIA_W6                                                                               
    5439 uedadm    16   0 4486m  22m 7976 S    0  0.6   0:00.02 UED_00_DIA_W7                                                                               
    5440 uedadm    17   0 4486m  22m 7980 S    0  0.6   0:00.01 UED_00_DIA_W8                                                                               
    5441 uedadm    16   0 4486m  22m 7976 S    0  0.6   0:00.02 UED_00_DIA_W9                                                                               
    5442 uedadm    17   0 4486m  22m 7976 S    0  0.6   0:00.02 UED_00_DIA_W10                                                                               
    5443 uedadm    17   0 4486m  22m 7984 S    0  0.6   0:00.01 UED_00_DIA_W11                                                                               
    5444 uedadm    17   0 4486m  22m 7972 S    0  0.6   0:00.02 UED_00_UPD_W12                                                                               
    5445 uedadm    17   0 4486m  22m 7972 S    0  0.6   0:00.01 UED_00_UPD_W13                                                                               
    5446 uedadm    17   0 4486m  22m 7976 S    0  0.6   0:00.01 UED_00_UPD_W14                                                                               
    5447 uedadm    16   0 4486m  22m 7976 S    0  0.6   0:00.02 UED_00_ENQ_W15                                                                               
    5448 uedadm    16   0 4486m  22m 7976 S    0  0.6   0:00.02 UED_00_BTC_W16                                                                               
    5449 uedadm    17   0 4486m  22m 7980 S    0  0.6   0:00.01 UED_00_BTC_W17                                                                               
    5450 uedadm    17   0 4486m  22m 7976 S    0  0.6   0:00.01 UED_00_BTC_W18      
    I think that is not a performance problem of server, because
    "free -m" command
                       total       used       free     shared    buffers     cached
    Mem:          3946       2249       1697          0         50        950
    -/+ buffers/cache:       1247       2699
    Swap:         8001          0          8001
    Can you please me, give some suggestions?
    Thank you very much.

  • How do I get iTunes to recognize a new device if I accidentally did not hit new device when I first hooked it up? I hit the button that said I wanted to back it up from my old info

    How do I get iTunes to recognize a new device if I accidentally did not hit new device when I first hooked it up? I hit the button that said I wanted to back it up from my old phone. The new phone is my husbands and I don't want to back up my phone info on it. I re connected it hoping it would prompt me with the option again and it doesn't , it just shows up as a back up to my phone. How can I get it to give me that option in the beginning again

    First of all, I think the first time you sync an iPod that's formatted for Windows on a Mac, the sync process reformats it for Mac. You can check what it is now by looking for the iPod with Disk Utility. If it's Mac OS Extended, it's formatted for Mac already.
    Also, there is no current iPod updater app these days. iTunes handles it through the Restore button. If you are not able to use the latest iTunes because of your Mac, I can understand. The latest version of iTunes should run with 10.3.9 or later, if the hardware can handle it.
    You said the battery was low so let it recharge for a while.
    You should also reset the iPod. It's part of the 5Rs, which you should go through as the starting point for iPod trouble-shooting.
    http://www.apple.com/support/ipod/five_rs/wheel/

  • How can I get Lion to recognize my boot camp partition.

    Yesterday morning I found my mac suffered from a b-tree failure and was unable to access OS X 10.6. I ended up booting into my Boot camp partition of Windows XP and backed it up then reinstalled Snow leopard. Then I upgraded to Lion, saw it fail due to a partitioning issue, created a 2gb partition called Mac HD 2 (by shrinking mac hd), saw i could install but not full install. So I created another partition and installed Lion successfully. Got into Lion and shrunk my 2x 2GB partitions into one 4GB partition. My Windows XP hard drive boot camp partition was still on my desktop. I can access all the files but I can not boot into it. When I hold down the option key there is only Mac HD or Recovery partition.
    Is there any way to get the boot camp partition to work?
    I did notice that when I was looking through the settings I could choose which HD was the default boot option. Mac hd with 10.7 and a folder called Windows XP were both available.

    We also cannot get Robohelp to recognize our FrameMaker installation. 
    We are using Robohelp 9  and Framemaker 11.
    We are in the process of moving all of our Robohelp content to Framemaker, but our project team still needs CHM files for the next release or so.  So we figured we could move our content to Frame 11, then import the Frame content into Robohelp when we needed to generate the CHM files.
    The process works great when we use RH 10 and Frame 11, but we get the following error when we use RH 9:
    "This operation cannot be completed without FrameMaker.  Install FrameMaker and try again."
    I have uninstalled and reinstalled Frame 11 and RH 9, but am still getting the same error.  Buying a set of new Robohelp 10 licenses probably isn't an option.
    Any other suggestions?
    Thanks,
    Sue

  • How can I get itunes to recognize my 7th gen. ipod nano

    My wife bought me an ipod nano the other day and I am unable to get itunes to recognize it in the device menu. I have spent over 2 hrs attempting differnt suggestions with no results. I down loaded the newest version of itunes and when I plugged in my ipod nothing popped up and I was never given a chance to set it up. When I open the side bar there is no device option to sync music to the ipod, so what can I do?

    Wile connected to your computer:
    Press and hold the Sleep/Wake button and the Home button until the screen goes dark. The Apple logo should appear after a few seconds, then the Home screen should appear.
    That is a reset and your nano should show up.

  • When I open InDesign files from our design team, the fonts don't show up even though I have them installed on my computer. How do I get it to recognize fonts I have installed?

    I use my Adobe programs from the Creative Cloud. When our design agency sends me files, I open them and fonts I have on my computer aren't showing up when I open the file. Everywhere online it says I need to add the fonts to InDesign's font file, but since I'm working out of the Creative Cloud, I don't have that option. How do I get InDesign to recognize these fonts when I'm opening files from our agency?

    ID sees fonts installed on your computer and contained in a Document Fonts folder in the same folder as the document, if one exists.
    I don't really understand what you are saying about fonts you have installed not showing up. And cloud makes no difference -- all the applications and support files are installed on your hard drive.

  • I used  Ion Profile Pro to digitize quite a few records. However on some records, it will not recognize them and sync them in iTunes. Perhaps because some songs "ran together" when copied or titles were misspelled. Can I get iTunes to recognize them?

    I used Ion Profile Pro turntable to digitize some old records. It worked fine for most of the records, but on five or six albums I get an error message saying "the original file can't be found" and it won't transfer them to my iPod Touch. However, the files are on my hard disk digitized and I can click on them and play them in Windows Media Player. When I go to iTunes, the records (or the CD created from the original records) exits in the iTunes libraries for sale. However, in some cases, the contents of the album offered for sale differs slightly from the original record, or the songs exist on different albums, but not the original album that I had. In some cases minor misspellings occurred on a few titles when they were entered in the ION softwareon my computer. In a few cases, it seemed as if ION did not recognize that there were two or three songs and ran them all together as one and again, my song list does not exactly match Apple's.
    I own these songs, but iTunes won't put them on my iPod Touch. Is there anything I can do (short of paying for songs I already own) to get Apple to recognize these songs?

    You seem to have an iTunes problem, not an iPod problem.  Try posting in the iTunes forum.

  • How do I get MainStage to recognize my FCB1010?

    I’m pretty new to a lot of this stuff, so I hope this makes a little bit of sense.  I recently bought the fcb1010 to use with Mainstage 2.  I have been following the JasMan tutorials, among many others, and been digging through comments and comments and still can’t get this thing to work! First I tried the Midi- in and out connection through my Saffire PRO 24 DSP, and I downloaded ifcb.  I tested my midi cables, they are fine.  Read somewhere that the Saffire might not support Sysex.  So now I’m using my M-Audio fast track pro.  I set my ifcb CC numbers up as shown in the tutorials, also tried some combinations from other tutorials.  Successfully sent it to the controller (I think) via SYSEX transfer.  The FCB1010 consistently shows up as connected to ifcb1010, although once in a while I have to restart my computer to get it to read. One thing I noticed is that if I control the foot pedals with my feet, the LED displays will change on ifcb, however, if I click on pedal graphics in ifcb, there is no change in the physical controller (the lights stay on in the same places).
    Okay, so I followed all the steps in your tutorial, however, Mainstage will not learn any commands.  Sometimes when I press the foot controller MS will not show any midi information in the display at the top, however, if I go into performance mode and press my controller, it will jump around from patch to patch and set to set in a seemingly random manner.  Sometimes the Midi-information does show at the top, but it always is displayed as  [ X 16 0 0].  This is after the set-up in ifcb and sysex transfer.
    In layout mode, the only device that shows up is my fasttrack, I can’t get the FCB1010 to show up.  I can change the controls in layout mode from yellow to black if I change the channel manually, however when I change the number manually it still seems to have no effect.  Regardless, the learn function is not working.  The last thing I have done is used MIDI monitor…each pedal and the expression pedals show up as a different data number on the same channel number (1). I’ve spent many hours trying to figure this out with a lot of trial and error along with all the sequential things I’ve read and seen on tutorials, it seems I keep hitting roadblocks!  The only thing I can think of that maybe could be the problem is that my midi-in port on the FCB is not functioning (maybe)? When I run the relay test on the FCB1010, it reads F1, not A1. 

    I cannot seem to get mainstage to recognize my FCB either. I am using IFCB. Anyone figure this out?
    Thanks,
    Eric

  • How do i get Dreamweaver to recognize my website

    I had to wipe clean my PC, I saved all the Dreamweaver files. I reloaded Dreamweaver on my freshly built C drive. I also placed all the Dreamweaver files on C drive in the same location before the rebuild. my questions are these
    1, how can I get Dreamweaver to recognize the files and links on C drive or
    2, how can i down load the site from the Web to dreamweaver
    Thank you in advance
    Ciro

    Have a look here http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html

  • We own 5 Apple devices but for some reason I cannot get iTunes to recognize one of the iPads.  The other 4 show up just fine and we can sync and do all the stuff we are supposed to do, but this one device is never recognized.  Tried everything.  Help!

    We own 5 Apple devices but for some reason I cannot get iTunes to recognize one of the iPads.  The other 4 show up just fine and we can sync and do all the stuff we are supposed to do, but this one device is never recognized.  I've tried updating the software, reinstalling iTunes, using different ports on the laptop, different cables...just about everything.  I have NEVER been able to connect this one device, but all the others are fine.  I'm at my wits end.  Is there someone out there who can help a relative novice figure out what's going on?  Thanks so much!

    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iTunes for Windows: Device Sync Tests
    http://support.apple.com/kb/HT4235
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    http://support.apple.com/kb/ts4062
     Cheers, Tom

  • I can't seem to get GB to recognize my Behringer X1222 USB Mixer. It will record, but shouldn't I be able to see and/or select which input channel(s) that I will record from? Can I record more than one channel at a time, and record multi tracks?

    I can't seem to get GarageBand to recognize my Behringer X1222 USB Mixer. It will record, but only on the generic "USB Input, without seeing or letting me select the input channel from the mixer. Can't find any drivers from Behringer. How do I getGB to "see" the mixer? Thanks, I'm a newbie to Macs in genreal, and recording...

    viiram wrote:
    It will record, but only on the generic "USB Input, without seeing or letting me select the input channel from the mixer.
    the x1222 includes a 2 channel audio interface, 2 channels are all you can get from it.
    the most you can do is record to 2 tracks at a time; skim this tute to see how:
    http://www.bulletsandbones.com/GB/Tutorials.html#allaboutrecording2tracks
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • TS1538 I cannot get Itunes to recognize my Iphone 4s, or Ipad2 after installing IOS7???  Says must install Itunes 11.1.  0So I did and still no luck.  Anyone got any advice???

    I cannot get Itunes to recognize my Iphone4s, or Ipad 2 after installing IOS7?  Says must install Itunes 11.1 So I did that and still no luck.  Anyone got any advice???

    Version 11.1.5.5 of iTunes was just released today. If you update to that, does that help with the recognition troubles?
    http://www.apple.com/itunes/download/

Maybe you are looking for

  • Deleting iweb site from mobileme

    I have moved my web site to a new hosting service.  All OK.  However, I realise now that I did things in the wrong order really.  I wanted to leave a stub on the old MobileMe site redirecting my audience.  I did this by deleting my website from Mobil

  • Is there one better than D90?

    I have stared doing youth sports photography and up until this point I have chosen outdoor sports as my old reliable camera could handle it.  Starting this year I am taking on indoor sports and some awards ceremonies that are notorious for the low li

  • Make Eyedropper Set Foreground Color not Background

    How do you make color selections/sampling like with the Eyedropper set the Foreground color? It was always that way before CS3 unless I accidentally changed a pref unknowingly. Now when I select/sample color it sets the background color. I looked, bu

  • Configure grid alert to mobile via SMS

    Hello All, We have oracle Grid control installed and it is sending us the email notifications. Now we want only critical alerts to be rooted to mobile by means of SMS. Does anybody has worked on configuring this? Please share .. Thank you, Anil Malka

  • Bidding functionality in SRM

    Hi All, I have couple of queries on Bidding. To go with Bidding functionality 1. Is SUS is manadatory for Bidding ? 2.How Bidder will give RFX reponse with out SUS? Abdul Raheem