LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2012, 04:52 PM   #1
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Rep: Reputation: Disabled
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
 
Old 11-09-2012, 08:03 PM   #2
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
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.
 
Old 11-10-2012, 02:44 AM   #3
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 275Reputation: 275Reputation: 275
Quote:
Originally Posted by towheedm View Post
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
 
Old 11-10-2012, 06:44 AM   #4
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Original Poster
Rep: Reputation: Disabled
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?
 
Old 11-10-2012, 06:47 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
what IRC client do you use?
 
Old 11-10-2012, 12:26 PM   #6
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Habitual View Post
what IRC client do you use?
I'm using weechat-curses
 
Old 11-11-2012, 01:03 PM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by alarazr View Post
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

Last edited by Habitual; 11-11-2012 at 01:05 PM.
 
2 members found this post helpful.
Old 11-12-2012, 02:33 PM   #8
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Habitual View Post
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
 
Old 11-12-2012, 04:42 PM   #9
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Glad it worked out.

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

Last edited by Habitual; 11-12-2012 at 05:49 PM.
 
Old 11-12-2012, 05:48 PM   #10
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Glad it worked out.
 
  


Reply

Tags
debian, irc, privacy, username



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IRC server for debian - which one ? dlugasx Linux - Server 3 10-21-2009 09:17 AM
IRC server debian dlugasx Linux - Server 2 09-21-2009 09:09 AM
Debian users: what's your favorite IRC client? bezdomny Linux - Software 2 08-06-2008 06:45 PM
Debian: IRC Services 5.0.28 installation trouble OdiousKangaroo Linux - Software 0 03-15-2004 07:28 PM
IRC Client that can change your ip address? kublador Linux - Software 1 02-21-2003 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration