Saturday, September 19, 2009

Reasons For Swollen Feet Atrial Fib

USB


Salve ragazzi,
avete mai visto i vostri colleghi autenticarsi (loggarsi con ID e PASSWORD) in un computer senza usare la password, ma un dispositivo USB? No?

Ma in che mondo vivete?

Scherzo... Però, io ho sempre sognato di inserire una password "hardware" (si lo so, sono nerd fin nelle ossa).

Per chi non sapesse minimamente di cosa sto parlando, in poche parole l'autenticazione si svolgerà semplicemente inserendo la periferica usb personale e lasciando vuoto il campo password. Tutto questo grazie a PAM!

Cos'è PAM?

PAM o Pluggable authentication modules costituisce a set of libraries and files that allow you to authenticate the user by other means different from the standard. This can not change the entire program in case of change in the method of authentication, and allows you to authenticate in a variety of ways, from fingerprints to the USB! In fact, the PAM module that manages access and authentication via USB. More information can be found on Wikipedia



Install pamusb

If you are on a Debian GNU / Linux you can easily install packages for the module pamusb with this command:


 
apt-get install libpam-usb-tools pamusb





At this point you need only enter our USB key and configure PAM for everything you need to function properly. So we're going to add our USB device among those available and we are going to associate our name with our user device choice. Typed at the terminal with superuser permissions:


 
pamusb-conf - add-device AuthChiave





This command will display the data in the device and you must confirm the choice with a classic "y" l ' operation you are going to do. Obviously you can replace with any name AuthChiave want as it will be the device ID. Now your device is recognized by pamusb but was not associated with any user, then proceed with the following command always super user:


 
pamusb-conf - add-user VOSTRONOMEUTENTE






If you want to check that everything is going your way, just run a check with this command:


 
pamusb-check VOSTRONOMEUTENTE





Now we just have to add the module as a possibility of authentication then edit the file in / etc / pam.d / common-auth and add the following line like this: Find the line (or similar):


 
auth required pam_unix.so nullok_secure





and add after this other line:


 
auth sufficient pam_usb.so





We're finished! Now just enter in the login or authentication (or if at - vostronomeutente ) your usb stick without having to enter the password, if required or just press Enter. If you do not want to press to send the password prompt, you can put the latter line only first-line authentication. You can, in addition, run a command when you remove the selected device, or upon insertion. To do this simply edit the file / etc / pamusb.conf , researching the following tags and modified in this way:

\u0026lt;user id="VOSTRONOMEUTENTE">
\u0026lt;device> AuthChiave \u0026lt;/ device> ;
\u0026lt;agent event="lock"> xscreensaver-command - lock \u0026lt;/ agent>
\u0026lt;agent event="unlock"> xscreensaver-command - deactivate \u0026lt; ; / agent>
\u0026lt;/ user>

This will lock the screen when the device is removed, but will be reactivated when you enter them again. To activate this feature, we add-agent pamusb between the processes that start up automatically at the beginning of our session. To do this with Xfce 4.6 just go nel Menu > Impostazioni > Sessione e Avvio, e selezionare la tabella “Application autostart” e aggiungere pamusb-agent nella lista dei processi. A questo punto vi basterà riavviare la sessione per verificare i cambiamenti!


Ops... ho fatto un casino!!

In caso di problemi relativi all’autenticazione,in situazioni veramente critiche, potrete sempre avviare un liveCD di qualsiasi distribuzione ed eseguire un chroot nella vostra root, eliminare direttamente i pacchetti installati e/o commentare the following line:


 
# auth sufficient pam_usb.so





All come back as before! And the good fairy will make life easier with some nice touches of rhyme and magic wand!


Greetings to all ...
masand



Thursday, September 10, 2009

Tax On Selling A Used Boat Ontario

SHIRE AS A PASSWORD ... WHAT? FIREFOX 3.5.x




You all know sure that Firefox has come to version 3.5.

This new version promises a greater ability to manage computer resources and finally we will not have 3 / 4 of RAM occupied by Firefox.


course improvements do not stop there, for a detailed list of improvements and additions, you can have a read here: Firefox 3.5.3 Changelog


Unfortunately Ubuntu is history, does not offer the ' major update to the release when the old version still offers support.

So our dear Ubuntu gives us no updates for 3.5.x. To do this There are at least a couple of ways, from a repository of Jaunty (yes, I'll explain further) and the other using a special script that makes the distro to upgrade firefox to version more recently.

start :-)


Firefox 3.5.x install from the repositories:


To date, the latest version of Firefox is 3.5.3, while the repository allow us to install "only "The 3.5.2. So, be warned.


Open Synaptic (System → Administration → Package Manager) and then try and install the following packages:
  • firefox-3.5 firefox-3.5-
  • branding firefox-3.5-gnome-support xulrunner-1.9.1
  • xulrunner-1.9.1-gnome-support
Once installed the packages, you'll have your Firefox Updated to version 3.5.2, the problem is that the installed version is in English, in Italian if you want you should go to Mozilla and from there take the language pack you need, because there is attention to the 32 that 64-bit.


Install Firefox 3.5.x script Journal:


As you read, in part just above, we find two installed Firefox, version 3.0.x and version 3.5.x, which, let's face it, is not very elegant.


The best thing would "update" firefox right? In this regard there is a script that automatically created specifically uninstall the installed version of firefox and updated with the latest.


Here is the description of this script that you can find on the home of the same:


A python script That Allows the user to install the latest versions of Mozilla Firefox, Mozilla SeaMonkey, Mozilla and Thunderbird on Ubuntu Linux and derivative distros, with minimal disturbance to the system.

So as you can read, does a lot of interesting little things.
From here you can download. Deb script for Ubuntu: done this open the terminal and run the following command:


ubuntuzilla.py

Questions proposals always answer "y".
After installation you will have your firefox updated to the latest available version. Another feature is that we update the script (using notifications Ubuntu) any other updates. Excellent!

Should you wish, for any reason, uninstall the version of firefox installed in this manner, the command to give, always terminal, is as follows:

ubuntuzilla.py-a remove-p firefox

Then to uninstall the script, given the traditional command:

sudo apt-get remove - purge ubuntuzilla

Fast and safe too.
For more information, this is the home address of the project: Home Ubuntuzilla


Small notes:


I have noticed that, whether you installed the new firefox from repositories and through the script, the yield was poor character (
at least it happened to me and some other person) . The solution is to give this sequence of commands in terminal:

  1. cd / etc / fonts / sudo mv
  2. conf.d/10-hinting-slight.conf.
  3. sudo ln-s conf.avail/10-hinting-slight.conf conf.d /
  4. sudo mv conf.d/10-hinting.conf.
  5. sudo ln-s conf.avail/10-hinting.conf conf.d /
  6. sudo dpkg-reconfigure fontconfig

Greetings to all ...

masand