NEWS
gelöst: ioBroker startet nicht mehr
-
@dp20eic
Wollte gerade eine neuen Maschine aufsetzen - da bekomme ich ganz andere Probleme:
root@debian-1:~# apt-get install sudo Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: sudo 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1889 kB of archives. After this operation, 6199 kB of additional disk space will be used. Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1 Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1 Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1 Err:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1 Temporary failure resolving 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/s/sudo/sudo_1.9.13p3-1_amd64.deb Temporary failure resolving 'deb.debian.org' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@debian-1:~# ping deb.debian.org ping: deb.debian.org: Temporary failure in name resolution root@debian-1:~#
Bah ... so langsam wäre es jetzt auch mal gut mit meinen Problemen
-
@dp20eic
Die Rechte sehen so aus:
I have no name!@iobroker:/opt/iobroker$ ls -lah /opt/ total 12K drwxr-xr-x 3 0 0 4.0K Jul 20 15:16 . drwxr-xr-x 19 0 0 4.0K Jul 28 17:32 .. drwxrwxr-x+ 6 1000 1000 4.0K Jul 20 15:17 iobroker I have no name!@iobroker:/opt/iobroker$ ls -lah /opt/iobroker total 484K drwxrwxr-x+ 6 1000 1000 4.0K Jul 20 15:17 . drwxr-xr-x 3 0 0 4.0K Jul 20 15:16 .. -rw-rwxr--+ 1 1000 1000 155 Jul 20 15:16 .npmrc -rwxrwxrwx+ 1 1000 1000 133 Jul 20 15:17 INSTALLER_INFO.txt drwxrwxr-x+ 2 1000 1000 4.0K Jul 28 17:14 backups lrwxrwxrwx 1 1000 1000 22 Jul 20 15:17 iob -> /opt/iobroker/iobroker -rwxrwxr-x+ 1 1000 1000 512 Jul 20 15:17 iobroker drwxrwxr-x+ 7 1000 1000 4.0K Jul 28 17:15 iobroker-data drwxrwxr-x+ 2 1000 1000 4.0K Jul 28 17:12 log drwxrwxr-x+ 688 1000 1000 20K Jul 22 14:50 node_modules -rw-rwxr--+ 1 1000 1000 428K Jul 22 14:50 package-lock.json -rw-rwxr--+ 1 1000 1000 985 Jul 22 14:50 package.json I have no name!@iobroker:/opt/iobroker$
und der id-Befehl funzt nicht
I have no name!@iobroker:/opt/iobroker$ id iobroker id: 'iobroker': no such user I have no name!@iobroker:/opt/iobroker$
-
@markus-7 sagte in ioBroker startet nicht mehr:
'iobroker': no such user
Da wundert es auch nicht, wenn da nichts mehr funktioniert.
cat /etc/passwd
spuckt was aus?
-
I have no name!@iobroker:~$ sudo cat /etc/passwd [sudo] password for toffy: root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin _apt:x:42:65534::/nonexistent:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin postfix:x:100:109::/var/spool/postfix:/usr/sbin/nologin sshd:x:101:65534::/run/sshd:/usr/sbin/nologin systemd-network:x:998:998:systemd Network Management:/:/usr/sbin/nologin systemd-timesync:x:997:997:systemd Time Synchronization:/:/usr/sbin/nologin messagebus:x:102:111::/nonexistent:/usr/sbin/nologin iobroker:x:1000:1000::/home/iobroker:/usr/sbin/nologin _rpc:x:103:65534::/run/rpcbind:/usr/sbin/nologin statd:x:104:65534::/var/lib/nfs:/usr/sbin/nologin toffy:x:1001:1001:Toffy,,,:/home/toffy:/bin/bash I have no name!@iobroker:~$
-
Bin jetzt schon fast soweit, Proxmox nochmal komplett neu aufzusetzen
(mit ohne root
)
-
Wie kommt man denn an so ein login prompt?
I have no name!@iobroker
Hab ich noch nie so gesehen.
-
Nächste gut Frage - habe den User "toffy" ganz normal mit "adduser toffy" angelegt
-
Und dann einmal aus und eingeloggt oder wie meldest du dich als toffy an?
-
Genau so
Gerade eben nochmal gemacht (davor der User gelöscht):
root@iobroker:~# adduser toffy Adding user `toffy' ... Adding new group `toffy' (1001) ... Adding new user `toffy' (1001) with group `toffy (1001)' ... Creating home directory `/home/toffy' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for toffy Enter the new value, or press ENTER for the default Full Name []: Toffy Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] Y Adding new user `toffy' to supplemental / extra groups `users' ... Adding user `toffy' to group `users' ... root@iobroker:~# exit logout Debian GNU/Linux 12 iobroker tty1 iobroker login: toffy Password: Linux iobroker 6.2.16-4-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-5 (2023-07-14T17:53Z) x86_64 -bash: /etc/profile: Permission denied I have no name!@iobroker:~$
-
ls -la /etc/profile
-
-rw-r--r-- 1 root root 769 Apr 10 2021 /etc/profile
-
id whoami
-
I have no name!@iobroker:~$ id uid=1001 gid=1001 groups=1001,100 I have no name!@iobroker:~$ whoami whoami: cannot find name for user ID 1001: Permission denied I have no name!@iobroker:~$
-
Moin,
sorry, das geht mir hier zu schnell, zu durcheinander.
Ich lese dann mal nur noch mit, um zu lernen.VG
Bernd@markus-7 sagte in ioBroker startet nicht mehr:
I have no name!@iobroker:~$
Das ist doch der
PS1
aus derbashrc
, oder?cat ~/.bashrc
-
@markus-7 sagte in ioBroker startet nicht mehr:
I have no name!@iobroker:~$ id
Ist das echt dein user!
mit Leertaste, großschreibung und !Ich dachte man sollte als user immer klein schreiben (stand so irgendwo)
Und am besten ohne Leertaste, Sonderzeichen, etc. -
Nein, mein User lautet "toffy". Ich habe keine Ahnung, was da los ist.
-
-
Ok ... was muss ich machen, damit mein frisch angelegter User "toffy" auch so da steht?
(Log vom Anlegen des Users steht weiter oben) -
@markus-7 sagte in ioBroker startet nicht mehr:
Nein, mein User lautet "toffy". Ich habe keine Ahnung, was da los ist.
Hängt die Kiste vielleicht mit offenen Ports im Internet?
-
Nein, ich habe keine Ports geöffnet.