Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2007 17:36:11 -0400
From:      "Tamouh H." <hakmi@rogers.com>
To:        <gs_stoller@juno.com>, <robin@reportlab.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: temporary su login
Message-ID:  <106801c7f0cd$f202a510$6900a8c0@tamouh>
In-Reply-To: <20070906.165704.14591.0@webmail18.dca.untd.com>
References:  <20070906.165704.14591.0@webmail18.dca.untd.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>=20
> Robin Becker wrote:
> > My collocation supplier is about to move our FreeBSD box and wants=20
> > some way to shut it down cleanly. Is there a simple way to allow a=20
> > non-root user to have shutdown rights without just giving them the=20
> > world. At present I don't even allow login via ssh on that=20
> box ie it's=20
> > purely key based.
> 	What I would do is develop a script (owned by  root )=20
> and callable by everybody which then checks the  user-id  of=20
> its caller, and if it is an acceptable one, the script will=20
> issue a warning (to wall) and then shutdown the system.
>=20

why not ask them to do CTRL+ALT+DEL which will reboot the server cleanly =
and once it hit does the intial reset, turn it off.

Tamouh





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?106801c7f0cd$f202a510$6900a8c0>