LinuxQuestions.org
Review your favorite Linux distribution.
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 12-18-2005, 02:05 AM   #1
akitchens
LQ Newbie
 
Registered: Dec 2005
Location: Athens, Ohio
Distribution: Redhat 9
Posts: 2

Rep: Reputation: 0
root mail priviliges


I am running a default install of redhat 9
I am trying to access the root users email via imap. I keep getting a wrong username or bad password error.
I know the username and password are correct and I can access all other users email without problem.
Is there some sort of security that prevents access to roots mail? If so how do I disable it?

TIA
Andrew
 
Old 12-19-2005, 01:32 PM   #2
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
I'm not sure what specific protections might be built into RH9.
Instead of accessing roots mail directly you can forward it to another user by placing a file called .forward in /root/ with a single line containing the user name of the account you wish to forward mail to. This is a built in sendmail function, if you are running a different mail setup this will probably still work though.
 
Old 12-19-2005, 09:39 PM   #3
akitchens
LQ Newbie
 
Registered: Dec 2005
Location: Athens, Ohio
Distribution: Redhat 9
Posts: 2

Original Poster
Rep: Reputation: 0
I have since forwarded all mail to another user and gone to the site the machine was hosted and forwarded the existing mail manually, it would still be nice to know why I couldnt access it like the other users though
 
Old 12-20-2005, 02:33 AM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
how did you try to acces root mail (i.e. what command)?
 
Old 12-20-2005, 08:58 AM   #5
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
It looks like he is trying to log in remotely over imap.
Again. I don't use RH, but I'm betting that some protection has been put in "for your own good" to keep you from logging into any of roots accounts from outside localhost. This isn't really a bad thing as it will make it impossible to brute force your root password, but I can see why it might be annoying. However, unless you are using a very secure connection it is a really bad idea to allow that kind of access anyway so maybe RH has done you a favor here.
 
Old 12-20-2005, 05:09 PM   #6
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
I'm not 100% sure but I think that most mail servers won't deliver to root, they have to have root aliased to another user.
 
  


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
/var/spool/mail/root mail message absalon Linux - General 1 07-04-2005 09:08 PM
can't use my root priviliges 47.46.45 Linux - Security 2 06-27-2005 02:31 PM
Root Priviliges Itsu SUSE / openSUSE 7 11-19-2004 08:42 PM
How to get root mail? nepcw Linux - Newbie 16 03-29-2004 05:00 PM
writing a script running firestarter automatically with kppp without root priviliges melquiades Linux - Newbie 3 08-11-2003 06:50 AM

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

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