Re: Very general shutdown question

2005-02-08 Thread Ned Harrison
On Monday 07 February 2005 03:28 am, you wrote: On Sunday 06 February 2005 11:46 am, Ned Harrison wrote: I run FreeBSD 5.3 on my home PC in a stand alone machine as a desktop. Is it possible to set it up so an ordinary user can shut the system? I've created a couple of accounts that are

Re: Very general shutdown question

2005-02-07 Thread Dick Davies
* Steven [EMAIL PROTECTED] [0203 23:03]: Hello Ned, you can add the user to the operator group. it is possible to run shutdown then (but not halt etc). Be caneful of that, I think operator has other privileges too (can read from any disk for starters). You could also create a shutdown

Re: Very general shutdown question

2005-02-07 Thread James Alexander Cook
On Mon, Feb 07, 2005 at 11:49:22AM +, Dick Davies wrote: * Steven [EMAIL PROTECTED] [0203 23:03]: Hello Ned, you can add the user to the operator group. it is possible to run shutdown then (but not halt etc). Be caneful of that, I think operator has other privileges too (can

Re: Very general shutdown question

2005-02-07 Thread Lowell Gilbert
Anish Mistry [EMAIL PROTECTED] writes: On Sunday 06 February 2005 11:46 am, Ned Harrison wrote: I run FreeBSD 5.3 on my home PC in a stand alone machine as a desktop. Is it possible to set it up so an ordinary user can shut the system? I've created a couple of accounts that are not in

Re: Very general shutdown question

2005-02-07 Thread Anthony Philipp
Date: Mon, 7 Feb 2005 11:49:22 + From: Dick Davies [EMAIL PROTECTED] Subject: Re: Very general shutdown question To: FreeBSD Questions freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii * Steven [EMAIL PROTECTED] [0203 23:03

Re: Very general shutdown question

2005-02-07 Thread Tabor Kelly
Well thanks, too bad I was planning on using those to make my backup jobs easier. Anyway, here is a quick C program to accomplish the same thing: /* main.c */ #include unistd.h #include stdlib.h int main(int argc, char *argv[]) { extern char **environ; execve(/sbin/halt, argv, environ); return

Very general shutdown question

2005-02-06 Thread Ned Harrison
I run FreeBSD 5.3 on my home PC in a stand alone machine as a desktop. Is it possible to set it up so an ordinary user can shut the system? I've created a couple of accounts that are not in the wheel group so I can give friends and house guests the chance to play on a non-Microsoft system.

Re: Very general shutdown question

2005-02-06 Thread Steven
Hello Ned, you can add the user to the operator group. it is possible to run shutdown then (but not halt etc). You could also create a shutdown user with a login shell pointing to a shutdown script. Kind regards Steven Ned Harrison wrote: I run FreeBSD 5.3 on my home PC in a stand alone

Re: Very general shutdown question

2005-02-06 Thread Skylar Thompson
On Sun, Feb 06, 2005 at 04:46:26PM +, Ned Harrison wrote: I run FreeBSD 5.3 on my home PC in a stand alone machine as a desktop. Is it possible to set it up so an ordinary user can shut the system? I've created a couple of accounts that are not in the wheel group so I can give

Re: Very general shutdown question

2005-02-06 Thread Anish Mistry
On Sunday 06 February 2005 11:46 am, Ned Harrison wrote: I run FreeBSD 5.3 on my home PC in a stand alone machine as a desktop. Is it possible to set it up so an ordinary user can shut the system? I've created a couple of accounts that are not in the wheel group so I can give friends and

Re: Very general shutdown question

2005-02-06 Thread Tabor Kelly
Ned Harrison wrote: I run FreeBSD 5.3 on my home PC in a stand alone machine as a desktop. Is it possible to set it up so an ordinary user can shut the system? I've created a couple of accounts that are not in the wheel group so I can give friends and house guests the chance to play on a