I'm trying to make a reference to a second hard drive that is not part of the main file system, so I changed all the references to /var/www to /media/HD1/www and I have set the permissions on the entire hard drive to allow reading, and I still get a 403 forbidden error when I attempt to access my site, everything works when I just use the default path. I'm using Ubuntu 10.04 with apache2 installed through the package manager...
Can I change the default path for any or all of the different crontab files?
Can they be changed independently? for example can the user mark get one path for cron jobs, Lynn get another, and root get yet a third, or are they always going to be the same?
How do I change them?
Hello fellow Linux users:
I know there are several crontab files on my computer. One each for each user, and it looks like one for root, maybe others?
I think there is only one cron handler that reads all the different crontab files and does what it is told.
If I do from my command line, I get:
Code: mark@server:~$echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games If I schedule a similar command in my own crontab file by using Code: mark@server:~$crontab -e with the following line:
prefix=user@my-server: find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do ( cd "$path" || exit $?
How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?
I can only get so far and then I find myself staring at the menu.lst (/boot/grub) in gedit. It looks nothing like the menu.lst in Linux Mint 7 and I know that tampering with the menu.lst could spell disaster. So how do I go about changing my default OS to Vista? I have been tinkering with distros for quite some time now but still not a pro.Take a look at what I got below.
# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,1) # kernel /vmlinuz-version ro root=/dev/mapper/vg_localhost-lv_root # initrd /initrd-[generic-]version.img # boot=/dev/sda default=0 timeout=5 splashimage=(hd0,1)/grub/splash.xpm.gz hiddenmenu title Fedora (18.104.22.168-162.fc12.i686) root (hd0,1) kernel /vmlinuz-22.214.171.124-162.fc12.i686 ro root=/dev/mapper/vg_localhost-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet initrd /initramfs-126.96.36.199-162.fc12.i686.img title Fedora (188.8.131.52-127.fc12.i686) root (hd0,1) kernel /vmlinuz-184.108.40.206-127.fc12.i686 ro root=/dev/mapper/vg_localhost-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet initrd /initramfs-220.127.116.11-127.fc12.i686.img title Windows Vista rootnoverify (hd0,0) chainloader +1
Whenever I use lpr on the command-line to print a text file, it uses DejaVu Sans Mono as the font. Is there a way to change this? I'd like to use Terminus as the font instead. I found that CUPS uses Courier as the default font for text files, so somewhere Courier is being aliased to DejaVu Sans Mono, and I have no idea where.
I'm somewhat of a n00b. I have a dual boot machine running XP and Fedora Core 14. I like my default boot always to be XP. Right now, XP is default BUT every time there is an update to Fedora, it will change the default to Fedora. I now have to edit grub.conf to boot from xp again. Is there a way to make xp always as the default even after an update?
I installed Fedora 12 LXDE spin and its default session was LXDE. Then I downloaded XFCE and tried to change the default session of GDM to XFCE. I edited ~/.dmrc and /etc/sysconfig/desktop but this didn`t change anything. I was unable to find where GDM stores its default setting.
Is there any way to change GDM default session?
And more important: is there any way to make GDM to store different default sessions for different users?
How do I change my default keyring password in F11?
The instructions from here no longer work:
Code: $ yum search gnome-keyring-manager Loaded plugins: dellsysidplugin2, fastestmirror, refresh-packagekit Warning: No matches found for: gnome-keyring-manager No Matches found Longer story:
Somehow I got my keyring and login passwords out of sync. I went to change my login password using passwd on the terminal. I meant to change it to (let's say) "abcdef" but typed "abcdfe" twice. Realizing my mistake I tried to used passwd a second time to change it to "abcdef", but passwd complained that the new password was too similar to the old. So I used "su -c 'passwd myusername'" - I was able to change my login password but I guess this did not update my keyring password. I've tried changing my password using passwd as myself (not root) to something completelydifferent, but my keyring password remains the first password (e.g. "abcdfe").
my last Fedora installation, the pulseaudio source is wrong. The default sink is:
How can I permanently change the Default source to be:
When I change it on desktop login as regular user to the right thing, then log out or reboot, I have to change it again when I log back in again. This is with an Audigy2 card, and onboard audio chip. I switch between the two for various reasons.
I'm trying to change the desktop to KDE so that it's persistent across boots. I did the usual thing of adding /etc/sysconfig/desktop and adding the appropriate parameters, but for whatever reason, whenever I reboot, it still loads Gnome. Now here's where it gets annoying: I can switch to runlevel 3, type startx, and then it will read /etc/sysconfig/desktop and load KDE properly. I've been banging my head against a wall over this one. Where is the call made to start gdm? I think I'll probably wind up changing the default runlevel to 3, but I'm still curious as to why those scripts are not executed on boot.
I've been trying to research this, but I don't really understand IP routing and it's bugging me that I can't fix this problem. I have a dedicated server (fedora core 7) with 3 IP addresses on the same eth0 interface. On the default IP address 18.104.22.168, there is some routing problem because I can't connect from the server to some other sites. Using one of the other IP addresses, like 22.214.171.124, I can connect fine. Additionally this address is better for sending mail because it coincides with the main domain name from which the mail is sent.My question is: how can I configure networking so that outgoing traffic from the box goes via 126.96.36.199?
everytime i use alsamixer command i get only the "Master" volume control, and i see the card its using is "Pulseaudio" so i press f6 to select the sound card and i found that i have "default" and "HDA SIS966" so i wanted to know how can i change that "default" to the HDA SIS966?.i tried pressing f6 and selecting the card but when i close alsamixer and run it again i get the "default" sound card again.
i left some pics, the 1st one is what i get when i run alsamixer, the 2nd is the options i got when i try to change the sound card, and the third is what i get with the card HDA SIS966 which is the one i'm trying to get as my default.
Open a new terminal either in tab or new windows,The default work directory is $HOMEDoes anyone know how to change it to `pwd`, so every time a new terminal starts form the same path as the mother terminal (the terminal user calls new from).
how to add a path to PATH variable permanently so that it remains persisent even after closing shell and rebooting the system when i added a path, to variable it remained there as long as i didn't closed the shell. but when i reopened it ,changed were undone.
I recently upgraded to Fedora 15 and am super-happy with it. Unfortunately, I have a minor issue that I haven't yet figured out how to fix: I can't change the default applications or the file type associations. For instance, I'd like to set Chromium as my default browser. When I first login, I tell it to set itself as default. But after I end my session and log back it, Firefox is back to being the default browser.
I have the same issues when trying to change what applications open filetypes. .rtf files have been opening in Wordpad in Wine. When I try to change it to Writer through the "Open with" dialog, it retains the change for that session but resets after I log out. I actually ended up having to uninstall Calibre because it was opening .odt files instead of LibreOffice and I couldn't change it permanently.
I am working with NS-2, I am facing a situation where I need to re align the transmission range of a particular node. Can I do this by modifying the protocol's source code? I should not change the default value from 250, only few nodes who satisfy a particular criterion should be reset to some other range like 200 or 300. How can I do this?
I'm using F12 on an old box which I have fitted with a new networkcard. I'm using the box as a music server (Twonkey) and want to use the new card (gigabit - eth1) as the default, but seem unable to. I can't switch of the mainboard ethernet option (eth0) in the bios and have tried to change the settings in the ifconfig-eth0 and -eth1 files by changing the hardware addresses as elsewhere recommended, but that doesn't work. During start-up it then gives me an error message that the MAC number was not the expected one. This would indicate that the network options are kept/read elsewhere. I'm not very familiar with Linux/F12. how to make the card the default option instead of the mainboard option.
Can Fedora change its default search engine to Yahoo! just like Ubuntu is about to change its default search engine from Google to Yahoo!? I'd love that.I don't like Google. Too many unnecessary repetitive indexing of the same or slightly changed titles to links for the same sites. I've always liked Yahoo! from the start.