use
su -s /bin/bash otrs
By default, otrs user don't have shell. So with this command, you
specify what shell you whant to use.
Hope this help
Guillaume REHM
Service Informatique
Bibliothèque Nationale et Universitaire de Strasbourg
5 rue du Maréchal Joffre
BP 51029
67070 Strasbourg
tél: 03 88 25 28 43
fax: 03 88 25 28 03
mail: [EMAIL PROTECTED]
web: http://www.bnu.fr
Alina Florea a écrit :
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/
_______________________________________________
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/