Sorry, but I made a mistake... I have type whoami and not pwd. Sorry again.

So after "whoami" I have noticed that I am still connected as root and not as otrs.

Thank you in advanced for your help.

Alina.

Jeremy Monnet a écrit :

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/


--
-------------------------------------------------------
Alina Florea

Ritme Informatique
34 bd Haussmann
75009 Paris France Tel: +33 (0)1 42 46 00 42
Fax: +33 (0)1 42 46 00 33

http://www.ritme.com [EMAIL PROTECTED] : [EMAIL PROTECTED]
-------------------------------------------------------

_______________________________________________
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