Re: turning off computer
>>>>>>>> On Wed, 5 Mar 1997,, Britton wrote:
Britton> I admit I don't remember how the bit codes work (especially
Britton> the suid bit) but it looks like you are trying to create a
Britton> suid shell script. This isn't allowed under linux anymore
Britton> (or System V, I think) because it caused too many security
Britton> problems. Forgive me if I'm wrong.
Britton>
Britton> I like six eggs when starting on a journey. Fried - not
Britton> poached. And mind you don't break 'em. I won't eat a broken
Britton> egg. -- Thorin Oakenshield
Yes, Yes, Yes, It's my stupid mistake, but that doesn't metter, any
other programming language will fit - c, perl (?), tcl, fortran,
pascal, ada, basic(as if it is a programming language), assembly if
you like :-).
Super though sound more like it, create group named shutdown (or
whatever) and add the people you want to have permissions to
shutdown the machine to the above mentioned group.
Add this to your /etc/super.tab:
-----------------------------
shutdown::"init 0" \
:shutdown uid=root gid=root
-----------------------------
then you can run "super shutdown" and it should work.
Bilbo Beggins. (did I spelled it right?)
-----------------------------------------------------------
Boris D. Beletsky borik@debian.org
Network Administrator borik@cs.huji.ac.il
Institute of Computer Science, borik@isracom.co.il
Hebrew University Jerusalem home: +972 2 6411880
borik
-----------------------------------------------------------
Boris D. Beletsky borik@debian.org
Network Administrator borik@cs.huji.ac.il
Institute of Computer Science, borik@isracom.co.il
Hebrew University Jerusalem home: +972 2 6411880
Received: (qmail 20745 invoked by uid 888); 6 Mar 1997 03:00:05 -0000
Delivered-To: debian-lists--user@master.debian.org
Received: (qmail 20743 invoked from network); 6 Mar 1997 03:00:03 -0000
Received: from dial-8-1.slip.huji.ac.il (HELO sim.dot.org.il) (104@128.139.9.71)
by master.debian.org with SMTP; 6 Mar 1997 03:00:00 -0000
Received: (qmail 14788 invoked by uid 1000); 5 Mar 1997 01:03:03 -0000
Date: Wed, 5 Mar 1997 03:03:02 +0200 (IST)
From: "Boris D. Beletsky" <borik@isracom.co.il>
Sender: borik@sim.dot.org.il
Reply-To: "Boris D. Beletsky" <borik@isracom.co.il>
To: Gabriel Marrufo Acosta <94080264@labna.itmerida.mx>
cc: rmcgin@i-connect.net, debian-lists--user@master.debian.org
Subject: Re: unsubscribe
In-Reply-To: <Pine.A32.3.93.970305203723.39336A-100000@labna.itmerida.mx>
Message-ID: <Pine.LNX.3.95.970305030204.14651B-100000@sim.dot.org.il>
Priority: non-urgent
Importance: low
Mailer: Pine 3.95 (Debian GNU/Linux)
X-Mailer: Pine 3.95 (Debian GNU/Linux)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
>>>>>>>> On Wed, 5 Mar 1997,, Gabriel wrote:
Gabriel>
Gabriel> oye ya deja de estar jodiendo gente!! no se que se traen yo
Gabriel> no me he suscrito a nada porfavor diganme que esta pasando
Gabriel>
Gabriel> espero que me lo escriban en espaniol!!! what up???
Gabriel>
Gabriel> written in spanish!!
Kto nibud' mne mojet raskazat' pochemu ya ne znayu ispanskogo?
written in russian!!!
borik
-----------------------------------------------------------
Boris D. Beletsky borik@debian.org
Network Administrator borik@cs.huji.ac.il
Institute of Computer Science, borik@isracom.co.il
Hebrew University Jerusalem home: +972 2 6411880
Reply to: