Chfn

Chfn


Linux chfn command

  • On Unix-like operating systems such as Linux, chfn modifies a user's "finger" information. This information is stored in the file /etc/passwd, and includes the user's real name, work room, work phone number, and home phone number.

  • This information can be viewed by other users with the finger command.

    Syntax

    chfn -f full_name -r room_no -w work_ph -h home_ph -o other user
    -f full_name

  • Allows someone to change their full name on their account.

    -r room_no

  • Allows someone to change their room number on their account.

    -w work_ph

  • Allows someone to change their work phone number on their account.

    -h home_ph

  • Allows someone to change their home phone number on their account.

    -o other

  • Allows someone to change any other notes on their account.

    user

    The name of the user who is being changed.

    Examples
    chfn
    Running the command without any options will enable the user to change all the user information.

    Note

  • If you're attempting to change the actual username and not just the description of the user, you may want to edit the password file directly; see the vipw command for more information.

    Related commands

  • chsh — Change login shell.

  • usermod — Modify a user's account.

  • passwd — Change a user's password.

  • vipw — Safely edit the password file.


    What is an Operating System? » Computer Shortcut Keys and their Functions » Keyboard Function Keys » Computer Basics - Hardware - Software - Parts

    Short Stories for Kids - Moral Stories – English Short Stories for Children - Moral Stories for Kids - Stories for Kids -
    Funny Story for Kids - Scary Stories for Kids - Really Funny Short Stories - Bedtime Stories

    Proverb Stories
    Powerful Motivational Quotes for Students » Success Quotes » English Short Stories for Kids

    Cabin Crew Jobs & Career Advice » Secretary Job Description » Receptionist Job Description » Top 100 Interview Questions and Answers » How to Prepare for an Interview » How to Write a CV » How to Choose a Career » Computer Shortcut Keys and their Functions

    Scholarships in Australia » Scholarships in Austria » Scholarships in Belgium » Scholarships in Canada » Scholarships in Germany » Scholarships in Ireland » Scholarships in Italy » Scholarships in Japan » Scholarships in Korea » Scholarships in Netherlands » Scholarships in Switzerland » Scholarships in UK » Scholarships in USA

    Scholarships for Study in Africa » Scholarships for African Students » Undergraduate Scholarships » African Women Scholarships & Grants Scholarships for Study in Africa » Scholarships for African Students » Undergraduate Scholarships » African Women Scholarships & Grants Scholarships for Study in Africa » Scholarships for African Students » Undergraduate Scholarships » African Women Scholarships & Grants Short Stories for Kids - Moral Stories – English Short Stories for Children - Moral Stories for Kids - Stories for Kids - Funny Story for Kids - Scary Stories for Kids - Really Funny Short Stories - Bedtime Stories
    Proverb Stories
    Powerful Motivational Quotes for Students » Success Quotes »Scholarships in UK » Scholarships in USA Scholarships in UK » Scholarships in USA Scholarships in UK » Scholarships in USA Scholarships in UK »

  • Click here to post comments

    Join in and write your own page! It's easy to do. How? Simply click here to return to Computer Basics FAQ.