Results for consoleowner translation from English to Italian

Computer translation

Trying to learn how to translate from the human translation examples.

English

Italian

Info

English

consoleowner

Italian

 

From: Machine Translation
Suggest a better translation
Quality:

Human contributions

From professional translators, enterprises, web pages and freely available translation repositories.

Add a translation

English

Italian

Info

English

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

Italian

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

Last Update: 2008-03-04
Usage Frequency: 2
Quality:

Warning: Contains invisible HTML formatting

Get a better translation with
7,747,680,238 human contributions

Users are now asking for help:



We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies. Learn more. OK