Автор Тема: Хочу поделиться опытом: iTalc, iTest, Moodle, eyeOS  (Прочитано 50241 раз)

Оффлайн kon-dv

  • Завсегдатай
  • *
  • Сообщений: 722
    • Заметки учителя
    • Email
Хм, не знал.
Морфиус на меня обиделся...

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 246
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
[root@lecturer ~]# usermod -G italcmaster kon-dv
[root@lecturer ~]#
Лучше, конечно перед этим сделать
#id [пользователь]
А потом перечислить группы usermod -G группа,группа,... italcmaster пользователь
Лучше вообще им не пользоваться, а пользоваться gpasswd.
« Последнее редактирование: 01.04.2010 21:30:31 от ruslandh »

Оффлайн kon-dv

  • Завсегдатай
  • *
  • Сообщений: 722
    • Заметки учителя
    • Email
Цитировать
Лучше вообще им не пользоваться, а пользоваться gpasswd.
Уважаемый ruslandh можно расписать поподробнее? Возьму на вооружение такой способ, многие только учатся работать с Linux и грамотное исправление ошибок начинающим очень бы пригодилось.  :)
Морфиус на меня обиделся...

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 246
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
man gpasswd
Цитировать
GPASSWD(1)                                                          GPASSWD(1)

NAME
       gpasswd - administer the /etc/group file

SYNOPSIS
       gpasswd group
             gpasswd -a user group
             gpasswd -d user group
             gpasswd -R group
             gpasswd -r group
             gpasswd [-A user,...] [-M user,...] group
.....


       Group  administrator  can  add and delete users using -a and -d options
       respectively. Administrators can use -r option to  remove  group  pass‐
       word. When no password is set only group members can use newgrp to join
       the group. Option -R disables access to the group through  newgrp  com‐
       mand.

       gpasswd  called  by  a group administrator with group name only prompts
       for the group password. If password is set the members can  still  new‐
       grp(1) without a password, non-members must supply the password.
....


Оффлайн dormidont3

  • Завсегдатай
  • *
  • Сообщений: 703
    • ФотоШоу
    • Email
Отчего это может происходить и как поправить?

[root@comp-Celeron-CPU-efc7d2 ~]# ica -role teacher -createkeypair


creating new key-pair ...
Sat Feb 27 08:17:59 2010: [warning] QDir::mkpath: Empty or null file name(s)
Sat Feb 27 08:17:59 2010: [warning] QDir::mkpath: Empty or null file name(s)
...done, saved key-pair in

/etc/italc/keys/private/teacher/key

and

/etc/italc/keys/public/teacher/key


For now the file is only readable by root and members of group root (if you
didn't ran this command as non-root).
I suggest changing the ownership of the private key so that the file is
readable by all members of a special group to which all users belong who are
allowed to use iTALC.

на сколько у меня получилось перевести, не хватает прав, но проблема в том, что я зашёл под рутом и как получить большие права я просто не представляю...

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 246
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
Цитировать
For now the file is only readable by root and members of group root (if you
didn't ran this command as non-root).
I suggest changing the ownership of the private key so that the file is
readable by all members of a special group to which all users belong who are
allowed to use iTALC.

Теперь этот файл читается только root и пользователями, входящими в группу root (если вы не выполняли команду как не-root).
Предлагаю изменить приватный ключ так, чтобы файл был доступен для чтения всем пользователям специальной группы, которая-бы включала всех пользователей, использующих iTalc.

Оффлайн dormidont3

  • Завсегдатай
  • *
  • Сообщений: 703
    • ФотоШоу
    • Email
Делаю всё по инструкции, но пр запуске ica и на моём и на детских компах очень много раз выдаётся вот что

27/02/2010 14:21:17 ------------------ USEFUL INFORMATION ------------------   
27/02/2010 14:21:17 X DAMAGE available on display, using it for polling hints. 
27/02/2010 14:21:17   To disable this behavior use: '-noxdamage'               
27/02/2010 14:21:17                                                             
27/02/2010 14:21:17 Wireframing: -wireframe mode is in effect for window moves.
27/02/2010 14:21:17   If this yields undesired behavior (poor response, painting
27/02/2010 14:21:17   errors, etc) it may be disabled:                         
27/02/2010 14:21:17    - use '-nowf' to disable wireframing completely.         
27/02/2010 14:21:17    - use '-nowcr' to disable the Copy Rectangle after the   
27/02/2010 14:21:17      moved window is released in the new position.         
27/02/2010 14:21:17   Also see the -help entry for tuning parameters.           
27/02/2010 14:21:17   You can press 3 Alt_L's (Left "Alt" key) in a row to     
27/02/2010 14:21:17   repaint the screen, also see the -fixscreen option for   
27/02/2010 14:21:17   periodic repaints.                                       
27/02/2010 14:21:17                                                             
27/02/2010 14:21:17 XFIXES available on display, resetting cursor mode         
27/02/2010 14:21:17   to: '-cursor most'.                                       
27/02/2010 14:21:17   to disable this behavior use: '-cursor arrow'             
27/02/2010 14:21:17   or '-noxfixes'.                                           
27/02/2010 14:21:17 using XFIXES for cursor drawing.                           
27/02/2010 14:21:17 GrabServer control via XTEST.                               
Xlib:  extension "RECORD" missing on display ":0.0".                           
27/02/2010 14:21:17                                                             
27/02/2010 14:21:17 The RECORD X extension was not found on the display.       
27/02/2010 14:21:17 If your system has disabled it by default, you can         
27/02/2010 14:21:17 enable it to get a nice x11vnc performance speedup         
27/02/2010 14:21:17 for scrolling by putting this into the "Module" section     
27/02/2010 14:21:17 of /etc/X11/xorg.conf or /etc/X11/XF86Config:               
27/02/2010 14:21:17                                                             
27/02/2010 14:21:17   Section "Module"                                         
27/02/2010 14:21:17   ...                                                       
27/02/2010 14:21:17       Load    "record"                                     
27/02/2010 14:21:17   ...                                                       
27/02/2010 14:21:17   EndSection                                               
27/02/2010 14:21:17                                                             
27/02/2010 14:21:17                                                             
27/02/2010 14:21:17 XKEYBOARD: number of keysyms per keycode 6 is greater       
27/02/2010 14:21:17   than 4 and 212 keysyms are mapped above 4.               
27/02/2010 14:21:17   Automatically switching to -xkb mode.                     
27/02/2010 14:21:17   If this makes the key mapping worse you can               
27/02/2010 14:21:17   disable it with the "-noxkb" option.                     
27/02/2010 14:21:17   Also, remember "-remap DEAD" for accenting characters.   
27/02/2010 14:21:17 X FBPM extension not supported.                             
27/02/2010 14:21:17 X display is capable of DPMS.                               
27/02/2010 14:21:17 --------------------------------------------------------   
27/02/2010 14:21:17                                                             
27/02/2010 14:21:17 Default visual ID: 0x21                                     
27/02/2010 14:21:17 Read initial data from X display into framebuffer.         
27/02/2010 14:21:17 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120       
27/02/2010 14:21:17                                                             
27/02/2010 14:21:17 X display :0.0 is 32bpp depth=24 true color                 
27/02/2010 14:21:17                                                             
27/02/2010 14:21:17 Listening for VNC connections on TCP port 5900             
27/02/2010 14:21:17 ListenOnTCPPort: Адрес уже используется                     
27/02/2010 14:21:17                                                             
27/02/2010 14:21:17 Xinerama is present and active (e.g. multi-head).           
27/02/2010 14:21:17 fb read rate: 202 MB/sec                                   
27/02/2010 14:21:17 fast read: reset wait  ms to: 10                           
27/02/2010 14:21:17 fast read: reset defer ms to: 15                           
27/02/2010 14:21:17 Error: could not obtain listening port.                     
27/02/2010 14:21:17 deleted 40 tile_row polling images.                         
27/02/2010 14:21:17 passing arg to libvncserver: -rfbport                       
27/02/2010 14:21:17 passing arg to libvncserver: 5900                           
27/02/2010 14:21:17 x11vnc version: 0.9.4 lastmod: 2008-06-24                   
27/02/2010 14:21:17 Using X display :0.0     

и это повторяется пока не остановишь....

Оффлайн kon-dv

  • Завсегдатай
  • *
  • Сообщений: 722
    • Заметки учителя
    • Email
Бранч какой?
Морфиус на меня обиделся...

Оффлайн dormidont3

  • Завсегдатай
  • *
  • Сообщений: 703
    • ФотоШоу
    • Email
Не знаю что это... Как посмотреть?

Оффлайн dormidont3

  • Завсегдатай
  • *
  • Сообщений: 703
    • ФотоШоу
    • Email
Мой комп altlinux школьный мастер 5.0.1
Детские комп altlinux школьный лёгкий 5.0.1

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 19 908
    • Домашняя страница
    • Email
Не знаю что это... Как посмотреть?
cat /etc/redhat-release
Андрей Черепанов (cas@)

Оффлайн dormidont3

  • Завсегдатай
  • *
  • Сообщений: 703
    • ФотоШоу
    • Email
А, дак это то я написал в предыдущем сообщении
ALT Linux 5.0.1 School Master

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 19 908
    • Домашняя страница
    • Email
Тогда бранч p5
Андрей Черепанов (cas@)

Оффлайн dormidont3

  • Завсегдатай
  • *
  • Сообщений: 703
    • ФотоШоу
    • Email
Хорошо, запомню, а дальше то что с этим делать? Потому что проблема то не в том как определить бранч, а в том что выдаёт прога при запуске и как сделать так, что бы оа видела другие компы...

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 246
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
Вот смотрю, как всё тут устроено.
1. Пользователь-учитель, похоже должен быть членом группы italcmaster, запускать надо не от root, а от этого пользователя (о чём первое сообщение).
2. Второе сообщение, то-же говорит о параметрах xorg. Приведите ссылку на инструкцию.