Je was op zoek naar: usermap (Engels - Italiaans)

Engels

Vertalen

usermap

Vertalen

Italiaans

Vertalen
Vertalen

Vertaal onmiddellijk teksten, documenten en gesprekken met Lara

Nu vertalen

Menselijke bijdragen

Van professionele vertalers, bedrijven, webpagina's en gratis beschikbare vertaalbronnen.

Voeg een vertaling toe

Engels

Italiaans

Info

Engels

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

Italiaans

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

Laatste Update: 2011-10-23
Gebruiksfrequentie: 3
Kwaliteit:

Engels

![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 ]]

Italiaans

![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 ]]

Laatste Update: 2008-03-04
Gebruiksfrequentie: 2
Kwaliteit:

Waarschuwing: Bevat onzichtbare HTML-opmaak

Krijg een betere vertaling met
8,934,684,953 menselijke bijdragen

Gebruikers vragen nu voor assistentie



Wij gebruiken cookies om u de best mogelijke ervaring op onze website te bieden. Door de website verder te gebruiken, geeft u toestemming voor het gebruik van cookies. Klik hier voor meer informatie. OK