[00:03:45] best is now xa
[00:04:37] aki is now away
[00:11:05] levsha is now online
[00:16:53] singularity is now online
[00:18:28] gigimon is now online
[00:24:09] gigimon is now away
[00:24:37] aki is now xa
[00:30:22] gigimon is now online
[00:35:37] Typhon is now away
[00:36:15] Typhon is now online
[00:37:25] deisler is now offline
[00:37:34] remo is now offline
[00:38:17] deisler is now away
[00:40:48] levsha is now away
[00:42:04] singularity is now offline
[00:42:58] singularity is now online
[00:43:55] levsha is now online
[00:44:07] remo is now away
[00:44:08] fuzzy is now away
[00:51:48] best is now offline
[00:53:03] Typhon is now away
[00:53:44] remo is now offline
[00:54:23] aki is now online
[00:55:56] levsha is now offline
[00:57:10] best is now xa
[01:00:11] Typhon is now away
[01:01:03] Typhon is now away
[01:01:07] Typhon is now online
[01:01:14] огыешсук is now online
[01:02:07] remo is now away
[01:02:07] fuzzy is now away
[01:05:40] Typhon is now offline
[01:10:27] aki is now offline
[01:10:27] огыешсук is now online
[01:11:18] AlexZenon is now xa
[01:16:49] emese is now offline
[01:16:49] best is now offline
[01:16:49] fuzzy is now away
[01:21:55] ambush is now offline
[01:23:54] webninja@jabber.ru is now online
[01:24:26] webninja@jabber.ru: пацаны
[01:24:37] webninja@jabber.ru: короче вопрос такой
[01:24:38] webninja@jabber.ru: есть бд
[01:24:42] webninja@jabber.ru: есть джанга
[01:25:01] webninja@jabber.ru: хотелось бы БД забивать тестовыми данными, есть чо для таких случаев?
[01:25:56] gigimon: фикстуры
[01:26:17] best is now xa
[01:28:03] webninja@jabber.ru: фикстуры еще создать надо
[01:28:07] огыешсук is now offline
[01:30:39] webninja@jabber.ru: я думаю нужно что-то что бы читало модели смотрела филды (ну и например можно было для каждой модели конфиг задать) и в зависимости от филд тайп туда запихивала бы что-то.
[01:34:54] bliznezz is now away
[01:34:54] bliznezz is now online
[01:38:39] gigimon is now away
[01:39:11] gigimon is now online
[01:39:45] singularity is now online
[01:39:56] bliznezz is now away
[01:39:56] bliznezz is now away
[01:41:17] gigimon is now offline
[01:43:25] levsha is now online
[01:51:43] fuzzy is now away
[01:57:25] levsha is now offline
[02:03:54] webninja@jabber.ru is now offline
[02:03:57] webninja@jabber.ru is now online
[02:11:19] огыешсук is now online
[02:18:23] singularity is now online
[02:18:51] fuzzy is now online
[02:28:16] fuzzy is now online
[02:28:26] огыешсук is now offline
[02:36:03] singularity is now offline
[02:39:02] fuzzy is now online
[02:55:18] dicos is now online
[02:58:40] dicos is now offline
[03:11:12] fuzzy is now online
[03:12:03] fuzzy is now online
[03:12:04] огыешсук is now online
[03:12:37] AlexZenon is now offline
[03:22:03] fuzzy is now online
[03:30:07] огыешсук is now offline
[03:38:55] fuzzy is now online
[03:49:01] fuzzy is now online
[03:51:23] webninja@jabber.ru is now away
[04:01:39] webninja@jabber.ru is now offline
[04:03:00] Сволота is now away
[04:07:39] remo is now offline
[04:07:41] remo is now away
[04:12:52] fuzzy is now online
[04:13:00] Сволота is now xa
[04:13:03] огыешсук is now online
[04:23:28] Сволота is now online
[04:28:12] deisler is now offline
[04:28:32] Сволота is now away
[04:30:18] огыешсук is now offline
[04:34:30] remo is now offline
[04:37:30] fuzzy is now online
[04:38:32] Сволота is now xa
[04:59:14] Сволота is now online
[05:00:28] fuzzy is now online
[05:06:16] Сволота is now away
[05:08:12] fuzzy is now away
[05:12:39] fuzzy is now away
[05:13:41] огыешсук is now online
[05:16:16] Сволота is now xa
[05:18:13] fuzzy is now away
[05:23:37] fuzzy is now away
[05:28:22] Сволота is now online
[05:30:40] огыешсук is now offline
[05:36:12] Сволота is now away
[05:37:44] Сволота is now online
[05:50:12] Сволота is now away
[05:54:48] Сволота is now online
[06:03:42] Сволота is now away
[06:03:56] dicos is now online
[06:05:52] Сволота is now online
[06:10:52] Сволота is now away
[06:11:32] Сволота is now online
[06:14:27] огыешсук is now online
[06:30:00] Сволота is now away
[06:30:39] dicos is now offline
[06:30:56] dicos is now online
[06:31:44] огыешсук is now offline
[06:40:00] Сволота is now xa
[07:10:15] Сволота is now xa
[07:10:15] dicos is now online
[07:10:15] blw0rm is now dnd
[07:10:15] best is now xa
[07:10:15] bliznezz is now away
[07:10:15] ds.tihonov is now дома! :)
[07:10:15] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[07:10:15] fuzzy is now away
[07:10:15] magic_pony is now online
[07:15:21] огыешсук is now online
[07:32:07] огыешсук is now offline
[07:48:03] dicos is now away
[07:48:04] dicos is now away
[07:53:03] dicos is now away
[07:53:04] dicos is now online
[08:11:13] ambush is now online
[08:14:05] fuzzy is now away
[08:15:52] огыешсук is now online
[08:27:32] Сволота is now online
[08:28:50] ambush is now offline
[08:28:53] ambush is now online
[08:28:56] ambush is now online
[08:28:57] ambush is now online
[08:32:06] ambush is now offline
[08:32:07] ambush is now online
[08:32:32] огыешсук is now offline
[08:32:36] Сволота is now away
[08:33:35] огыешсук is now online
[08:42:10] ambush is now away
[08:42:36] Сволота is now xa
[08:42:53] ambush is now online
[08:43:49] dicos is now away
[08:43:50] dicos is now away
[08:50:51] огыешсук is now offline
[08:57:46] ambush is now away
[09:01:15] ambush is now online
[09:05:52] dicos is now away
[09:05:53] dicos is now online
[20:47:50] blw0rm is now dnd
[20:47:50] emese is now online
[20:47:50] best is now xa
[20:47:50] levsha is now online
[20:47:50] ambush is now online
[20:47:50] Сволота is now online
[20:47:50] deisler is now away
[20:47:50] bliznezz is now away
[20:47:50] fuzzy is now online
[20:47:50] aki is now online
[20:47:50] Typhon is now online
[20:47:50] AlexZenon is now online
[20:47:50] Tony is now online
[20:47:50] nmk is now online
[20:47:50] singularity is now online
[20:47:50] огыешсук is now online
[20:47:50] slav0nic is now online
[20:47:50] magic_pony is now online
[20:47:50] remo is now away
[20:47:50] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[20:48:47] ambush is now away
[20:49:34] singularity: а что делает ssh-copy-id ?
[20:49:38] singularity: вот сделал sudo cp /root/.ssh/authorized_keys /home/web/.ssh
[20:50:06] singularity: и когда авторизуюсь от имени веб просит все равно пароль (
[20:51:41] fuzzy: значит ты что-то не то сделал
[20:51:50] slav0nic is now offline
[20:51:55] levsha: права и овнера еще поправить
[20:52:29] fuzzy: singularity: ты что-то не то копируешь, или не туда логинишься
[20:52:53] singularity: логинусб точно туда, копирую вроде то
[20:53:07] fuzzy: каким юзером логинишься?
[20:53:18] singularity: web
[20:53:19] fuzzy: нуэ..
[20:53:38] fuzzy: а он логинится туда, где /root/.ssh/authorized_keys без пароля?
[20:53:50] singularity: рутом да
[20:54:15] fuzzy: тогда права, да, как levsha сказал
[20:54:19] levsha: ау! chown -R web: /home/web/.ssh , chown -R go-w /home/web/.ssh
[20:54:30] singularity: levsha: я сделал
[20:54:36] levsha: ой, второе chmod
[20:54:39] aki is now away
[20:54:44] aki is now online
[20:54:54] levsha: покажи ls -al /home/web/.ssh
[20:55:44] levsha: и egrep '^Allow' /etc/ssh/sshd_config
[20:56:05] singularity: ls -al /home/web/.ssh
total 12
drwx------ 2 web web 4096 лис 5 16:40 .
drwxrwxr-x 5 web web 4096 лис 5 16:40 ..
-rw------- 1 web web 799 лис 5 16:40 authorized_keys
[20:56:21] levsha: так работать не будет
[20:56:52] levsha: authorized_keys будет игнорироваться, если хоть где-то в пути к нему есть права на запись для кого-то еще, кроме овнера - несекюрно
[20:58:47] ambush is now xa
[21:00:02] singularity: мне надо на /home/web сменить права ? или на authorized_keys ?
[21:01:40] levsha: c /home/web убрать права на запись для группы
[21:01:43] ambush is now online
[21:04:49] singularity: chmod go-w /home/web/
[21:04:58] singularity: ls -al /home/web/.ssh
total 12
drwxrwxrwx 2 web web 4096 лис 5 16:40 .
drwxr-xr-x 5 web web 4096 лис 5 16:40 ..
-rwxrwxrwx 1 web web 799 лис 5 16:40 authorized_keys
[21:05:05] singularity: просит пароль
[21:05:18] singularity: а минуту
[21:05:38] levsha: не надо показывать одну команду, а выполнять другую
[21:06:06] levsha: всегда, всегда ВСЕГДА нужно копипастить и команду, и вывод, как оно есть
[21:06:18] singularity: а я как ?
[21:06:39] levsha: показал chmod go-w /home/web/ , а сам выполнил chmod go+w /home/web/
[21:06:55] singularity: $ chmod u-w /home/web/
web@serv:/home$ ls -al /home/web/.ssh
total 12
drwxrwxrwx 2 web web 4096 лис 5 16:40 .
dr-xr-xr-x 5 web web 4096 лис 5 16:40 ..
-rwxrwxrwx 1 web web 799 лис 5 16:40 authorized_keys
web@385403:/home$
[21:07:06] levsha: а, не, еще одну команду выполнил, о котором нам не сказал
[21:07:28] levsha: зачем ты сделал chmod a+rwx .ssh ?
[21:08:31] levsha: /me вообще страшно, когда видит человека с правами рута и без понимания прав на файловой системе
[21:08:40] singularity: :-(
[21:08:40] levsha: они вечно поразвешивают таких прав ...
[21:08:50] nmk is now offline
[21:09:30] fuzzy is now online
[21:09:35] levsha: singularity: chmod -Rgo-w /home/web и больше НИЧЕГО НЕ ДЕЛАТЬ
[21:09:56] levsha: ой, там проблем потерялся: chmod -R go-w /home/web
[21:11:28] fuzzy: после того, как вышло "dr-xr-xr-x 5 web web 4096 лис 5 16:40 .." ещё бы не плохо chmod u+w /home/web
[21:11:56] fuzzy: хотя без этого - безопаснее, да
[21:13:13] levsha: ну ему безопаснее было бы вообще закрыть вход рутом для ссебя ...
[21:14:16] singularity: levsha: я так и делаю
[21:14:59] singularity: или ты имеешь в виду вообще не пользоваться компьютером ?
[21:15:40] levsha: вообще запретить себе права рута. С таким уровнем знаний и с таким выполнением команд под рутом это будет безопаснее всего
[21:16:39] ambush is now away
[21:17:38] remo is now offline
[21:19:39] ambush is now online
[21:22:34] singularity: levsha: спасибо
[21:24:39] ambush is now away
[21:24:57] ambush is now online
[21:26:29] Typhon is now online
[21:26:30] Typhon is now away
[21:30:58] Typhon is now away
[21:31:02] Typhon is now online
[21:37:55] Typhon is now away
[21:38:29] Typhon is now online
[21:41:07] fuzzy is now away
[21:43:13] ambush is now away
[21:43:37] fuzzy is now online
[21:44:25] singularity is now away
[21:44:25] singularity is now away
[21:47:43] singularity is now away
[21:47:43] singularity is now online
[21:50:00] aki is now away
[21:53:13] ambush is now xa
[21:55:19] Typhon is now away
[21:56:05] fuzzy is now online
[22:03:21] aki is now online
[22:03:29] remo is now away
[22:05:39] ambush is now online
[22:06:08] Typhon is now away
[22:08:34] levsha is now offline
[22:08:34] levsha is now online
[22:09:17] Typhon is now away
[22:09:20] Typhon is now online
[22:13:21] aki is now away
[22:23:15] Сволота is now away
[22:23:59] ambush is now away
[22:26:15] ambush is now online
[22:26:26] fuzzy is now away
[22:27:00] aki is now online
[22:28:15] Сволота is now online
[22:41:33] fuzzy is now away
[22:41:47] fuzzy is now away
[22:42:03] огыешсук is now offline
[22:43:45] ambush is now away
[22:47:59] levsha is now offline
[22:48:05] ambush is now online
[22:50:59] Сволота is now away
[22:51:06] Typhon is now away
[22:51:47] fuzzy is now away
[22:55:53] fuzzy is now away
[22:55:58] fuzzy is now online
[22:56:01] Сволота is now online
[22:57:27] ambush is now away
[23:00:30] singularity is now offline
[23:01:07] Typhon is now away
[23:01:09] Typhon is now away
[23:01:11] Typhon is now online
[23:02:11] Typhon is now offline
[23:02:55] Сволота is now away
[23:06:13] deisler is now away
[23:07:27] ambush is now xa
[23:07:55] Сволота is now online
[23:13:03] Сволота is now away
[23:16:32] Сволота is now online
[23:18:31] ambush is now online
[23:21:33] Сволота is now away
[23:24:23] Сволота is now online
[23:26:24] ds.tihonov is now дома! :)
[23:29:26] Сволота is now away
[23:31:07] Сволота is now online
[23:34:33] Tony is now away
[23:38:43] fuzzy is now online
[23:38:43] Tony is now online
[23:38:43] Сволота is now away
[23:38:43] Сволота is now online