The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 01-23-2006
DogDay's Avatar
DogDay DogDay is offline
Registered User
  
 

Join Date: Jun 2005
Location: /dev/null
Posts: 83
Quote:
Originally Posted by Chanakya.m
thats fine..

just by using entr key after "chfn <$USER> " we can just edit that to replace with new information. My requirement is to reset that information to blank/NULL...


Hit enter and it is blank. It is only the fifth field in the /etc/passwd file. If your chfn doesn't work like mine (hitting enter resets it to blank) then just edit the /etc/passwd file.