.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" References consulted: .\" Linux libc source code .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) .\" 386BSD man pages .\" Modified Sat Jul 24 19:17:53 1993 by Rik Faith (faith@cs.unc.edu) .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH getusershell 3 "20 ​​Julio 2023" "Páginas de manual de Linux 6.05.01" .SH NOMBRE getusershell, setusershell, endusershell \- get permitted user shells .SH BIBLIOTECA Biblioteca Estándar C (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSIS .nf \fB#include \fP .PP \fBchar *getusershell(void);\fP \fBvoid setusershell(void);\fP \fBvoid endusershell(void);\fP .fi .PP .RS -4 Requisitos de Macros de Prueba de Características para glibc (véase \fBfeature_test_macros\fP(7)): .RE .PP \fBgetusershell\fP(), \fBsetusershell\fP(), \fBendusershell\fP(): .nf .\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8 Since glibc 2.21: _DEFAULT_SOURCE In glibc 2.19 and 2.20: _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500) Up to and including glibc 2.19: _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500) .fi .SH DESCRIPCIÓN La función \fBgetusershell\fP() devuelve la siguiente línea del fichero \fI/etc/shells\fP, abriéndolo si es necesario. La línea debería contener la ruta de una shell de usuario válida. Si \fI/etc/shells\fP no existe o no se puede leer, \fBgetusershell\fP() se comporta como si en el fichero se encontraran las shells \fI/bin/sh\fP y \fI/bin/csh\fP. .PP La función \fBsetusershell\fP() reinicializa \fI/etc/shells\fP. .PP La función \fBendusershell\fP() cierra \fI/etc/shells\fP. .SH "VALOR DEVUELTO" La función \fBgetusershell\fP() devuelve NULL si se llega al fin de fichero. .SH ARCHIVOS \fI/etc/shells\fP .SH ATRIBUTOS Para obtener una explicación de los términos usados en esta sección, véase \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interfaz Atributo Valor T{ .na .nh \fBgetusershell\fP(), \fBsetusershell\fP(), \fBendusershell\fP() T} Seguridad del hilo MT\-Unsafe .TE .sp 1 .SH ESTÁNDARES None. .SH HISTORIAL 4.3BSD. .SH "VÉASE TAMBIÉN" \fBshells\fP(5) .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Gerardo Aburruzaga García . .PP Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. .PP Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org .ME .