Sarius Posted May 14, 2016 Share Posted May 14, 2016 Hallo. Dumme Frage, aber wie finde ich die User ID von einem Nutzer heraus? Link to comment Share on other sites More sharing options...
v3ng Posted May 14, 2016 Share Posted May 14, 2016 root@web:~# id <Nutzer> Link to comment Share on other sites More sharing options...
Sarius Posted May 14, 2016 Author Share Posted May 14, 2016 Danke, aber da kommt immer "einen solchen Benutzer gibt es nicht" o.O Nur mit "normalen Benutzer" echt es, nicht mit website Usern die mit froxlor erstellt worden sind. Link to comment Share on other sites More sharing options...
v3ng Posted May 14, 2016 Share Posted May 14, 2016 Läuft eventuell NSCD nicht bzw wurde nicht richtig eingerichtet? Link to comment Share on other sites More sharing options...
d00p Posted May 14, 2016 Share Posted May 14, 2016 meinst du die eigentlich ID die in der Datenbank als primärschlüssel benutzt wird oder die UID/GUID des Kunden? Link to comment Share on other sites More sharing options...
Sarius Posted May 14, 2016 Author Share Posted May 14, 2016 Also brauche die ID, um mit chown Rechte im website Ordner zu geben, da ich mit Root ein Backup der Seite eingespielt habe und der User keine Rechte mehr hat Link to comment Share on other sites More sharing options...
d00p Posted May 14, 2016 Share Posted May 14, 2016 also uid/gid, nicht die ID... SELECT guid FROM panel_customers WHERE loginname = 'benutzername'; Link to comment Share on other sites More sharing options...
Sarius Posted May 14, 2016 Author Share Posted May 14, 2016 Einfach als Root eingeben oder wie? Link to comment Share on other sites More sharing options...
d00p Posted May 14, 2016 Share Posted May 14, 2016 nein, das ist eine SQL query...als admin solltest du wissen wie du die absetzen kannst Link to comment Share on other sites More sharing options...
Sarius Posted May 15, 2016 Author Share Posted May 15, 2016 Ah, danke! Link to comment Share on other sites More sharing options...
J-B Posted May 17, 2016 Share Posted May 17, 2016 Danke, aber da kommt immer "einen solchen Benutzer gibt es nicht" o.O Nur mit "normalen Benutzer" echt es, nicht mit website Usern die mit froxlor erstellt worden sind. Dann gibt es den User auch nicht. # id webXXX uid=10XXX(webXXX) gid=10XXX(webXXX) Gruppen=10XXX(webXXX) Link to comment Share on other sites More sharing options...
d00p Posted May 17, 2016 Share Posted May 17, 2016 Dann gibt es den User auch nicht. # id webXXX uid=10XXX(webXXX) gid=10XXX(webXXX) Gruppen=10XXX(webXXX) Quatsch, die Abfrage funktioniert bei dir nur, weil du libnss-mysql eingerichtet hast Link to comment Share on other sites More sharing options...
Question
Sarius
Hallo. Dumme Frage, aber wie finde ich die User ID von einem Nutzer heraus?
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.