From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 5 Nov 2002 01:15:08 +0300 From: Mikhail Zabaluev To: ALT Devel discussion list Message-ID: <20021104221508.GC2692@mhz.mikhail.zabaluev.name> Mail-Followup-To: Mikhail Zabaluev , ALT Devel discussion list References: <20021101073209.GK18298@hell.immo> <20021104115549.GM17548@osdn.org.ua> <20021104121605.GE1648@basalt.office.altlinux.ru> <20021104185930.GA14713@hell.devel.altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c3bfwLpm8qysLVxt" Content-Disposition: inline In-Reply-To: <20021104185930.GA14713@hell.devel.altlinux.ru> User-Agent: Mutt/1.4i Subject: [devel] Re: [sisyphus] Re: root warning Sender: devel-admin@altlinux.ru Errors-To: devel-admin@altlinux.ru X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: devel@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: --c3bfwLpm8qysLVxt Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit 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. --c3bfwLpm8qysLVxt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9xvFsTKqCuNPJlLgRAstwAJ0UHNhezEZxRyw54qcWLVd7+m/l1QCfQbQY 7L2VG3h6iK07VQbdnjgqSok= =6+mU -----END PGP SIGNATURE----- --c3bfwLpm8qysLVxt--