Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2000 12:34:03 -0400
From:      media@ct1.nai.net
To:        FreeBSD questions <freebsd-questions@FreeBSD.ORG>
Subject:   fortune stopped working on login
Message-ID:  <v0313030db61344a8f97c@[209.150.35.196]>

next in thread | raw e-mail | index | archive | help
I am running 3.4R on a 133/586.  Neither root nor user runs fortune at
login, but they did until now.  I know this isn't a major problem, but I am
trying to learn as much as I can about my system.  I haven't edited my
.login files.  This is what it says in my .login for root:

[-x /usr/games/fortune ] && /usr/games/fortune

It says in my login as user:

[-x /usr/games/fortune ] && /usr/games/fortune -s

From the root prompt:

# fortune
fortune: not found

From the user prompt, the command fortune works (ie. it generates a quote).
This seems true for all games, eg. hangman will run as user, but won't run
as root.  I've looked at dm.conf and read the man page for dm.  However, I
cannot figure out _how_ root would have less permissions (although I can
see _why_).

Any ideas??







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




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