Please run it as the 'otrs' user.

Hilfe zu OTRS Problemen aller Art
Post Reply
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Please run it as the 'otrs' user.

Post by boris »

Hi,

ich kannmir den Befehl nicht merken. :(

Ich will das DBUpdate Script auf 3.2 ausführen. Wie mache ich das als Otrs user?

Boris
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
catweazle
Znuny advanced
Posts: 121
Joined: 15 Feb 2012, 12:22
Znuny Version: 3.1

Re: Please run it as the 'otrs' user.

Post by catweazle »

switch user:
su otrs
1: OTRS 3.1.21 + Support + MasterSlave @ CentOS 6.5 , MySQL
2: Test: OTRS 3.1.21 + Support + MasterSlave @ CentOS 6.5 , MySQL
3: Test-2: OTRS 3.3.x + Support + MasterSlave @ CentOS 6.5 , MySQL (iphone, idoit-trash)
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: Please run it as the 'otrs' user.

Post by boris »

ich geh nach Hause....jetzt gehst. Eben gings nicht :)
ich dachte da muss was in den Aufrufbefehl fürs Script mit rein
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: Please run it as the 'otrs' user.

Post by boris »

Also ich versteh die Welt nicht mehr.

ich mache ein su otrs.
Klappt nicht ich bekomme dann die Meldung

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


den user gibts

whoami sagt dass ich trotz su otrs root bin

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


was mach ich falsch?
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: Please run it as the 'otrs' user.

Post by boris »

Ich raff das nicht...
ich hab das DBUpdate-to-xxx.pl jetzt icht ausgeführt...OTRS neu getsartet jetzt gehst?!?
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Please run it as the 'otrs' user.

Post by jojo »

su -s /bin/bash -c "OTRS Kommando" otrs
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: Please run it as the 'otrs' user.

Post by boris »

ich hab dem otrs user über die passwd eine bash verpast, das hat auch geklappt.
Trotzdem besten Dank!
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
Post Reply