Xorg security (big) issue
Just found an article about bypassing any screen locker on latest X Org server. http://seclists.org/oss-sec/2012/q1/200 F15 has 1.10.4-1 but from what I see, F16 has 1.11.1-1 (with latest update 11.11.3-1) Can anyone confirm whether the issue is present on F16? Cheers -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = The beauty of a pun is in the Oy! of the beholder. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: somewhat OT: sudo question
On Thu, 2010-09-09 at 14:12 -0500, Ranjan Maitra wrote: On Thu, 9 Sep 2010 13:59:18 -0500 JD jd1...@gmail.com wrote: On 09/09/2010 11:41 AM, Ranjan Maitra wrote: Hi, I would like to set up sudo permissions for myself (let us say) such that I do not need password for /usr/sbin/pm-hibernate or /usr/sbin/pm-suspend but need it for everything else. Anyone know off-hand how this can be done by adding lines in the /etc/sudoers file? Many thanks and best wishes, Ranjan Append a line like the following to /etc/sudoers ranjan ALL=(ALL) NOPASSWD: ALL Sorry, maybe I was not clear. I wanted to have the ability to use sudo without password for the above two commands, but use sudo with password (required) for everything else. Will it be enough to type the two commands with a comma separator after the NOPASSWD: (and instead of the ALL)? I guess I could try this, but wanted to be sure. Ranjan -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines In aliases section: Cmnd_Alias HIBERNATE = /usr/sbin/pm-hibernate, /usr/sbin/pm-suspend in the main part: rajan ALL=(ALL)NOPASSWD: HIBERNATE This should do the trick in the way that you will be able to run any command (ALL) and you will be asked for the password, except for commands that are defined under the HIBERNATE alias. Fact is that once you entered the password in sudo, it will be remembered for the rest of the session. HTH, -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Do you have lysdexia? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: openoffice oocalc import weird erorr
On Wed, 2010-09-08 at 22:37 +1000, L wrote: On Wed, Sep 8, 2010 at 9:45 PM, Ed Greshko ed.gres...@greshko.com wrote: On 09/08/2010 07:31 PM, L wrote: hi my system is f13 2.6.34.6-47.fc13.i686 with latest openoffice. it is very weird when I import a csv file into openoffice calc the csv file looks like this gasdd,MON05-2 jxcv,MON05-18 after imported into calc it becomes gasdd 05/02/10 jxcv 05/18/10 I spent many hours, finally identified this. it hurts anyone has explanation and fix? Open up OpenOffice Help and read the entry about date formats / avoiding conversion to. could you show more details? I can't find this entry thank -- Rap is to music what Etch-a-Sketch is to art. 葛斯克 愛德華 / 台北市八德 路四段 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines -- Linux Toys http://linuxishbell.wordpress.com/ When you import a csv into oocalc you have the option to select your column data type. You just select text for the second column and that's all. -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = greenpeace free'd the mallocs -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Aren't upgrades demanding too much restarts?
On Thu, 2010-09-02 at 12:15 +0100, Timothy Murphy wrote: kalinix wrote: What exactly is ksplice meant to do? I yum-installed it today, and then ran yum update which installed a new kernel. I expected this to start running, but it didn't. Admittedly I didn't read any instructions. ksplice and yum update are two entirely different things. Let's say you are running kernel 2.6.33.6-147: yum update downloads and install the latest kernel release of your vendor of choice (e.g. Fedora's kernel 2.6.33.8-149) from your vendor's repository; ksplice update downloads only deltas between 2.6.33.6-147 and 2.6.33.8-149, compiled as modules, and apply them on the current running kernel. The deltas are downloaded from ksplice site, therefore are compiled by them. So if you ran yum update you just downloaded and installed the latest Fedora kernel, which needs reboot. I yum-installed ksplice under Fedora-13. I don't seem to have any application called ksplice, so how do I run ksplice update as you suggest? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland Actually I wasn't very clear: the update command is 'uptrack-upgrade'. If you want to see the updates you can see them with uptrack-show. If you're using X, you can see the patches with uptrack-manager HTH, -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Don't be irreplaceable, if you can't be replaced, you can't be promoted. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Aren't upgrades demanding too much restarts?
On Wed, 2010-09-01 at 21:31 +0100, Timothy Murphy wrote: kalinix wrote: ksplice works only for kernels. And make several modules out of the deltas between the kernel release, which will be loaded in the older kernel. So you'll end up with, let's say 2.6.33.6-147 and a bunch of modules covering the patches up to the 2.6.33.8-149. Technically you are at 2.6.33.8-149. Practically you still run 2.6.33.6-147 (with improvements :) ). What exactly is ksplice meant to do? I yum-installed it today, and then ran yum update which installed a new kernel. I expected this to start running, but it didn't. Admittedly I didn't read any instructions. -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland ksplice and yum update are two entirely different things. Let's say you are running kernel 2.6.33.6-147: yum update downloads and install the latest kernel release of your vendor of choice (e.g. Fedora's kernel 2.6.33.8-149) from your vendor's repository; ksplice update downloads only deltas between 2.6.33.6-147 and 2.6.33.8-149, compiled as modules, and apply them on the current running kernel. The deltas are downloaded from ksplice site, therefore are compiled by them. So if you ran yum update you just downloaded and installed the latest Fedora kernel, which needs reboot. -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = An atom-blaster is a good weapon, but it can point both ways. -- Isaac Asimov -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: hibernate, then start Windows [SOLVED]
On Tue, 2010-08-31 at 07:38 -0600, Greg Woods wrote: This is in regard to the issue that, when Linux is hibernated, upon reboot the thaw starts immediately and the grub menu is not presented. I am now absolutely convinced this is not a BIOS issue, it is a kernel or boot loader issue. I worked around it by adding a level of indirection to the boot process. To do this requires that you have at least one Linux partition that is not / or /boot. The basic idea is that Linux is booted with a chainloader, same as Windows. So the main grub menu gives you a choice of Linux or Windows, and both are implemented with chainloader +1 stanzas. It works, but I don't recommend trying this unless you are fairly familiar with how the boot loader works, and are comfortable reinstalling the boot loader from a rescue CD/DVD if something goes wrong. The high-level instructions go like this: 1) In your extra Linux partition, create boot and boot/grub directories. 2) Copy the contents of /boot/grub to this new grub directory. 3) Edit the boot/grub/grub.conf file in this new directory so that Windows and Linux are presented as chainloader +1 stanzas. 4) Install grub in the master boot record, pointing to this partition 5) Install grub in the first sector of your root partition, with the usual kernel choices. When this is done, at boot time you get a choice of Linux or Windows. If you select Linux, the second boot loader comes up with the usual choice of kernels. If Linux is hibernated, you can then boot and run Windows just fine (my Windows install doesn't have a hibernate option so I wasn't able to test hibernating Windows in this scenario). If you boot again and select Linux, instead of getting the choice of kernels, it immediately resumes the hibernated image. This is how I *want* it to work, so I have left it this way. Suppose you have this: /dev/sda1 Windows /dev/sda2 Linux root /dev/sda3 Linux /local Then /boot/grub gets copied to /local/boot/grub, then edit /local/boot/grub/grub.conf so that you have something like this: title Linux root (hd0,1) chainloader +1 title Windows root (hd0,0) chainloader +1 Then run: # grub [...] grub root (hd0,2) grub setup (hd0) This loads the master boot record that points to /dev/sda2, the chainloader configuration. Now edit /boot/grub/grub.conf and remove the Windows stanza (you don't need it here any more). Then run: # grub [...] grub root (hd0,1) grub setup (hd0,1) This loads grub into the first sector of the Linux root partition, pointing at that partition and presenting the usual choice of kernels. This has worked great for me. I can now hibernate Linux, boot into Windows, and later resume from the hibernated Linux image. --Greg A more elegant solution would be to hack the script responsible for modifying grub.conf at hibernate time, and put an reasonable timeout there (let's say 5-10 secs) to let you choose the windows entry. Of course, you will have to redo this hack everytime pm-utils will update. HTH, -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Children's talent to endure stems from their ignorance of alternatives. -- Maya Angelou, I Know Why the Caged Bird Sings -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Aren't upgrades demanding too much restarts?
On Tue, 2010-08-31 at 15:47 -0700, JD wrote: On 08/31/2010 03:17 PM, Andre Costa wrote: Latest F13 upgrades include two packages that require a restart: evolution-data-server and GtkHTML. ... ?! Is it really necessary to *reboot* because two desktop components have been upgraded? Shouldn't a logout/login be enough? This sounds like overkill, specially if you're the only one using the computer (i.e. there are no other users using those libraries/services besides you -- *if* you're using them). I don't even use Evolution! Isn't there any more clever way of determining if a reboot is really necessary? Or maybe at least the message should be less demanding, I don't know... it really seems unneeded. I used to be proud of Linux only needing a reboot when the kernel (or some key component) was upgraded. This is sadly feeling like those good old times :-( Regards, Andre It was bound to happen. Way too many daemons are running linked with libraries that just got updated. That said, I think that unless you want to boot with the updated kernel, you can get away with just doing; sudo init 1 Once you are in the single user shell, issue init 5 This will at least get you running the the latest apps and libs while staying with the currently booted kernel. In this particulary case, why not just an evolution --force-shutdown? This will shutdown evolution-data-server. As simple as that. -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = The static electricity routing is acting up... -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Aren't upgrades demanding too much restarts?
On Tue, 2010-08-31 at 17:04 -0700, JD wrote: In this particulary case, why not just an evolution --force-shutdown? This will shutdown evolution-data-server. As simple as that. Is this thread only about evolution updates? the OP complained about two components, which happened to be evolution related. And moreover, the second component, libgtkhtml only deals with evolution itself, not even the data-server. So I gave him a simpler solution to avoid from entering runlevel 1 and then re-entering runlevel 5 (geez, you always do this when you update your system?). That's why I wrote in my post in this particular case. But of course, if you think that finding which daemon should be updated, killing it and then restarting (as linux always worked, even before the fancy, candy-eyed, gui apps that make it looks like crappy windows) is a little bit overkill, a simple reboot would save you from this pain. As a matter of fact, those gui apps were meant exactly for this. BTW, this reminded me to reboot to load the latest kernel... I was 4 releases behind ;) -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Virus transmitted from computer to sysadmins. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Aren't upgrades demanding too much restarts?
On Tue, 2010-08-31 at 21:43 -0300, Andre Costa wrote: On Tue, Aug 31, 2010 at 20:17, Patrick O'Callaghan pocallag...@gmail.com wrote: On Tue, 2010-08-31 at 19:17 -0300, Andre Costa wrote: Isn't there any more clever way of determining if a reboot is really necessary? Or maybe at least the message should be less demanding, I don't know... it really seems unneeded. needs-restarting (yum install yum-utils if you don't have it). This will catch everything except the kernel, but that one is obvious. That's nice, I didn't know needs-restarting, it will definitely be useful (it is installed). Thks =) Still, my point is: this kind of check should be handled automatically by the upgrade process, and the user should only be asked to reboot if there's *really* need to do so. Eg. right now, after those two upgrades I mentioned, that read reboot me! icon is sitting on my notification panel, but if I run 'needs-restarting' this is what I get: 3478 : /usr/libexec/clock-applet--oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory--oaf-ior-fd=42 3484 : /usr/sbin/restorecond-u 3501 : pidgin Aside from restorecond, it's obvious I don't need to restart because clock-applet and pidgin were upgraded... :-/ (and even restorecond might not require a reboot). Andre Andre, I think needs-restarting means those applications need to be restarted, not you need to restart the whole system to update those applications. As well as 'reboot me' should means exactly that: reboot that particular application. I never ever saw a linux system which has to be rebooted in order to update pidgin. -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Every morning, I get up and look through the 'Forbes' list of the richest people in America. If I'm not there, I go to work -- Robert Orben -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Aren't upgrades demanding too much restarts?
On Tue, 2010-08-31 at 21:02 -0400, Paul Cartwright wrote: On Tue August 31 2010, Andre Costa wrote: Latest F13 upgrades include two packages that require a restart: evolution-data-server and GtkHTML. what about ksplice?? I've heard about it, but don't know if it is ready yet.. -- Paul Cartwright Registered Linux user # 367800 ksplice works only for kernels. And make several modules out of the deltas between the kernel release, which will be loaded in the older kernel. So you'll end up with, let's say 2.6.33.6-147 and a bunch of modules covering the patches up to the 2.6.33.8-149. Technically you are at 2.6.33.8-149. Practically you still run 2.6.33.6-147 (with improvements :) ). -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = A No uttered from deepest conviction is better and greater than a Yes merely uttered to please, or what is worse, to avoid trouble. -- Mahatma Gandhi -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Aren't upgrades demanding too much restarts?
On Tue, 2010-08-31 at 21:02 -0400, Paul Cartwright wrote: On Tue August 31 2010, Andre Costa wrote: Latest F13 upgrades include two packages that require a restart: evolution-data-server and GtkHTML. what about ksplice?? I've heard about it, but don't know if it is ready yet.. -- Paul Cartwright Registered Linux user # 367800 P.S. Yes is ready and free for fedora users :) -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = NOTICE: -- THE ELEVATORS WILL BE OUT OF ORDER TODAY -- (The nearest working elevator is in the building across the street.) -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Aren't upgrades demanding too much restarts?
On Tue, 2010-08-31 at 22:15 -0300, Andre Costa wrote: Andre, I think needs-restarting means those applications need to be restarted, not you need to restart the whole system to update those applications. Yes, that's what I understood as well. This is what I tried to evidence with my example. As well as 'reboot me' should means exactly that: reboot that particular application. Exactly. These userspace apps should be restated automatically after the upgrade, without bothering the user with a reboot your computer to make sure any changes will be applied warning. Well you must admit that is not a very nice feeling to see that your text editor, or your mail client just restarted, in the middle of something extremely important, or even better, your pidgin restarted right in the middle of a conference with your boss :) . That's why it gives you the option to restart those particular applications at your own will. And I emphasize: those specific applications, not the entire system. I don't know about the other message (and my personal opinion is you can completely forget about it), as I only use yum, but I can tell you this: before restarting my system (F13) this evening in order to load the latest kernel, I had at least 40 days uptime, with an fully up to date system (except of course for kernel which was 4 releases old). So my advice is: restart only those applications that show up in needs-restarting and forget about reboots, until a new kernel is released. And switch to yum :) I never ever saw a linux system which has to be rebooted in order to update pidgin. Amen. If it ever happens, it will be time to move on to something else... ;-) Andre -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = True happiness will be found only in true love. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Aren't upgrades demanding too much restarts?
On Tue, 2010-08-31 at 20:20 -0400, Tom Horsley wrote: Why not just only apply updates when you feel like rebooting? That's what I do. I've lived without them my whole life, a few more days won't hurt anything. Of course, I also turn off the annoying packagekit app that is like an animated paperclip tapping on my screen saying: Hey! There's updates! Don't you want to apply updates! Com'on, it will be fun! Let's go update the system! You don't have anything better to do. http://www.imagepoop.com/image/660/I-Reboot-As-Much-As-I-Get-Laid.html :)) -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Linux ext2fs has been stable for a long time, now it's time to break it -- Linuxkongreß '95 in Berlin -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Scrub free disk blocks
On Sun, 2010-08-29 at 20:21 +0100, Marko Vojinovic wrote: So if you want to be on a safe side, fill up the whole disk from /dev/random over and over 20 times, and the original data will be completely gone. Even for NSA friends. :-) Best, :-) Marko Actually, the 'standard' safe side is 25 times. And besides /dev/random, you have 'shred' command, which can do the same: from shred man: Overwrite the specified FILE(s) repeatedly, in order to make it harder for even very expensive hardware probing to recover the data. -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = You will experience a strong urge to do good; but it will pass. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Problem with hibernation
On Sun, 2010-08-29 at 23:35 +0100, Timothy Murphy wrote: My laptop has ceased hibernating. When I click on f=Leave=Hibernate the sleep-moon starts flashing and the small hyphen-like symbol on the top left comes on as usual, but as far as I can see nothing is written to disk. At this point it becomes impossible to communicate with the machine. Ctrl-Alt-F2 does bring on a text window, with a login: request, but if I enter my username and press Return I am not asked for a password. Whatever I type appears on the screen, but with no effect. I tried stopping the NetworkManager and openvpn services which seemed to me the most likely causes of the problem, but that had no effect. I wonder if anyone has had the same problem? And if so, whether there is a solution? I'm running the current kernel, but I tried the last 2 kernels without effect. -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland I saw this (on somewhat similar hw - a T60) when I have an secondary hdd in ultrabay (not all the times though) or when I have an nfs mount (always). HTH, -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Be not anxious about what you have, but about what you are. -- Pope St. Gregory I -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Fedora updates getting more like Windows every day
On Mon, 2010-08-23 at 00:40 -0700, Brian Mury wrote: On Mon, 2010-08-23 at 14:37 +0930, Tim wrote: At least, with us, you generally only have to reboot to use the update. You can stay on the prior one, in the meantime. Unlike Windows, which often has to reboot, you can't keep on using the computer, or other things won't install until you reboot. I often keep using Windows after installing updates, postponing a reboot until it is convenient. Never had a problem (not in recent memory anyways - with the more recent versions of Windows - 2000 through 7). Thankfully, I find it's few things that do require a reboot, usually only the kernel. These days package-kit seems to tell me I need to reboot *most* of the time. :-( Yes, some those reboots may not actually *required* if I know what needs to be restarted. Not sure which you meant... Brian And so linux became dumber than windows... O BOFH, where art thou... -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = We are currently trying a new concept of using a live mouse. Unfortuantely, one has yet to survive being hooked up to the computer.please bear with us. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: security
On Fri, 2010-08-13 at 10:25 +0200, roland wrote: Of course, if one cannot restrict the access, FTP will be still insecure. So first I will try what 'Kalinix' said, and install chroot. Thanks to you and all the others for your time. -- Roland As a matter of fact, vsftpd can be also chrooted. -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Everything is possible. Pass the word. -- Rita Mae Brown, Six of One -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Fedora 13 Samba weirdness
Today I saw a very weird behavior when mount samba shares. On F11, I used to mount samba shares with the following command: mount //sambaserver/share /local/mountpoint -o username=USER Then I was prompted for a password. This way, my password was never printed on the screen. Now on F13, when I tried the same scenario, I got an error message: share mount is write-protected, mounting read-only could not mount share in write protected mode. After I googled around, I found that, in order to solve the problem, i have also to pass the password as an option to mount, like: mount //sambaserver/share /local/mountpoint -o username=USER,passwd=PASSWORD Only thing is, by doing this the password will show up in 'mount' output: //sambaserver/share on /local/mountpoint type cifs (rw,user=USER,passwd=PASSWORD) and is not visible to me only, but to any user on that system that runs mount command. Does anyone knows how to avoid this? Thanks, -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Q: Why should you always serve a Southern Carolina football man soup in a plate? A: 'Cause if you give him a bowl, he'll throw it away. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Fedora 13 Samba weirdness
On Fri, 2010-08-13 at 13:36 +0100, n...@li.nux.ro wrote: Yes, provide the password via PASSWD environment variable not feasible, as PASSWD env var is already used. And anyway, by using it I have the same error: [ca...@calin ~]$ sudo mount //sambaserver/share /local/mountpoint -o username=USER mount: block device //sambaserver/share is write-protected, mounting read-only mount: cannot mount block device //sambaserver/share read-only or via a credentials file. man mount.cifs -- Nux! www.nux.ro Now this becomes weirder: [ca...@calin ~]$ man mount.cifs No manual entry for mount.cifs [ca...@calin ~]$ yum search mount.cifs Loaded plugins: refresh-packagekit, remove-with-leaves, security Warning: No matches found for: mount.cifs No Matches found man mount: Mount options for cifs See the options section of the mount.cifs(8) man page (samba-client package must be installed). [ca...@calin ~]$ yum list samba-client Loaded plugins: refresh-packagekit, remove-with-leaves, security Installed Packages samba-client.x86_643.5.4-62.fc13 @updates Any ideea where I could find that man for mount.cifs? :) -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = To be trusted is a greater compliment than to be loved. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[SOLVED] Re: Fedora 13 Samba weirdness
Actually, I discovered that I don't have cifs-utils package installed. Now it works as it supposed to: prompting for a password at the console. TYA -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Accuracy, n.: The vice of being right -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: UI freezes while copying large file via NFS
On Mon, 2010-08-09 at 13:45 -0700, Konstantin Svist wrote: On 08/09/2010 12:36 PM, Patrick O'Callaghan wrote: I've been copying some large (several GB) files from my local system to a NAS server on my LAN, using NFS. poc Usually you see this kind of problem when your HDD is thrashing. Try running your copy command with ionice: ionice -c3 command Other things to check: * run top in a separate window before you run the freezing command -- see what it says when it works * see if tty sessions in Ctrl+Alt+F2..F6 respond any better than the UI I've seen this too, and tty is almost the same as bad as UI. As a matter of fact there is an nfs related process eating the processor (nfs.mount or mount.nfs, if I remember correctly). I'm curious if this happens only on kde or it can be observed on gnome too. -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Somewhere in suburban Honolulu, an unemployed bellhop is whipping up a batch of illegal psilocybin chop suey!! -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11
On Sat, 2010-07-17 at 17:53 +0530, ranjan sundar wrote: Hello all !! I want to record audio output from sound card in my Fedora Linux 11 (from any generic audio source streams). But unable to do so with existing Sound recorder. Nothing gets recorded when i do so. I am playing Shoutcast radio online in my browser and looking at many websites i tried to do some steps on vlc,audacity etc etc. nothing works. Moreover those websites ask me to download the metafile and look for mms,rtsp and stuff like that and the do the recording stuffs. im unable to get those metafiles. Given this case is there a generic procedure to record audio output from sound card in my Fedora Linux 11 ? Any help is really appreciated !! Thanks Jan Not the answer to your question, but might be the solution of your problem: You should try mplayer. It can dump the stream to an raw file. -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = A woman was in love with fourteen soldiers. It was clearly platoonic. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Evolution reply header
Quick question: Does anybody know how to change the header of a reply in Evolution (e.g. On Tue, 2010-06-15 at 00:11 -0400, Alex wrote:) with something more funny? Google didn't return anything useful. Thanks -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = We all know Linux is great...it does infinite loops in 5 seconds. -- Linus Torvalds -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Evolution reply header
On Thu, 2010-06-17 at 22:38 +0930, Tim's cat was walking on his laptop's keyboard: kalinix was caught secretly using Windows to write: Does anybody know how to change the header of a reply in Evolution (e.g. On Tue, 2010-06-15 at 00:11 -0400, Alex wrote:) with something more funny? Google didn't return anything useful. You'd need to recompile, see: http://www.go-evolution.org/FAQ#Can_I_change.2Fpersonalize_the_.22On_.3Cdate.3E.2C_.3Cperson.3E_wrote:.22_string_when_replying.3F -- [...@localhost ~]$ uname -r 2.6.27.25-78.2.56.fc9.i686 Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists. OK, now I see what you meant I have to recompile :) -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = I don't understand you anymore. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Mounting KVM image
On Sat, 2010-06-12 at 08:39 -0600, Greg Woods wrote: On Sat, 2010-06-12 at 00:43 +0300, kalinix wrote: take a look here: http://www.campworld.net/thewiki/pmwiki.php/Linux/DiskImagesHOWTO I got as far as mounting the first partition which is /boot. The second partition has LVM volumes on it. Is there any way to get at those? The LVM scanning commands don't find it even after I run losetup. --Greg http://www.thegibson.org/blog/archives/467 It would be useful to post the layout of your hdd, though. HTH, -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = If one cannot enjoy reading a book over and over again, there is no use in reading it at all. -- Oscar Wilde -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Mounting KVM image
On Fri, 2010-06-11 at 13:16 -0400, Alex wrote: Hi, I have a 5GB kvm image that I created some time ago, and would like to mount it on the host system to access it. I've located a few documents online for how to do this, but it doesn't seem to work properly. Can someone direct me to information on how to mount a qcow2 image as a local filesystem on FC13? I've tried to convert it to 'raw', but then when I try to mount it, I see: # file systmp-kvm.* systmp-kvm.img: Qemu Image, Format: Qcow , Version: 2 systmp-kvm.raw: x86 boot sector, LInux i386 boot LOader; partition 1: ID=0x83, active, starthead 0, startsector 1, 48194 sectors; partition 2: ID=0x85, starthead 0, startsector 48195, 83827170 sectors, code offset 0xeb # sfdisk -l systmp-kvm.raw Disk systmp-kvm.raw: cannot get geometry Disk systmp-kvm.raw: 5221 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls#blocks Id System systmp-kvm.raw1 * 0+ 2 3- 24097 83 Linux systmp-kvm.raw2 352205218 41913585 85 Linux extended systmp-kvm.raw3 0 - 0 00 Empty systmp-kvm.raw4 0 - 0 00 Empty systmp-kvm.raw5 3+ 51025100- 40965749+ 83 Linux systmp-kvm.raw6 5103+ 5220 118-947834+ 82 Linux swap / Solaris # mount -o loop,offset=$((63*1024)) systmp-kvm.raw /mnt/newimage/ mount: you must specify the filesystem type Ideas greatly appreciated! Thanks, Alex Did you try http://equivocation.org/node/107 ? HTH, -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = In every hierarchy the cream rises until it sours. -- Dr. Laurence J. Peter -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Mounting KVM image
On Fri, 2010-06-11 at 15:41 -0400, Alex wrote: Hi, Did you try http://equivocation.org/node/107 ? Yes, but doesn't work, because I believe it assumes the image is already of type 'raw', which is the exact problem I'm having. Thanks, Alex Could you please post the layout of you disk, taken with fdisk in expert mode: fdisk systmp-kvm.raw; x (for expert mode) and then p? Thank you, -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = All my friends are getting married, Yes, they're all growing old, They're all staying home on the weekend, They're all doing what they're told. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Mounting KVM image
On Fri, 2010-06-11 at 17:28 -0400, Alex wrote: Hi, Could you please post the layout of you disk, taken with fdisk in expert mode: fdisk systmp-kvm.raw; x (for expert mode) and then p? Expert command (m for help): p Disk systmp-kvm.raw: 255 heads, 63 sectors, 0 cylinders Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID 1 80 0 20 254 632 1 48194 83 2 00 0 13 254 63 1023 48195 83827170 85 Partition 2 has different physical/logical endings: phys=(1023, 254, 63) logical=(5220, 254, 63) 3 00 0 00 0 00 0 0 00 4 00 0 00 0 00 0 0 00 5 00 0 23 254 63 1023 1 81931499 83 6 00 254 63 1023 254 63 1023 11895669 82 Thanks again! Best, Alex OK, here's your problem: the offset option for losetup was not properly calculated. take a look here: http://www.campworld.net/thewiki/pmwiki.php/Linux/DiskImagesHOWTO According to this, in your case the offset should be 1x1024=1024. You can give it a try. -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Go slowly to the entertainments of thy friends, but quickly to their misfortunes. -- Chilo -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: gscan2pdf won't save files
On Thu, 2010-06-10 at 08:04 -0500, Steven Stern wrote: I just fired up gscan2pdf and it says missing libtiff, unable to save. [sdst...@sds-desk ~]$ rpm -qa |grep tiff libtiff-3.9.2-3.fc13.i686 [sdst...@sds-desk ~]$ rpm -qa |grep gscan gscan2pdf-0.9.30-3.fc13.noarch SAVE is grayed out in the menu, but EMAIL AS PDF is there and it does, in fact, create a PDF in /tmp. Can anyone duplicate this? -- -- Steve I did, few days ago. You have to install libtiff-tools. HTH, -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = It isn't an optical illusion. It just looks like one. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Ugly little hand
On Wed, 2010-06-02 at 07:50 +0100, Frank Murphy wrote: On 02/06/10 03:55, Jonathan Ryshpan wrote: The cursor that displays over desktop icons and links in Firefox, among other places -- a little black hand pointing up -- is really ugly. (At least I think so.) How can it be changed? Appearance Preferences-Theme-Customize Theme allows changing the default cursor but not others. Same question for the whirling circle that displays when the system is busy. Thanks - jon I belive it was an upstream Gnome choice iirc? Have you checked to see if the functionality has since been inbuilt to the main app. -- Regards, Frank Murphy UTF_8 Encoded Friend of Fedora It's system specific, since I had it on KDE. I changed it from System settings-Computer administration-Keyboard and mouse-Mouse-Cursor theme. It ought be a simper way though, like changing a parameter in a text file. -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Pain is a thing of the mind. The mind can be controlled. -- Spock, Operation -- Annihilate! stardate 3287.2 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Network Manager, WPA, available to all users
On Tue, 2010-06-01 at 16:37 -0500, Steven Stern wrote: I have a desktop with wireless, due to some cabling difficulties. I'm trying to switch from Network to NetworkManager because we're moving our wireless from WEP to WPA-PSK. Using Network Manager, I can configure a connection with a static IP address and things seem fine. BUT, I want this connection established at boot time and I don't want to have to manually enter the WPA-PSK password. So, I used EDIT CONNECTIONS to edit the connection and checked Available to all users. When I click Apply, the Auto has disappeared from the list of wireless connections. Clicking on the network from the list shown my nm-applet seems to create an Auto that uses DHCP and has forgotten the password. How do I configure a WPA-PSK wireless connection that (1) is remembered and (2) available whether or not I'm logged in? -- -- Steve You don't have to move away from network in the first place. You can use wpa_supplicant with network. You just need to make sure it's started before network. -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = We are all worms. But I do believe I am a glowworm. -- Winston Churchill -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Ugly little hand
On Wed, 2010-06-02 at 08:56 +0100, Frank Murphy wrote: On 02/06/10 08:52, kalinix wrote: --snip-- It's system specific, since I had it on KDE. I changed it from System settings-Computer administration-Keyboard and mouse-Mouse-Cursor theme. It ought be a simper way though, like changing a parameter in a text file. You can do: (but you might end up with something uglier) yum info */cursor-theme* should give you a list of alternates. yum erase dmz\* (the little hand, it's from opensuse) Installed Packages Name : dmz-cursor-themes Arch : noarch Version: 0.4 Release: 3.fc13 Size : 6.2 M Repo : installed From repo : anaconda-InstallationRepo-201005130056.i386 Summary: X cursors themes URL: http://jimmac.musichall.cz/themes.php?skin=7 License: CC-BY-SA Description: An X cursors theme by Jakub Steiner used by OpenSUSE. -- Regards, Frank Murphy UTF_8 Encoded Friend of Fedora Hehe, found it: for system-wide is in /usr/share/icons/default/index.theme mine reads: [Icon Theme] Inherits=dmz-aa which is that ugly little black hand As I changed it to dmz, I found 'cursorTheme=dmz' in .kde/share/config/kcminputrc (I'm a KDE user) I knew it has to be a file :D -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = If I am elected, the concrete barriers around the WHITE HOUSE will be replaced by tasteful foam replicas of ANN MARGARET! -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Chromium by default?
On Tue, 2010-06-01 at 16:34 +0200, Valent Turkovic wrote: On Tue, Jun 1, 2010 at 3:49 PM, Timothy Murphy gayle...@eircom.net wrote: Valent Turkovic wrote: I use both Firefox and Chromium, but it looks like most people would like to have just one. You seem to be making two assertions: I'm making much more that two but these aren't those ;) 1. Most people don't want to be given a choice of browser. I fail to see how we are not giving people choice? In exactly the same way that a `giant IT company' (now you must see Dr. Evil fingerquoting `giant laser') did when hardcoding IE into it's supercalifragilisticexpialidocius (again Dr. Evil) `operating system'. Just because Google use the force, err the open source, doesn't make it Luke Skywalker. As a matter of fact, IMHO Google slowly become a replacement for the `giant laser'. 2. Most people prefer Chromium. Most of geeks that I talk to do, that is for sure? Have you talked to somebody who has used any one browser for last few years and discovered Chrome/ium in last few months? I have and they are all in high praise of Chrome/ium when comparing it to other browsers they have used. As well as they praise Google Docs over Office, Google Calendar over Exchange, a.s.o. In fact, figures shows that Firefox kept it's market share for the last 6 months, while IE lost 1 percent each month for Chrome. So to speak, Chrome users seems to be former MS users that just realized they could brake out their M$ jail. And yes, this made them geeks. Sort of. :) And oh, IE is still used by much more than 70 millions users. That doesn't make it a rock solid browser. I would guess that both of these assertions are false. In any case you haven't given any reason for either. And you hold the key of ultimate truth? ;) No, but you seems to hold this key, as you already proposed to remove any other browser, but Chromium. None of us is right, and we can't know what is truth or false without some strong discussion. -- pratite me na twitteru - www.twitter.com/valentt blog: http://kernelreloaded.blog385.com linux, anime, spirituality, windsurf, wireless, ronjenje, pametne kuće, zwave registered as user #367004 with the Linux Counter, http://counter.li.org. ICQ: 2125241, Skype: valent.turkovic, MSN: valent.turko...@hotmail.com -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Thus spake the master programmer: Time for you to leave. -- Geoffrey James, The Tao of Programming -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Chromium by default?
On Tue, 2010-06-01 at 18:48 +0200, Marko Vojinovic wrote: supercalifragilisticexpialidocius (again Dr. Evil) [OT] AFAIK, this is originally due to Mary Poppins, not Dr. Evil. ;-) :-) Marko [OOT] Is (again Dr. Evil) - not - (again Dr. Evil). It was the fingerquote for `operating system'. Dr. EvilMiniME stop banging the `giant laser'/Dr. Evil :)) -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = conning the most intellegent people on the planet is not easy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Can't establish connection -
On Wed, 2010-05-26 at 10:09 -0400, Bob Goodwin wrote: less /etc/sysconfig/iptables Produces the following. Is this the file I need to work on? It looks simpler than I expected but I am admonished not to customize it manually? Yeap, that's the file. And no, if you don't use system-config-firewall (I'm not aware of any other rh based gui tool that can configure iptables) you don't need to worry about manually changing it. Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Those lovable Brits department: They also have trouble pronouncing `vitamin'. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Can't establish connection -
On Tue, 2010-05-25 at 05:17 -0400, Bob Goodwin wrote: I have two f12 computers, box9 will ping box6 but box6 to box9 reports 100% loss. When we had Firestarter there was a log that usually indicated where the firewall was blocking data. It seems to me there should be a way to determine this without Firestarter? How do I do that? [b...@box6 ~]$ service sshd status openssh-daemon (pid 1522) is running... Pinging the numerical addresses does not help. Thanks. Bob -- If this applies for ssh only, you could do something like this, on box9: IPTABLES -I INPUT -i eth0 -s ip.of.box.6 -p tcp -m tcp --dport 22 -j ACCEPT If you need more services to be available for box9, you simply let out -m tcp and --dport 22, to get this: IPTABLES -I INPUT -i eth0 -s ip.of.box.6 -j ACCEPT To see all the packages from box6, you can insert the rule below: IPTABLES -I INPUT -i eth0 -s ip.of.box.6 -m state --state NEW -j LOG --log-prefix IPTABLES - NEW PACKETS FROM BOX6: --log-level 6 and watch the result in /var/log/messages (with tail -f /var/log/messages) Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Simon: Some of these words -- they're misspelled. She started correcting my spelling when she was three. --Episode #5, Safe -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: using sudo
On Mon, 2010-05-24 at 17:35 -0500, Steven Stern wrote: In reality, the reason for requiring a sudo password challenge is that you don't want someone who walks up to your computer to have root privs. At the very least, they have to know your password to use sudo. -- -- Steve Now, this is a little bit different than Are you sure thing :) Over and out. Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = poverty, n.: An unfortunate state that persists as long as anyone lacks anything he would like to have. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: only output the nth line
On Wed, 2010-05-12 at 18:58 +0200, Jozsi Vadkan wrote: I have a file: cat file.txt daemon 1): 596 0 0 1 0 0 bin 2): 12 0 0 1 0 0 sys 3): 0 0 0 0 0 0 And i want to only output the first, second, and fourth line to another file. The: sed -n '1,2p;4p' file.txt doesn't work. What magic do i need for it? :D Thanks..:\ Perhaps you need to redirect the output to the second file :) '' if you can overwrite the second file: sed -n '1,2p;4p' file.txt 2nd_file.txt or if you want to append to it: sed -n '1,2p;4p' file.txt 2nd_file.txt Cheers Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Things fall apart; the centre cannot hold. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Converting MKV to AVI
On Sat, 2010-05-08 at 12:12 -0430, Patrick O'Callaghan wrote: On Sat, 2010-05-08 at 12:31 -0400, sean darcy wrote: Patrick O'Callaghan wrote: On Sat, 2010-05-08 at 10:00 -0400, sean darcy wrote: Patrick O'Callaghan wrote: [...] rant Part of the problem is that all the above tools are clearly aimed at people who know what they're doing. Those of us uninterested in a career in multimedia technology are liable to be completely lost when struggling with any of the (incomplete and ambiguous) manuals, not to mention the baroque syntax of the command-line options. Why are there no multimedia conversion for dummies tools in Linux as there are in Windoze? /rant Anyway, my question is this: does anyone have a useful recipe for this kind of thing? And for extra credit: how about converting FLV (Flash video)? poc First, I agree with your rant. What the world needs is a media recipe wiki. But I'd try again with ffmpeg. It has the most active development and user group. The helpful users make up for the lousy docs. Good to know :-) 1. Do you have a very recent version of ffmpeg? I'd urge you to use svn, but at least 0.5.1. It's the standard Fedora repo version: ffmpeg-0.5-5.20091026svn.fc12.x86_64 so possibly not. rpmfusion has ffmpeg-0.6-0.3.20100429svn 2. ffmpeg -i source.mkv -vcodec copy -acodec copy output.avi , should work if source mkv is in mpeg-4 and mp3. It's H.264 and AC-3: Duration: 01:32:04.57, start: 0.00, bitrate: N/A Stream #0.0: Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 25 tbr, 1k tbn, 50 tbc Stream #0.1(eng): Audio: ac3, 48000 Hz, 2 channels, s16 Well AC-3 should work in your dvd, so try: ffmpeg -i source.mkv -vcodec mpeg2video -acodec copy output.avi As soon as it starts I get: [...] [NULL @ 0x1570030]error, non monotone timestamps 12288 = 12288 av_interleaved_write_frame(): Error while opening file poc I remember I converted once a flv to avi, using mencoder, with the following command: mencoder -oac copy -ovc lavc -o Output.avi Input.flv and it worked. HTH Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = A door is what a dog is perpetually on the wrong side of. -- Ogden Nash -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: OT gmail alert -- spam or real?
On Thu, 2010-05-06 at 11:44 -0700, Michael Miles wrote: The Gmail Team Is this really from the gmail team or is it another scam? from Gmail Supportuseraler...@gmail.com ??? Come on! You gotta be kidding! I think (in the best case) they're missing a 7 after 00 :)) However, I'm curious how many (l)users will fall for it :) Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = Insert coin for new game -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Postings
On Mon, 2010-04-26 at 23:41 +1000, Badmagic wrote: Am I supposed to receive my own postings because I posted yesterday and didn't receive a copy? I don't know if it was successful and I just haven't received a reply yet or if it didn't actually get posted. Can anyone tell me if they're receiving this email? It was a question about my EVGA GTX 295 graphics card not working with Fedora 11 and 12. Regards, Steve Laurie -- Sent from my iPhone Usually you can get an post acknowledgement. I think it might depend on your mailing list settings. Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = We are governed not by armies and police but by ideas. -- Mona Caird, 1892 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Clamav
DEAR RECEIVER, You have just received an Albanian virus. Since we are not so technologically advanced in Albania, this is a MANUAL virus. Please delete all the files on your hard disk yourself and send this mail to everyone you know. Thank you very much for collaboration. Dr. Alban, the Hackerprof. Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = How do you explain school to a higher intelligence? -- Elliot, E.T. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Clamav
On Sun, 2010-04-18 at 14:12 -0700, jdow wrote: the question becomes, how did they get there? Michael says he hardly used it. It also is an infection that has appeared on a Linux system. GNU/Linux is not bulletproof. {^_^} 99% of the cases the interference between the chair and the keyboard. Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = I'd give my right arm to be ambidextrous. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: internet connection tester script
On Mon, 2010-03-29 at 13:35 -0400, Jim wrote: On 03/29/2010 01:22 PM, Paolo Galtieri wrote: On 03/29/2010 10:12 AM, Chris Tyler wrote: On Mon, 2010-03-29 at 12:58 -0400, Jim wrote: On 03/29/2010 04:17 AM, Hakan Koseoglu wrote: On Mon, Mar 29, 2010 at 7:16 AM, Hiisivery-c...@rambler.ruwrote: OK, I see. You was trying to advertise your nice working script to list members. That was your crafty plan, wasn't it? ;- ) Where should one propose it for inclusion in F13? ;- ) Interesting, when I saw his mail to the CentOS list, I tried it and it didn't work so I sent him a couple of suggestions that made it work for me. I don't have a Fedora 12 around to see if the default shell behaviour is different but with the Ubuntu's Bash it didn't work and required adding ` around the pinggrep statements to allow them to be evaluated. FC12-X86-64 I put the script in a text file and Properties says it a shell script and it has read, execute priviledges but if I left click on it, It won't execute, But if I open a Terminal window and do ~/internet-script or bash internet-script it will execute. If I do a right click and open with a terminal, only the terminal window opens but internet-script won't execute. How do I get this Internet-script to execute by left clicking, or even double clicking ? What's the full permission mode and desktop environment? With mode 764 here, double-clicking brings up a display/run dialog on Gnome under F12. -Chris If you are running Gnome you will need to go into the file browser preferences under Behavior and set the Run executable text files when they are opened option. By default the Gnome file browser will ask what to do. Paolo I'm using KDE-4 and if I tell it to open with Konsole , konsole will open but won't execute internet-script . If I open with xterm it will open and execute file but, xterm shuts down to fast, and I can not see finale results. Left clicking on icon produces no results. Basically you cannot open scripts with konsole, but you can 'open' (run) scripts with bash/sh/ksh/perl/whatever IN konsole. What you need to do, is right-click on the script, open with 'bash', or 'perl', or any other interpreter, click on Run in terminal (first checkbox under the 'known applications frame') and than hit OK. The result will be a new konsole with the results from your scripts in it. Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = The camel has a single hump; The dromedary two; Or else the other way around. I'm never sure. Are you? -- Ogden Nash -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: internet connection tester script
On Mon, 2010-03-29 at 17:25 -0400, Jim wrote: On 03/29/2010 04:31 PM, kalinix wrote: click on Run in terminal (first checkbox under the 'known applications frame') and than hit OK. I have a Question about; click on Run in terminal (first checkbox under the 'known applications frame') and than hit OK. In KDE where do I find this Run in Terminal I have tried Right Clicking to Open With bash the script file, it starts running then times out by doing nothing. Right click - Open with - Other - under open with you type bash - check all three checkboxes from the bottom of the window ('Run in terminal', 'Do not close when command exits' and 'Remember application association for this type of file') then hit ok. Next time it will remember your choices and will run directly using bash within a konsole. Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = It is a hard matter, my fellow citizens, to argue with the belly, since it has no ears. -- Marcus Porcius Cato -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines