Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 50 lignes de commande et 1472 man disponibles
login as: root
root@213.186.33.18's password:
Last login: Sun Feb 12 8:14:54 2012 from 38.107.179.230
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Rexec en anglais

REXEC(3) Linux Programmer's Manual REXEC(3)
 
NAME


rexec - return stream to a remote command
 
SYNOPSIS


int rexec(char **ahost, int inport, char *user, char *passwd, char *cmd, int *fd2p);
 
DESCRIPTION


This interface is obsoleted by rcmd(3). The rexec() function looks up the host *ahost using gethostbyname(3), returning -1 if the host does not exist. Otherwise *ahost is set to the standard name of the host. If a username and password are both specified, then these are used to authenticate to the foreign host; otherwise the environment and then the user's .netrc file in his home directory are searched for appropriate information. If all this fails, the user is prompted for the information. The port inport specifies which well-known DARPA Internet port to use for the connection; the call getservbyname("exec", "tcp") (see getser- vent(3)) will return a pointer to a structure that contains the neces- sary port. The protocol for connection is described in detail in rex- ecd(8). If the connection succeeds, a socket in the Internet domain of type SOCK_STREAM is returned to the caller, and given to the remote command as stdin and stdout. If fd2p is non-zero, then an auxiliary channel to a control process will be setup, and a descriptor for it will be placed in *fd2p. The control process will return diagnostic output from the command (unit 2) on this channel, and will also accept bytes on this channel as being Unix signal numbers, to be forwarded to the process group of the command. The diagnostic information returned does not include remote authorization failure, as the secondary connection is set up after authorization has been verified. If fd2p is 0, then the stderr (unit 2 of the remote command) will be made the same as the std- out and no provision is made for sending arbitrary signals to the remote process, although you may be able to get its attention by using out-of-band data.
 
CONFORMING TO


Not in POSIX.1-2001. Present on the BSDs, Solaris, and many other sys- tems. The rexec() function appeared in 4.2BSD.
 
BUGS


The rexec() function sends the unencrypted password across the network. The underlying service is considered a big security hole and therefore not enabled on many sites, see rexecd(8) for explanations.
 
SEE ALSO


rcmd(3), rexecd(8)
 
COLOPHON


This page is part of release 3.05 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2007-12-28 REXEC(3)


 Dernières recherches
Man  en anglais Man rexec en anglaisMan  en français Man rexec en français
Man  en anglais Man mlock en anglaisMan  en français Man mlock en français
Man  en anglais Man getpt en anglaisMan  en français Man getpt en français
Man  en anglais Man login en anglaisMan  en français Man login en français
Man  en anglais Man chmod en anglaisMan  en français Man chmod en français
Man  en anglais Man trace en anglaisMan  en français Man trace en français
Man  en anglais Man clock en anglaisMan  en français Man clock en français
Man  en anglais Man uname en anglaisMan  en français Man uname en français
Man  en anglais Man fdisk en anglaisMan  en français Man fdisk en français
Man  en anglais Man fstat en anglaisMan  en français Man fstat en français
Man  en anglais Man chown en anglaisMan  en français Man chown en français
Man  en anglais Man prctl en anglaisMan  en français Man prctl en français
Man  en anglais Man shmat en anglaisMan  en français Man shmat en français
Man  en anglais Man ascii en anglaisMan  en français Man ascii en français
Man  en anglais Man pread en anglaisMan  en français Man pread en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher