Hello Alexey, On Mon, Nov 04, 2002 at 09:59:30PM +0300, Alexey I. Froloff wrote: > > On Mon, Nov 04, 2002 at 03:16:05PM +0300, Dmitry V. Levin wrote: > > On Mon, Nov 04, 2002 at 01:55:49PM +0200, Michael Shigorin wrote: > > > > http://www.lrn.ru/index.php?module=gallery&action=thread&imgid=817 > > > > Может стОит такое в системные xinitrc прописать? > > > Definitely. > > Можно запускать такую программу непосредственно перед WM. > > Volunteers? > Что-то типа: > > === Cut === > #! /bin/sh > > if [ `id -u` -eq 0 ]; then > xmessage -buttons Continue:0,Exit:2 -default Exit "You are trying to run X as root > > This is difeniteley BAD idea, > since you can damage something > and nothing will stop you. > > Click 'Continue' if you really > know what you are doung. > Otherwise, click 'Exit' and read > your fine mnual about creating > unpriviledged user accounts." > > if [ $? -eq 0 ]; then > exit 0 > else > exit 1 > fi > fi > exit 0 > === Cut === прошу прощения: s/difeniteley/definitely a/ s/mnual/manual/ s/unpriviledged/unprivileged/ ну и небольшие разъяснения: s/damage something/damage something in your system/ -- Stay tuned, MhZ JID: mookid@jabber.org ___________ The following statement is not true. The previous statement is true.