https://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/chfn&feed=atom&action=history
Comandos de la terminal/chfn - Historial de revisiones
2024-03-28T09:54:18Z
Historial de revisiones para esta página en el wiki
MediaWiki 1.32.1
https://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/chfn&diff=5422&oldid=prev
Rrc en 18:43 9 may 2014
2014-05-09T18:43:20Z
<p></p>
<p><b>Página nueva</b></p><div>__NOTOC__<br />
* [[:#chfn | chfn]]<br />
<br />
== chfn ==<br />
<br />
<syntaxhighlight lang="bash"><br />
<br />
[root@Llawyr usr]# chfn --help<br />
<br />
Usage:<br />
chfn [options] [username]<br />
<br />
Options:<br />
-f, --full-name <full-name> real name<br />
-o, --office <office> office number<br />
-p, --office-phone <phone> office phone number<br />
-h, --home-phone <phone> home phone number<br />
<br />
-u, --help display this help and exit<br />
-v, --version output version information and exit<br />
<br />
For more details see chfn(1).<br />
[root@Llawyr usr]# chfn --version<br />
chfn from util-linux 2.24<br />
<br />
<br />
[root@Llawyr usr]# finger Prueba<br />
Login: Prueba Name: (null)<br />
Directory: /home/Prueba Shell: /bin/bash<br />
Never logged in.<br />
No mail.<br />
No Plan.<br />
<br />
[root@Llawyr usr]# chfn Prueba<br />
Changing finger information for Prueba.<br />
Name []: La Buena Cuenta<br />
Office []: Install Fest<br />
Office Phone []: 33 3145 2638<br />
Home Phone []: 3333 777 505<br />
<br />
Finger information changed.<br />
<br />
[root@Llawyr usr]# finger Prueba<br />
Login: Prueba Name: La Buena Cuenta<br />
Directory: /home/Prueba Shell: /bin/bash<br />
Office: Install Fest, 33 3145 2638 Home Phone: 3333 777 505<br />
Never logged in.<br />
No mail.<br />
No Plan.<br />
<br />
[root@Llawyr usr]# grep Prueba /etc/passwd<br />
Prueba:x:501:501:La Buena Cuenta,Install Fest,33 3145 2638,3333 777 505:/home/Prueba:/bin/bash<br />
<br />
<br />
</syntaxhighlight><br />
<br />
[[Category:Comandos de la terminal]]</div>
Rrc