You searched for: install bin bash (Spanska - Engelska)

Spanska

Översätt

install bin bash

Översätt

Engelska

Översätt
Översätt

Översätt texter, dokument och röst direkt med Lara

Översätt nu

Mänskliga bidrag

Från professionella översättare, företag, webbsidor och fritt tillgängliga översättningsdatabaser.

Lägg till en översättning

Spanska

Engelska

Info

Spanska

user: / usr / local / bin / bash

Engelska

in this case this could be: joe:##joe:11111:100:joe user: / home / j/joe: / usr / local / bin / bash

Senast uppdaterad: 2011-10-24
Användningsfrekvens: 1
Kvalitet:

Spanska

la variable $shell contiene el nombre de la shell donde estás y esto es lo que estamos comprobando aquí comparandola con la cadena "/bin/bash"

Engelska

the variable $shell contains the name of the login shell and this is what we are testing here by comparing it against the string "/bin/bash"

Senast uppdaterad: 2018-02-13
Användningsfrekvens: 1
Kvalitet:

Varning: Innehåller osynlig HTML-formatering

Spanska

![cdata[ #!/bin/bash # # /etc/hotplug/usb/consoleuserperms # # configura nuevamente la conexión del dispositivo usb para el usuario propietario # de la consola de acuerdo a pam_console pueda acceder desde el espacio de usuario # # tenga en cuenta que para que este script funcione, necesitará todo lo siguiente: # a) una línea en el archivo /etc/hotplug/usb.usermap u otro archivo usermap # en /etc/hotplug/usb/que corresponda al dispositivo que esté utilizando. # b) una configuración que utilice pam_console y que cree los respectivos archivos de bloqueo # conteniendo el nombre del usuario. puede comprobar esto # ejecutando «echo `cat /var/{run,lock}/console.lock`» y # verificando que aparece aquí el usuario mencionado anteriormente. # c) un núcleo de linux que soporte conexión en caliente (hotplug) y usbdevfs # d) el paquete hotplug (http://linux-hotplug.sourceforge.net/) # # en el archivo usermap, el primer campo «usb module» debería llamarse # «consoleuserperms» para que llame a este script. # if [ "${action}" = "add" ] [ -f "${device}" ] then # nuevo código, utilizando los archivos de bloqueo en lugar de copiar los archivos de /dev/console # esto también funciona con los accesos sin kdm (ejem: en un terminal virtual) # idea y code de 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 ]]

Engelska

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

Senast uppdaterad: 2008-03-04
Användningsfrekvens: 1
Kvalitet:

Varning: Innehåller osynlig HTML-formatering

Vissa mänskliga översättningar med låg relevans har dolts.
Visa resultat med låg relevans.

Få en bättre översättning med
10,388,471,977 mänskliga bidrag

Användare ber nu om hjälp:



Vi använder cookies för att förbättra din upplevelse. Genom att fortsätta besöka den här webbplatsen godkänner du vår användning av cookies. Läs mer. OK