Results 1 to 3 of 3

Thread: root mail via su

  1. #1

    Default root mail via su

    Hi everyone,

    I cannot seem to access root's mail via su. The system still checks my orginal username.

    How can I read it w/o logging in as root. (I have disabled root login.)

    Thanks,
    WT

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,128
    Blog Entries
    15

    Default Re: root mail via su

    Quote Originally Posted by wjtaylor
    Hi everyone,

    I cannot seem to access root's mail via su. The system still checks my
    orginal username.

    How can I read it w/o logging in as root. (I have disabled root
    login.)

    Thanks,
    WT
    Hi
    use su - not just su as this doesn't pull in root's environment or put
    you in root's home directory.

    As an aside, why not update aliases file and send root mail to your
    user name?

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 2 days 4:11, 2 users, load average: 1.06, 1.08, 0.72
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


  3. #3
    Join Date
    Jan 2009
    Location
    Toronto, Ontario
    Posts
    188

    Default Re: root mail via su

    Malcolm wrote:

    Hiya,

    If you don't like the command line, updating the aliases can be done rather
    painlessly with webmin.

    --
    kev.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •