Vous avez cherché: usermap (Anglais - Italien)

Traduction automatique

Apprendre à traduire à partir d'exemples de traductions humaines.

English

Italian

Infos

English

usermap

Italian

 

De: Traduction automatique
Suggérer une meilleure traduction
Qualité :

Contributions humaines

Réalisées par des traducteurs professionnels, des entreprises, des pages web ou traductions disponibles gratuitement.

Ajouter une traduction

Anglais

Italien

Infos

Anglais

the usermap file that goes with this is / etc/ hotplug/ usb/ logitechmouse. usermap, as shown below:

Italien

il file usermap abbinato è / etc/ hotplug/ usb/ logitechmouse. usermap così impostato:

Dernière mise à jour : 2011-10-23
Fréquence d'utilisation : 3
Qualité :

Anglais

![cdata[ #!/bin/bash # # /etc/hotplug/usb/consoleuserperms # # sets up newly plugged in usb device so that the user who owns # the console according to pam_console can access it from user space # # note that for this script to work, you'll need all of the following: # a) a line in the file /etc/hotplug/usb.usermap or another usermap file # in /etc/hotplug/usb/that corresponds to the device you are using. # b) a setup using pam_console creates the respective lock files # containing the name of the respective user. you can check for that # by executing "echo `cat /var/{run,lock}/console.lock`" and # verifying the appropriate user is mentioned somewhere there. # c) a linux kernel supporting hotplug and usbdevfs # d) the hotplug package (http://linux-hotplug.sourceforge.net/) # # in the usermap file, the first field "usb module" should be named # "consoleuserperms" to invoke this script. # if [ "${action}" = "add" ] [ -f "${device}" ] then # new code, using lock files instead of copying /dev/console permissions # this also works with non-kdm logins (e.g. on a virtual terminal) # idea and code from nalin dahyabhai nalin\@redhat\.com if [ -f /var/run/console.lock ] then consoleowner=`cat /var/run/console.lock` elif [ -f /var/lock/console.lock ] then consoleowner=`cat /var/lock/console.lock` else consoleowner= fi if [ -n "$consoleowner" ] then chmod 0000 "${device}" chown "$consoleowner" "${device}" chmod 0600 "${device}" fi fi ]]

Italien

![cdata[ #!/bin/bash # # /etc/hotplug/usb/consoleuserperms # # imposta un device usb appena inserito così che l'utente che possiede # la console secondo pam_console possa accedervi dallo spazio utente # # nota che affinché questo script funzioni, dovrai avere le seguenti cose: # a) una linea nel file /etc/hotplug/usb.usermap o un altro file usermap # in /etc/hotplug/usb/che corrisponda al dispositivo che stai utilizzando. # b) un impostazione che utilizzi pam_console che crei i rispettivi file di lock # che contengano i nome dei rispettivi utenti. puoi verificarlo # eseguendo "echo `cat /var/{run,lock}/console.lock`" e # verificando che l'utente appropriato e sia menzionato. # c) un kernel linux che supporti hotplug e usbdevfs # d) il pacchetto hotplug (http://linux-hotplug.sourceforge.net/) # # nel file usermap, il primo campo "usb module" dovrebbe chiamarsi # "consoleuserperms" per richiamare questo script. # if [ "${action}" = "add" ] [ -f "${device}" ] then # nuovo codice che utilizza i file di lock invece che copiare i permessi di /dev/console # ciò funziona anche con login non-kdm (ad esempio su un terminale virtuale) # idea e codice di nalin dahyabhai nalin\@redhat\.com if [ -f /var/run/console.lock ] then consoleowner=`cat /var/run/console.lock` elif [ -f /var/lock/console.lock ] then consoleowner=`cat /var/lock/console.lock` else consoleowner= fi if [ -n "$consoleowner" ] then chmod 0000 "${device}" chown "$consoleowner" "${device}" chmod 0600 "${device}" fi fi ]]

Dernière mise à jour : 2008-03-04
Fréquence d'utilisation : 2
Qualité :

Avertissement : un formatage HTML invisible est présent

Obtenez une traduction de meilleure qualité grâce aux
7,780,000,385 contributions humaines

Les utilisateurs demandent maintenant de l'aide :



Nous utilisons des cookies pour améliorer votre expérience utilisateur sur notre site. En poursuivant votre navigation, vous déclarez accepter leur utilisation. En savoir plus. OK