Das ist aber eklig. Der otrs-user sollte keine gültige Shell haben. Und wenn man vergisst, das rückgängig zu machen, erhöht sich das Sicherheitsrisiko nicht wenig …

Dann doch lieber sudo (wenn installiert) oder eben meinen Tipp mit „su - otrs -s /bin/bash“ J

 

Gruß

Jan Dreyer

IT Administrator / Operations Team / M-IT OMS

 

Von: otrs-de-bounces@otrs.org [mailto:otrs-de-bounces@otrs.org] Im Auftrag von Boris Wagener
Gesendet: Mittwoch, 26. Juni 2013 21:23
An: User questions and discussions about OTRS.org in German
Betreff: Re: [otrs-de] Cannot run this program as root. Please run it as the 'otrs' user.

 

Danke!

 

 

Am 26. Juni 2013 21:18 schrieb Frank Markwort <frank.markwort@t-online.de>:

Editiere die /etc/passwd von


otrs:x:501:48:OTRS System User:/opt/otrs:/bin/false

nach
otrs:x:501:48:OTRS System User:/opt/otrs:/bin/bash

danach funktioniert su - otrs

Gruß Frank

--
Frank Markwort
http://erotus.de



Am 26.06.2013 21:04, schrieb Boris Wagener:

den user gibts:

otrs:x:501:48:OTRS System User:/opt/otrs:/bin/false

 

 

 

Am 26. Juni 2013 21:04 schrieb Boris Wagener <b.wagener79@gmail.com>:

Das hier:

 

[root@coocgnotrs001 scripts]# ./DBUpdate-to-3.2.pl

Cannot run this program as root. Please run it as the 'otrs' user.

 

das alles unter CentOS 6.3 da steh ich jedes mal wie der ochse vorm Berg..ich muss mir das mal aufschreiben

 

 

 

Am 26. Juni 2013 21:01 schrieb Sebastian Gödecke <simpsonetti@googlemail.com>:

 

Am 26. Juni 2013 20:46 schrieb Boris Wagener <b.wagener79@gmail.com>:

> Hallo Liste,
> ich steh immer wieder vor dem selben problem.
> Wie führe ist das Script als OTRS User aus?
>
> ich bin root
> su otrs hilft nicht.

Gibt es denn den User otrs ?
Und welches script denn ?



>
> ich weiss das es ganz einfach ist aber ich vergess es immer wieder:(
>
> Boris
>

> ---------------------------------------------------------------------
> OTRS mailing list: otrs-de - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs-de
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de



--
Mit freundlichen Grüßen
Sebastian Gödecke
---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de

 

 

 

---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de

 


---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de