On 4/27/06, Alina Florea <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > To have otrs cron jobs errors read otrs user mail
> > su -s /bin/bash otrs
> > mail
> >
> I have "permission denied" when I try this command.
>
> I have also typed:
>
> su otrs
> pwd

"pwd" will give you only the current working directory, which will NOT
be changed by just "su". If you want to know who you are, try
"whoami". If you want to get the environnement of the user, you should
issue "su - otrs" (this would bring you to the otrs home directory).
Notice the "-" which forces the use of the user's environnement,
instead of keeping the previous user's environnement.

Jeremy
--
Linux Registered User #317862
Linux From Scratch Registered User #16571
Please do not send me .doc, .xls, .ppt, as I will *NOT* read them.
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to