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 09-14-2004, 03:24 AM   #1
t0ker
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
root@localhost


Where do I edit to change root@localhost to Steve@XCapped.com


# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /bin/mail.
#
# >>>>>>>>>> The program "newaliases" must be run after
# >> NOTE >> this file is updated for any changes to
# >>>>>>>>>> show through to sendmail.
#

# Basic system aliases -- these MUST be present.
mailer-daemon: postmaster
postmaster: root

# General redirections for pseudo accounts.
bin: root
daemon: root
adm: root
lp: root
sync: root
shutdown: root
halt: root
mail: root
news: root
uucp: root
operator: root
games: root
gopher: root
ftp: root
nobody: root
radiusd: root
nut: root
dbus: root
vcsa: root
canna: root
wnn: root
rpm: root
nscd: root
pcap: root
apache: root
webalizer: root
dovecot: root
fax: root
quagga: root
radvd: root
pvm: root
amanda: root
privoxy: root
ident: root
named: root
xfs: root
gdm: root
mailnull: root
postgres: root
sshd: root
smmsp: root
postfix: root
netdump: root
ldap: root
squid: root
ntp: root
mysql: root
desktop: root
rpcuser: root
rpc: root
nfsnobody: root

ingres: root
system: root
toor: root
manager: root
dumper: root
abuse: root

# mailman aliases
mailman: postmaster
mailman-owner: mailman

newsadm: news
newsadmin: news
usenet: news
ftpadm: ftp
ftpadmin: ftp
ftp-adm: ftp
ftp-admin: ftp

# trap decode to catch security attacks
decode: root

# Person who should get root's mail
#root: Steve
 
Old 09-14-2004, 04:53 AM   #2
mindspin
LQ Newbie
 
Registered: Oct 2003
Location: NL.
Distribution: Fedora Core 2
Posts: 29

Rep: Reputation: 15
I dont think it is possible, and furthermore why would you want that? If you made a user account you can use that one for using your pc. Only if nessecary you could switch to root.
You can change you hostname though, but im not sure where it is possible... Maybe in Xconfig or something like that
 
Old 09-14-2004, 05:26 AM   #3
killer_bunny
Member
 
Registered: Oct 2003
Location: Croatia
Distribution: RedHat 9, Slack
Posts: 106

Rep: Reputation: 15
Re: root@localhost

Quote:
Where do I edit to change root@localhost to Steve@XCapped.com
Well first you could tell us what distro are you using...

I guess "root@localhost" is prompt in your xterm's (or wathever terminal)
If you want to change that then:

On RedHat you go:

1. root is your username, by wich you login your user account.
- Make new USER account, DO NOT use root account for every days usage.

2. To chane your hostname you can use hostname command as root but i don't know will that name stick after you reboot...
- My friend change that in /etc/rc.sysinit

There is a few lines in top of file that set the hostname while booting the system:

HOSTNAME=`/bin/hostname`
if [ -f /etc/sysconfig/network ]; then
. /etc/sysconfig/network
else
NETWORKING=no
fi
if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ]; then
HOSTNAME=localhost
fi
HOSTNAME=cro_corp.hr

He just added this below these lines and viola, new hostname is set at boot time.
It is not very elegant but it does the trick...


Anyways if you want to edit your prompt you should search the net for more info on how to do that...
 
Old 09-14-2004, 05:48 AM   #4
t0ker
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
No, I was talking about root mail.
 
Old 09-14-2004, 06:38 AM   #5
Gkarfield
Member
 
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123

Rep: Reputation: 15
hmmmmmm
if you talk about mail, make an account for another one than root. I have Kmail, and somewhere says , what it displays when it sends mail
 
  


Reply



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
Root@localhost Problem petenyce Linux - Newbie 1 09-28-2005 09:55 PM
Cannot POP to root@localhost.... greggy69 Linux - Software 0 08-05-2004 04:40 PM
root@localhost questions new2server Linux - Newbie 10 03-04-2004 12:52 AM
Changing root@localhost to root@domain.com Stingreen Linux - General 14 12-17-2002 06:21 PM
bash-2.04#? what happened to root@localhost gummyworms Linux - General 2 07-12-2001 10:47 AM

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

All times are GMT -5. The time now is 05:59 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