From e25aa4568b5c57e3358846d634e6346beb1c2437 Mon Sep 17 00:00:00 2001 From: nchebrov Date: Sun, 15 Feb 2026 05:32:55 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1d25624..637dbb9 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,12 @@ https://gitea.manturovo-it.ru/nchebrov/stellars-jupyterhub-ds Смена администратора + 1.Создать нового пользователя, к примеру `super` + 2. Назначить его админом с помощью следующих команд - +``` docker exec -it stellars-jupyterhub-ds-jupyterhub python3 -c " import sqlite3 conn = sqlite3.connect('/data/jupyterhub.sqlite') @@ -18,7 +20,8 @@ for row in cursor.fetchall(): print(f'User: {row[0]}, Admin: {row[1]}') conn.close() " - +``` +``` docker exec -it stellars-jupyterhub-ds-jupyterhub python3 -c " import sqlite3 conn = sqlite3.connect('/data/jupyterhub.sqlite') @@ -28,4 +31,5 @@ print('Готово') for row in conn.execute('SELECT name, admin FROM users'): print(f'User: {row[0]}, Admin: {row[1]}') conn.close() -" \ No newline at end of file +" +``` \ No newline at end of file