Re: [otrs-de] Cannot run this program as root. Please run it as the 'otrs' user.

2013-06-27 Diskussionsfäden Jan.Dreyer
Versuch mal su - otrs -s  /bin/bash
In der Regel ist der OTRS-User nur mit ungültiger Shell angelegt.

Gruß
Jan Dreyer
IT Administrator / Operations Team / M-IT OMS

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

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.

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

Re: [otrs-de] Cannot run this program as root. Please run it as the 'otrs' user.

2013-06-27 Diskussionsfäden Jan.Dreyer
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 :)

Gruß
Jan Dreyer
IT Administrator / Operations Team / M-IT OMS

Von: otrs-de-boun...@otrs.org [mailto:otrs-de-boun...@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.markw...@t-online.demailto:frank.markw...@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 21tel:26.06.2013%2021: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.wagene...@gmail.commailto:b.wagene...@gmail.com:
Das hier:

[root@coocgnotrs001 scripts]# ./DBUpdate-to-3.2.plhttp://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 
simpsone...@googlemail.commailto:simpsone...@googlemail.com:

Am 26. Juni 2013 20:46 schrieb Boris Wagener 
b.wagene...@gmail.commailto:b.wagene...@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

-
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-de] Cannot run this program as root. Please run it as the 'otrs' user.

2013-06-26 Diskussionsfäden Boris Wagener
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.

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

Re: [otrs-de] Cannot run this program as root. Please run it as the 'otrs' user.

2013-06-26 Diskussionsfäden Sebastian Gödecke
Am 26. Juni 2013 20:46 schrieb Boris Wagener b.wagene...@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


Re: [otrs-de] Cannot run this program as root. Please run it as the 'otrs' user.

2013-06-26 Diskussionsfäden Florian Edlhuber
Hi,

On Wed, Jun 26, 2013 at 09:01:27PM +0200, Sebastian Gödecke wrote:
 Am 26. Juni 2013 20:46 schrieb Boris Wagener b.wagene...@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 ?

sudo -u otrs command 

führt das als user otrs aus.

:)

Flo

-
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


Re: [otrs-de] Cannot run this program as root. Please run it as the 'otrs' user.

2013-06-26 Diskussionsfäden 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.wagene...@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 
 simpsone...@googlemail.com:

 Am 26. Juni 2013 20:46 schrieb Boris Wagener b.wagene...@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

Re: [otrs-de] Cannot run this program as root. Please run it as the 'otrs' user.

2013-06-26 Diskussionsfäden Boris Wagener
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 simpsone...@googlemail.com
:

 Am 26. Juni 2013 20:46 schrieb Boris Wagener b.wagene...@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

Re: [otrs-de] Cannot run this program as root. Please run it as the 'otrs' user.

2013-06-26 Diskussionsfäden Frank Markwort

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.wagene...@gmail.com 
mailto:b.wagene...@gmail.com:


Das hier:

[root@coocgnotrs001 scripts]# ./DBUpdate-to-3.2.pl
http://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
simpsone...@googlemail.com mailto:simpsone...@googlemail.com:

Am 26. Juni 2013 20:46 schrieb Boris Wagener
b.wagene...@gmail.com mailto:b.wagene...@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

Re: [otrs-de] Cannot run this program as root. Please run it as the 'otrs' user.

2013-06-26 Diskussionsfäden Boris Wagener
Danke!



Am 26. Juni 2013 21:18 schrieb Frank Markwort frank.markw...@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.wagene...@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 
 simpsone...@googlemail.com:

  Am 26. Juni 2013 20:46 schrieb Boris Wagener b.wagene...@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

-
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