2009/5/6 Frédéric Perrin <frederic.per...@resel.fr>:
> I have a system whose users' real names can't be written in ASCII, and
> this being the 21st century, not the 70's, I have the real name (with
> accents) in the GECOS field in /etc/passwd. Not being a vi{,m} user, I
> just have whatever the default package for vi is installed.

$ grep http /etc/passwd | cut -d: -f5

$ usermod -c éøß http
$ grep http /etc/passwd | cut -d: -f5
éøß

Editing the passwd file by hand seems a little odd to me.

Still, if vi crashes when opening a non ASCII file, that's another story

Reply via email to