Get the App
SLTechnology News&Howtos  ›  Servers  › 

System management using chfn commands of linux

Shulou Source: shulou.com Published: 2022-06-02 12:44:51 10月14日 Update

Do not know how to use linux chfn command system management? In fact, it is not difficult to solve this problem. Let the editor take you to learn how to solve it. I hope you will gain a lot after reading this article.

The English full name of the chfn command is "change finger", which is used to change the information displayed by the finger command. This information is stored in the passwd file in the / etc directory. If no options are specified, the chfn command enters the question-and-answer interface.

Syntax format: chfn [parameters]

Common parameters:

-f set real name-h set home phone number-u online help-v display version information

Reference example

Change the finger message:

[root@linuxcool ~] # chfn

Changing finger information for root.

Name [root]: linuxcool

Office []: cool

Office Phone []: 888888

Home Phone []: 999999

Finger information changed.

Change the real name of the account:

[root@linuxcool] # chfn-f

Hnunix Changing finger information for root.

Finger information changed. Thank you for reading this article carefully. I hope it is helpful for everyone to share the management content of the chfn command system using linux. At the same time, I also hope that you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

Tags: Commands information systems administration parameters names articles questions learning help full name content number simultaneous online help examples commonly used files methods formats Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Xiaomi MariaDB Apple vpn