chfn: add page (#2929)

* Create chfn.md

* Update chfn.md

* chfn: tweak grammar
italian
lbonanomi 2019-04-18 20:53:14 -04:00 committed by Lucas Gabriel Schneider
parent d9ae5bec49
commit 1c73992e8c
1 changed files with 19 additions and 0 deletions

19
pages/linux/chfn.md Normal file
View File

@ -0,0 +1,19 @@
# chfn
> Update `finger` info for a user.
- Update a user's "Name" field in the output of `finger`:
`chfn -f {{new_display_name}} {{username}}`
- Update a user's "Office Room Number" field for the output of `finger`:
`chfn -o {{new_office_room_number}} {{username}}`
- Update a user's "Office Phone Number" field for the output of `finger`:
`chfn -p {{new_office_telephone_number}} {{username}}`
- Update a user's "Home Phone Number" field for the output of `finger`:
`chfn -h {{new_home_telephone_number}} {{username}}`