Sorry, found usermod used with -c option to do it all! thanks anyway!
Regards
> Hi all,
>
> i know that this might sound a little bit silly but I need to modify the
> "comment" field for some users in /etc/passwd.
> Is there any command I can integrate in a shell scipt and that allows this
> operation?
>
> If not, how can I open, modify and close /etc/passwd in a shell script?
>
> Thanks for your help.
# man chfn
rday
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
_________________________________________________________________
Unlimited Internet access -- and 2 months free! Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list