General :: Smartcard Insert / Removal Event Notification

Jun 24, 2010

I'm working on an app that will authenticate user with a smartcard when the user inserts it in the card reader (this is on Red Hat 5.5). How do I detect a card has been inserted? Is there a daemon service I need to listen to and associated api to get notified etc? .

View 3 Replies


ADVERTISEMENT

Networking :: Link Down / Up Notification Event

Oct 26, 2010

I am on debian lenny and I am trying to make a script that will run in the background and checks the ethernet connection. If the ethernet connection goes down it will connect to wlan. I have found 2 ways of checking ethernet connection, via proc/net/dev and via ifconfig eth0. But if possible I want to avoid polling. So is there any event that is triggered when the table gets disconnect or at least the connection goes down and up?

View 1 Replies View Related

OpenSUSE :: Apparmor Security Event Notification Error

Nov 13, 2010

Currently the Apparmor program has the notification logs saved to /etc/apparmor/notify.cfg, however, when I try to save the notification after putting my email address in, I get an error saying "Configuration failed for the following operations: Unable to write config changes to /etc/apparmor/notify.cfg"looking inside the folder, I do not see any file named "notify.cfg" BUT I do see so files called reports.conf, logprof.conf, and reports.crontab. I am guessing that the program is asking to save the notification changes to a file that does not exist and in fact one of those three files are the proper ones to use. Well if that is the case then how would I go about fixing this error?

View 4 Replies View Related

General :: Red Hat Enterprise 6 - Smartcard Authentication - Cannot Login?

Jun 19, 2010

I just installed Red Hat 6 but when I try to login it prompts me to enter a "Smartcard Authentication" instead of a user name. Does anyone know how to get pass this? and just login with the user name I created or the root?Here's a screenshot of the login screen:[URL]

View 3 Replies View Related

Ubuntu Installation :: 10.04 Upgrade Stops At Desktop Removal / Is On Removal Black List

May 25, 2010

I started an upgrade from Ubuntu 8.04 to 10.04 and it stopped with the message: Ubuntu desktop is listed to be removed but is on the removal blacklist. Then it restored back to 8.04. I don't know how to resolve this - it would be alright to remove the old Ubuntu desktop.

View 1 Replies View Related

Red Hat / Fedora :: Enterprise 6 - Smartcard Authentication - Cannot Login?

Jun 19, 2010

I just installed Red Hat 6 but when I try to login it prompts me to enter a "Smartcard Authentication" instead of a user name.Does anyone know how to get pass this? and just login with the user name I created or the root? I tried logging using root and a regular user but it always keeps asking me to enter a smart card.Here's a screenshot of the login screen:Code: i901.photobucket.com/albums/ac211/0xGFX007/smart.png

View 1 Replies View Related

Fedora Security :: Encrytped Hard Drive With Smartcard

Jun 6, 2009

I've got a few laptop for which I'd like to encrypt hard drive with the help of a smartcard.Does one techno (LUKS, true-crypt,) support smart card for getting the secret/passphrase ?

View 1 Replies View Related

Ubuntu :: Smartcard Redirection With Terminal Server Client

Nov 18, 2010

I am trying to use a smartcard with a remote windows computer via the terminal server client. I didn't see any settings in the UI, but I did see a redirectsmartcards property in the conf file. I tried setting it from 0 to 1 but it didn't seem to have any effect (still getting traditional login dialog on remote computer). Does anyone know if this setting is supported or not? I did install pcscd and friends and when I insert the usb smartcard pcscd does show up in /var/log/messages so I think the smartcard is working okay locally.

View 2 Replies View Related

General :: Get A Mouse Event To Cause Keystroke?

Mar 14, 2010

I have a Logitech Media Play mouse with many buttons. I'm using xbindkeys to create some shortcuts to programs e.g. firefox, gnome-terminal--these work wonderful. What I cannot figure out is how to get the buttons to work for the media player(Ubuntu>System>Keyboard Shortcuts>Sound). I set shortcuts using my win key and letters, hoping to use xbindkeys to send out a keystroke. I have tried to use xmacro but to no avail. xdotool was not helpful, I think it may be outdated(desktop/workspace functions did not work).

My preferred option would be to get mouse events to keystrokes working with xbindkeys and program x(x being whatever works); however, just getting my media buttons to interact with the media play is my ultimate goal.

View 1 Replies View Related

General :: Log Devices Plugged In - Event ID?

Aug 21, 2009

I know in windows xp there is a registry key and an entry in the Plug and Play log file as well as maybe an event id, that is produced when a device (say usb) is plugged in. My question is, besides /var/log/ (messages?) Is there any other location that that information is stored in?

View 3 Replies View Related

General :: Catching The Hibernate Event?

Jun 7, 2010

Is it possible to catch the power management events(hibarnate/standby/sleep)o the code(c++)?

View 2 Replies View Related

General :: Removal Of Write Protection On A USB?

Oct 5, 2010

I have couple of USB modules. They are full of unwanted Windows files.I want to remove everything and format it.The message is it is write protected. The command fdisk -l gives the following:

Disk /dev/sdc: 2008 MB, 2008416256 bytes
57 heads, 56 sectors/track, 1228 cylinders
Units = cylinders of 3192 * 512 = 1634304 bytes

[code]...

View 5 Replies View Related

General :: Partition Removal Of Old Ubuntu?

Mar 31, 2010

I now run 9.10 but I used to run 9.04. Accidentally made my 9.10 pretty small, and I was basically being lazy and leaving it, but I now want to free up the 80 GB I left on 9.04. Is there any way to just delete the partition, I have all I need from it.

The path from what I can tell for it is /dev/sda1

View 12 Replies View Related

General :: Removal Of Windows Without Re-installation?

Oct 26, 2010

So I am a relatively inexperienced user of Linux. I have some experience and have dabbled in linux mint on several occasions, I get what linux is I suppose.

I was running windows XP before, it caught a virus and I rigged up a usb drive to install another copy of XP over that because my disk drive is broken.

I decided yesterday to make a switch to linux, I was fed up with windows and I can do anything windows can do with linux if I actually immerse myself in it with a little work and a little learning.

So I downloaded a copy of Ubuntu 10.10. I tried to make a bootable USB stick install of it and I was successful, booted from it, but it kind of just lingered at a black screen with credits and never began installing, there was no terminal or anything and it wasn't starting on its own.

I chose the next best thing, installing it inside of windows from that wubi.exe thing included in the iso image of ubuntu 10.10. I installed it over that, wired it and got my always problematic (with linux at least) b43 broadcom drivers.

So now when I start my computer there are the two windows xp installations and ubuntu.

Is there any way to, from my ubuntu from the install method stated (installed from inside of windows using wubi.exe), remove both instances of windows XP and make linux the only operating system on my computer WITHOUT having to reinstall linux.

I say again my disk drive is broken and the USB stick method didn't work for me, there is no way I can legitimately install linux and format my hard disk / delete partitions.

View 3 Replies View Related

General :: Rdesktop USB-redirection Save Removal?

May 16, 2011

We have several HP Thin-Clients of type t5545 in use. We redirect USB-Media to the terminalserver. Because the t5545 runs a debian customized by hp, we can treat it like a debian in some way.First, I'll explain how usb-redirection is configured: automatically mount it to /tmp/tmpfs/media /tmp/tmpfs/media is redirected as disk "Z" via rdesktop-parameter -r disk:sharename=path in case of removed usb-media udev will run a script to umount -l the device and delete the mountpointThe environment:

Thin-Clients run linux: root@mac-addr:/tmp/tmpfs/media# uname -a
Linux mac-addr 2.6.26-2-686 1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux
Terminalserver runs Windows Server 2008 R2

[code]....

View 2 Replies View Related

General :: Win Trojan And Worm Removal From Live?

Jun 21, 2011

PartedMagic live linux can load to memory and run clamav on a windows drive to check for and remove viruses. However, I need to also find and remove trojans and worms on a windows drive which clamav can not find. Is there any worm and trojan removers for linux or do you need to install WINE and run the windows trojan and worm removers.

View 3 Replies View Related

General :: Safe Removal Icon Disappeared?

Oct 12, 2010

removal icon has gone from my toolbar, how do I get it back.I have an acer aspire one notebook.It used to appear in the bottom of my screen and in the window sidebar...but now has gone totally.

View 3 Replies View Related

General :: Script - Hook Into System Mount / Umount Event?

Mar 27, 2010

Is there a way to provide post-mount and pre-umount scripts in Linux?
I am trying to do some scripts on storage media when mounted and before umounting (eg, for syncing).

View 3 Replies View Related

General :: Manually Generate A Fake ACPI Lid Event From A Script?

Jul 4, 2010

I'm trying to make sure that my laptop will suspend if I unplug it after the lid is already closed, and I believe that one way to accomplish this would be to simulate an ACPI lid event when the power adapter is plugged or unplugged. In order to do this, I need to find a command that will generate a fake ACPI lid event. Is there any such command?

View 1 Replies View Related

General :: Forbid Removal Of Files But Allow Creation Of Them For Specific Directory?

Jun 14, 2010

I have an application that creates temp files and quickly deletes them. But I'd like to keep those files, is there a way to do that in Linux?

View 2 Replies View Related

General :: NTFS Drive Damaged After Unsafe Removal From Windows 7

Jun 5, 2011

some info on the drive - it's a USB 2.0 portable hard drive (PQI H560), one partition spanning all 640GB, NTFS. Used almost exclusively on Linux (arch and ubuntu), but initially formatted on Windows 7.The hard drive has quite a lot of hard links on it, as it was a timemachine-like backup system.And now the issue itself:Today I made the mistake of taking out my portable hard drive from my Linux system and plugging it in a Windows 7 box. Everything worked nice, I took a movie from the drive, and it lay dormant for an hour or so. After that I took the drive out (forgot to unmount :/) and put it back in my Linux.

Any idea why did it break so bad? I thought NTFS was kind of durable.Best if there would be something nondestructive (be able to get the data while preserving every bit of the drive in it's current state - just to be sure it doesn't break anything)

View 3 Replies View Related

General :: Messy Filesystem - Duplicate File Removal From Command Line

Jan 17, 2011

In debian/ubuntu I want to:
a) Create a list of all the files in one directory tree
b) Do the same for a second directory tree
c) Compare the two lists such that, only the file NAMES are compared (i.e. just comparing the "file.txt" part so that "/home/folder/file.txt" == "/home/secondfolder/folder/file.txt)
d) Output a list of all the duplicates
How to do this using scripting languages or regex or something?

View 2 Replies View Related

General :: Insert Column With Awk / Sed Between Two?

Jan 18, 2011

I have a two column file and I need to create a new column in between the first and second but the new column adds a value to the first. E.g.code...

I thought I had figured out how to do it with the following but it just hangs:

awk -F '{print $0,$0+25,$1}' file_in > file_out

Also tried the following to no avail:

awk -F,-v OFS,'{print $0,$0+25,$1}' file_in > file_out

I can add the new column with the added value to the last column easy ( awk '{print $0,$0+25}' file_in > file_out).

View 8 Replies View Related

General :: Insert Heading In Awk?

Jun 8, 2011

I need to put headings on top of the output of this awk script :

#!/bin/sh

[Code].....

View 2 Replies View Related

General :: Vim Stuck In Insert Mode

Apr 11, 2010

I've been using Vim for several months now via my web host (they allow putty access). All of a sudden, the escape key has become unresponsive. I cannot exist insert or any other mode by simply hitting escape. I have to hit F1 which brings up the help in vim and kicks me into command mode.

I'm most certain that my escape key on my keyboard is functioning fine since all of my windows shortcuts that use the escape key operate normally.

I know this is a ridiculous question and I'm certain there's a lot more to look into regarding a solution. What I really need is a solid lead as to where to start looking.

I'm using vim via putty I'm logging in using jailshell I'm not root

View 2 Replies View Related

General :: Insert A Folder Into A ZIP File?

Aug 11, 2011

I'm a newbie on Linux and had to do something like this with the zip command:

My folder structure inside a zip file abc.zip is code...

It would move into abc.zip as folder3/textfile.txt (the hierarchy preserved)
Also used a -j switch (help said it junked the path info and it did but) - it would move only into abc.zip and sit at the same level as folder1 and folder2 instead of replacing the textfile.txt within abc.zip/folder1

My question is - I want to replace the abc.zip/folder1/textfile.txt with the one inside seconddir/folder3/textfile.txt.

How do I achieve this via the command line interface?

View 3 Replies View Related

General :: How To Get Insert Mode In GEdit

Mar 3, 2011

How do I get to insert mode in gedit? Why is there no documentation to do this? My Gedit comes up in overlay mode.

View 5 Replies View Related

General :: Insert Value Of Vmstat To Database?

Aug 17, 2010

I m trying to store the output of vmstat 1 10 into a database.I have done the necessary homework to connect bash to interact with the database.Program logic.1)storing the output of vmstat 1 10 to a file named abc.txt2)I m applying a filter to vmstat to get desired output containing cpu(user),cpu(system),cpu(idle) values.3)

Code:
# cat abc.txt | grep -vE '(procs|free)'| awk '{print $13 " "$14 " " $15}'
0 1 97

[code]....

View 3 Replies View Related

General :: Insert Text To A Specified Line?

Aug 23, 2009

Code:

sed -n '123p' file

that will print line 123 but how might I insert text to a specified line?

View 3 Replies View Related

General :: Get Vim Insert Mode In Emacs?

Apr 20, 2010

Is it possible to get vim insert mode in Emacs?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved