Red Hat / Fedora :: Difference Between Two Profile Files?
Jan 20, 2010
There is .profile under my directory and I found another one under /etc/ . I know the first one is the one we edit for path and alias and stuff. but how does it differ from the one in /etc?
1)Say an application is written and is having source files. 2)A file called source rpm package 3)A rpm package
In case of (1) we need to compile using either the make or if we know using appropriate compiler with proper libs included. Can I know what's the difference between (2) and (3)?
I've already gotten into the .mozilla folder and found the profiles.ini file. My windows XP system has it's Documents and Settings folder on a seperate drive (D:Documents and settings) And I've located the profile (application datamozillafirefoxprofiles) Now all I need to do is put the path into the profiles.ini file in the .mozilla folder in Ubuntu. The problem is I don't know exactly how to format it.
In windows the path is:
How would I translate this into something ubuntu "follows?" I already have the profile name changed as well.
i am using diff command... to get difference between two file. but the thing is its giving both file difference and i need only the difference of 1st file comparing to 2nd file for that it shoud not show anything abt 2nd file.
What is the difference between "bin" and "netinstall" ISO files for Linux?I need a full OS, not just a Live CD. On the mirrors there are two kind of files.Which one is the full OS?
I just upgraded my kernel to version 2.6.38 & I seem to have missed a few modules. I tried using diff to get a list of the differences between the files lsmod-2.6.35 & lsmod-2.5.38, which I created for this. Unfortunatly I can't seem to figure out the right syntax to do what I want which is to just show me whats missing. For example, I want to subtract the lines from file1 & file2 which are the same, leaving me with the difference in file3. i.e. file3 = file1 - file2 Is this possible or am I just using the wrong program.
However, I noticed that there are some difference in the headers files that get generated with the above command as compared to the header files that are available from Debian repo. For example, the header files for 2.6.24 kernel have files like:
Code:
debian:/usr/src/linux-headers-2.6.24-etchnhalf.1-686/arch/x86# ls Kconfig Kconfig.cpu Kconfig.debug kernel Makefile Makefile_32 Makefile_32.cpu Makefile_64 However, if I custom compile the above kernel from Debian sources (2.6.24), the headers files does not have the above files:
Code:
debain:/usr/src/linux-headers-2.6.24-generic-ide/arch/x86# ls boot ia32 Kconfig.cpu kernel lib mach-es7000 mach-visws Makefile mm pci vdso xen crypto Kconfig Kconfig.debug lguest mach-default mach-generic mach-voyager math-emu oprofile power video
As you can see from above output, files like Makefile_32, Makefile_32.cpu are not present, if I generate kernel headers files using the make-kpkg command as mentioned in the beginning of the post. I happened to notice the above issue, while I was trying to compile a out-of-tree kernel module and the "make" command for those sources (some graphics card drm module) worked with the default header files (linux-headers-2.6.24-etchnhalf.1-686) but did not work with (linux-headers-2.6.24-generic-ide) because it did not find the Makefile_32. Although I was able to fix the problem by copying the Makefile_32 from linux-headers-2.6.24-etchnhalf.1-686 but I would like to know why there is a difference. This is bit of a concern because it unnecessarily breaks the out-of-tree module compilation process because of trivial reasons.
I noticed something a little odd I'm hoping someone can enlighten me on. I noticed in a couple of cases that a package has the proper version, but differs in two regards.
1. The package ends up with a .el4 on the end of the version for Red Hat 4.
2. The actual MD5Sum of the files the package provides differ.
An example below:
Code:
[root@RH4ES32-MCE bin]# for i in `rpm -ql GConf2`;do md5sum $i;done; md5sum: /etc/gconf/2: Is a directory 9f90335546f7c57ae6fb552cc2b919c5 /etc/gconf/2/path md5sum: /etc/gconf/gconf.xml.defaults: Is a directory
[code].....
So my package changed slightly to now show .el4 versus just 2-2.8.1-1 I've indicated in the first output above that the first couple of lines differ. I stopped my comparison at that point as they truly are different.
How can I recover My deleted files in ubuntu? What's the difference between "foremost" and "scalpel"? And is there any other program(or package?) For this purpose in ubuntu? I am running ubuntu 9.10
I'm messing with my samba config file. For line comments, some use a number sign/pound sign/hash symbol, while other lines use a semicolon:
Code: ############ Misc ############ # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting
I am just started to setting up a samba PDC at our office.MY problem is my xp client is logging in to server but not loading the profile.its booting with tmp profile and whatever the changes I do in that profile.its not updating that in the server. And my client.log file is showing following error. '/home/user4' does not exist or permission denied when connecting to [user4] Error was Permission denied. I gave full right to /home/user4.But still its giving this error. User4 is given same password for linux and samba. How can I add a profile of user to smb pdc?
So I've always added an export line in the /etc/profile that has the proxy server for our organization. Now there is a warning in that file that I should use a custom .sh in the profile.d folder. Can I just create a myproxy.sh with the export http_proxy="insert my proxy" line in it and call it a day or do I have to do some crazy shell script?
I have a Centos 5.5 server and I had a problem with its time because it was 1 one hour ahead of my local time. I installed and activated NTP and I created a link for /etc/localtime:
I reboot the server and waited for 1 hour but the time wasnt correct. The server's BIOS clock has UTC time so I edited /etc/sysconfig/clock file replacing:
Code:
UTC=false for UTC=true
I reboot the server and waited for 1 hour but the time wasnt correct. After breaking my head for about 1 hour, I realized that there is a directory /usr/share/zoneinfo/Mexico and changed my link for /etc/localtime
And It worked. What is the difference between America/Mexico_City and Mexico/General files in /usr/share/timezones, they should be identical but of course they are not?
I can do su - and then type in my root password and then change users, but if I try to log in to the root profile, the same password doesn't work. What can I do to reset the root profile password?
Is there a way to include a profile pic within the GUI login prompt for Fedora 11?
I have the profile pic set in the "About Me" configuration page, and this will show up in my toolbar in the upper right hand corner, but when I log out and go to select my login name from the list of users within the login prompt, I don't see my pic, just the generic user picture.
Is there a way to set this? I have multiple users using this machine. It would be nice if they can just visually scan for their picture to login with.
modifying the default liveuser settings (IE: ~/.gconf, ~/.mozilla) in a ReMix.
I have been trying to get this working without much luck. I can easily add individual files in a (%post -nochroot) block, but when I try and recursively copy directory structures such as the above, I get masses of errors as GNOME loads.
The UID and GID are correct for the liveuser account, so I don't know what's up. I've tried this method using Sabayon to create the account, and by directly copying the modified (running) liveuser directories to a usb stick then rebooting to do the livecd-creator work.
90% of what I want done can be done inside the (%post) block with echo, cat, sed, awk, and gconftool-2, but for my needs it's easier to simply keep the modified profile handy and copy it to where it needs to be.
I have a fresh install of Fedora 13 64 bit. I am unable to create VPN profiles in network manager as a normal user.
To test: Logging in with gnome as root, I am able to create a VPN profile in Network Manager Logging in with KDE as root, I am not able to create a VPN profile in Network Connections.
Problem: Logging in as a normal user with KDE, I am not able to create a VPN profile in Network Connections. On the VPN tab, the Add... button is greyed out.
What is required to add VPN connections under KDE on Fedora 13?
I'm trying to get 5.1 surround sound working on my Dell Inspiron 1525 laptop running Fedora 13 (64 bit), but there is no option for it under "Sound Preferences - Hardware - Profile". There is an option for "Analog Surround 4.0 Output", which does as it says and uses four of the speakers (front and rear left and right) correctly (and the subwoofer as well I think, though not sure if this is done correctly).Running "aplay -L" gives the following:
Quote: default Default frontARD=Intel,DEV=0 HDA Intel, STAC92xx Analog Front speakers surround40ARD=Intel,DEV=0
[Code]...
it looks like it should be possible to set 5.1 surround sound (i.e. I don't think it's a driver issue).Though running "speaker-test -c 6" doesn't quite work as it should - it outputs via the subwoofer on "Center" and doesn't produce any sound on "LFE". But to start with at least - is there a way of manually forcing "Analog Surround 5.1 Output" to be a choice under "Sound Preferences"?
I installed java and now I was to set some environment variables.
So I created a file called java.sh and placed it in /etc/profile.d
I gave the file 755 permissions and made it executable.
When I logged out, to get the changes to take, and try to log back in I cannot.
I enter my user name and password in the greeter, the screen goes black for a moment, and then the greeter comes back. Same if I try to log in as any user, including root. I'm in this endless loop of entering user/pass and then the screen going away for a second and then getting prompted for user/pass all over again.