LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I change my real name on Debian? (for IRC) (http://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-change-my-real-name-on-debian-for-irc-4175436468/)

alarazr 11-09-2012 04:52 PM

How do I change my real name on Debian? (for IRC)
 
Hey all,

When I /whois myself, it reveals my full real name (I entered it during Debian setup)

How can I change this?

Cheers

towheedm 11-09-2012 08:03 PM

The real name for your username is kept in GECOS field of /etc/passwd. You can show your full name with (replace username with your username):
Code:

grep ^username /etc/passwd | cut -d: -f5 | cut -d, -f1
The simplest way to change it is to edit /etc/passwd.

kooru 11-10-2012 02:44 AM

Quote:

Originally Posted by towheedm (Post 4826206)
The real name for your username is kept in GECOS field of /etc/passwd. You can show your full name with (replace username with your username):
Code:

grep ^username /etc/passwd | cut -d: -f5 | cut -d, -f1
The simplest way to change it is to edit /etc/passwd.

or: usermod -c “Your full new Real Name” yourusername

alarazr 11-10-2012 06:44 AM

I ran something on the terminal that asked for my real name, job, phone number etc. and changed it via that, and my real name isn't contained in /etc/passwd. My real name still shows up if I whois myself though. Could it be possible that the server has saved my real name, even though I've changed it on my system?

Habitual 11-10-2012 06:47 AM

what IRC client do you use?

alarazr 11-10-2012 12:26 PM

Quote:

Originally Posted by Habitual (Post 4826448)
what IRC client do you use?

I'm using weechat-curses

Habitual 11-11-2012 01:03 PM

Quote:

Originally Posted by alarazr (Post 4826597)
I'm using weechat-curses

Very well then, in weechat...
Code:

/set irc.server.oftc.username "My user name"
/set irc.server.oftc.realname "My real name"

See http://www.weechat.org/files/doc/dev...kstart.en.html for more details.

Note: have a look at $HOME/.weechat/irc.conf ;)

alarazr 11-12-2012 02:33 PM

Quote:

Originally Posted by Habitual (Post 4827135)
Very well then, in weechat...
Code:

/set irc.server.oftc.username "My user name"
/set irc.server.oftc.realname "My real name"

See http://www.weechat.org/files/doc/dev...kstart.en.html for more details.

Note: have a look at $HOME/.weechat/irc.conf ;)

I've changed my real name in ~/.weechat/irc.conf and it works a treat =)

Much appreciated

Habitual 11-12-2012 04:42 PM

Glad it worked out.

Note to Self: Never hit reply and wait > 1h to submit.

Habitual 11-12-2012 05:48 PM

Glad it worked out.


All times are GMT -5. The time now is 03:55 PM.