SliTaz SliTaz Forum

You are not logged in.

#1 2015-11-13 09:35:25

emninger
Member
Registered: 2015-10-24
Posts: 53

tazpanel question

I note a somewhat incongruent behaviour of tazpanel: When i start tazpanel as root (by [c]subox[/c]or [c]gksu[/c]) i'm there correctly as root. But when i change to Packages i become [c]nobody[/c]and i have to re-change to root. Shouldn't tazpanel remember that it was started by root?

Offline

#2 2015-11-13 13:43:14

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: tazpanel question

Is your system updated? I can't reproduce this right now, but remember this bug in past.

No relogin both in [c]subox tazpanel[/c] and standart launch with browser's auth.

Need more details how you did it, especially the last page before swithching to 'nobody'.

Offline

#3 2015-11-13 16:50:59

emninger
Member
Registered: 2015-10-24
Posts: 53

Re: tazpanel question

I tried:

terminal > subox tazpanel

terminal > gksu tazpanel

terminal > su > <passwd> root# tazpanel

Any of them brings me to summary of tazpanel.

Then > packages and i'm back to nobody (not root anymore)

Offline

#4 2015-11-13 17:16:57

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: tazpanel question

Show output of:

[c]tazpkg -l | grep taz[/c]

(any term)

[c]env[/c]

Only in tazpanel's builtin terminal (NOT xterm/vte)

Offline

#5 2015-11-13 19:44:02

llev
Member
Registered: 2011-12-09
Posts: 568

Re: tazpanel question

I confirm the bug.

[c]slitaz-base-files                  286               base-système
slitaz-boot-scripts                415               base-système
slitaz-configs                     267               base-système
slitaz-configs-base                267               base-système
slitaz-doc                         4.4.1             base-système
slitaz-icon                        1.2.1             divers
slitaz-menus                       2.4.2             X-window
slitaz-polar-cursors               1.0               X-window
slitaz-toolchain                   5.0               méta
slitaz-tools                       957               outils-système
slitaz-tools-boxes                 957               outils-système
tazbug                             88                réseau
tazinst                            63                base-système
tazinst-gui                        63                base-système
tazlito                            386               base-système
tazpanel                           545               outils-système
tazpanel-extra                     545               outils-système
tazpanel-ttf-css                   545               divers
tazpkg                             839               base-système
tazusb                             181               base-système
tazweb                             165               réseau
tazwikiss                          248               bureautique[/c]
[c]nobody@slitaz:/tmp$ env
GATEWAY_INTERFACE=CGI/1.1
USER=nobody
TEXTDOMAIN=tazpanel
SHLVL=8
REMOTE_ADDR=[::ffff:127.0.0.1]
HOME=/dev/null
QUERY_STRING=path=%2Ftmp&cmd=env+
OLDPWD=/var/www/tazpanel
REMOTE_PORT=39121
HTTP_USER_AGENT=TazWeb (X11; SliTaz GNU/Linux; U; en_US)
HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
SCRIPT_FILENAME=/var/www/tazpanel/index.cgi
HTTP_HOST=127.0.0.1:82
LOGNAME=nobody
REQUEST_URI=/index.cgi?path=%2Ftmp&cmd=env+
SERVER_SOFTWARE=busybox httpd/1.23.2
TERM=linux
HTTP_COOKIE=guiuser=nobody
PATH=/bin:/sbin:/usr/bin:/usr/sbin
RUNLEVEL=laptop
DISPLAY=:0.0
SERVER_PROTOCOL=HTTP/1.0
LANG=fr_FR.UTF-8
PATH_INFO=
SHELL=/bin/sh
REQUEST_METHOD=GET
PWD=/tmp
LC_ALL=
TZ=Europe/Paris
SCRIPT_NAME=/index.cgi[/c]
As you can see I'm back to nobody also when going to the builtin terminal.

Offline

#6 2015-11-13 22:08:55

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: tazpanel question

Try #

[c]sed s/nobody/root/ -i /var/www/tazpanel/lib/libtazpanel[/c]

Offline

#7 2015-11-14 08:26:15

emninger
Member
Registered: 2015-10-24
Posts: 53

Re: tazpanel question

That seems to work ...

Offline

#8 2015-11-14 10:20:04

llev
Member
Registered: 2011-12-09
Posts: 568

Re: tazpanel question

Here as well.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]