Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2001 03:25:10 +0100
From:      Nik Clayton <nik@freebsd.org>
To:        Mike Pritchard <mpp@mppsystems.com>
Cc:        Nik Clayton <nik@FreeBSD.ORG>, arch@FreeBSD.ORG
Subject:   Re: [PATCH] Show login(1) how to execute programs at start up
Message-ID:  <20010701032510.B274@canyon.nothing-going-on.org>
In-Reply-To: <20010630081550.B4689@mppsystems.com>; from mpp@mppsystems.com on Sat, Jun 30, 2001 at 08:15:50AM -0500
References:  <20010619195223.E68877@clan.nothing-going-on.org> <20010630081550.B4689@mppsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--H+4ONPRPur6+Ovig
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 30, 2001 at 08:15:50AM -0500, Mike Pritchard wrote:
> On Tue, Jun 19, 2001 at 07:52:23PM +0100, Nik Clayton wrote:
> > I want to make the new 'tips' fortunes the default for new users at
> > system startup.
>=20
> Where is the little "click this box to not see this again" box?  None
> of the fortunes mention how to opt-out of seeing these messages.

I got bored of trying to come up with a nice fancy technical solution
that would please everybody, so I went with the easy option.

At the moment, the functionality is in the share/skel files, so if you
use those when you add new users then your users get fortunes (in
-current, I haven't MFC'd this yet).

Turning it off is as simple as editing .login/.profile.  I'm prepared to
make this a FAQ.  There's been some talk about keying this off the
=2Ehushlogin file, which might be a good idea.
=20
> Many of the tips are very shell specific.  What if the user isn't running
> tsch, but running sh instead? =20

They get a few lines of not particularly useful output.  It's no big
deal.

> I think the tips need to be more generic,
> or for shell specific tips, tell the user how to determine what shell
> they are currently running.

Might be a good idea.  Commit new tips (or replacements) as necessary.

> How non-UNIX are we going on these tips. =20

My criteria has been "Does this provide useful information in a bitesize
format that's relevant to a FreeBSD user?".  I'm pretty happy that the=20
existing ones do.  That's not to say they're perfect, or that they cover
every eventuality, but they're not intended to.  As I say, feel free to
commit replacements as you feel necessary (I know others have).

> And that we tell them how to opt-out of our advice.

FAQ entry?

N
--=20
FreeBSD: The Power to Serve             http://www.freebsd.org/
FreeBSD Documentation Project           http://www.freebsd.org/docproj/

          --- 15B8 3FFC DDB4 34B0 AA5F  94B7 93A8 0764 2C37 E375 ---

--H+4ONPRPur6+Ovig
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjs+igUACgkQk6gHZCw343UxmwCfdz3GCqi13IRbyUf4XAZscbu4
Lh4AoIzJo3bhSFjUXdCbAw15t6WZGsNA
=5u7p
-----END PGP SIGNATURE-----

--H+4ONPRPur6+Ovig--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010701032510.B274>