LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 03-14-2005, 06:46 PM   #1
mullog
Member
 
Registered: May 2004
Posts: 61

Rep: Reputation: 15
Sentences at login Openbsd


Hi,

I recently installed Openbsd and after creating and logging in to a new user , I noticied a different sentence(like quotes) appears.

What are they?What's their purpose? And how do enable/disable it?
 
Old 03-14-2005, 07:51 PM   #2
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
Sounds like the motd.

NAME
motd -- file containing message(s) of the day

DESCRIPTION
The file /etc/motd is normally displayed by login(1) after a user has
logged in but before the shell is run. It is generally used for impor-
tant system-wide announcements. During system startup, a line containing
the kernel version string is prepended to this file.

Individual users may suppress the display of this file by creating a file
named ``.hushlogin'' in their home directories or through login.conf(5).

FILES
/etc/motd The message of the day.
$HOME/.hushlogin Suppresses output of /etc/motd.

EXAMPLES
FreeBSD 2.1.6.1-RELEASE (GENERIC) #0: Sun Dec 29 03:08:31 PST 1996

/home is full. Please cleanup your directories.

SEE ALSO
login(1), login.conf(5)

FreeBSD 5.3 February 13, 1997 FreeBSD 5.3
~
 
Old 03-15-2005, 08:29 AM   #3
mullog
Member
 
Registered: May 2004
Posts: 61

Original Poster
Rep: Reputation: 15
No, that's not it. It's quotes like "Hollywood is the place where if you don't have [something i don't remeber], you can order it out".

It appeared only in a new user i created.

Any ideas?

Ps:created the user through this command:
useradd -m -b /home/[user] -g 0 [user]
then changed the password and logon with that account.

Here goes the quote "An effectice way to deal with predators is to taste terrible"

After another login:
"Children are unpredictable. You never know what inconsistency they're going to catch next"
--Franklin P. Jones

Last edited by mullog; 03-15-2005 at 08:46 AM.
 
Old 03-15-2005, 08:50 AM   #4
mullog
Member
 
Registered: May 2004
Posts: 61

Original Poster
Rep: Reputation: 15
Found it.
It's a program called fortune.
Now, where do i turn it off and why is it included inthe default set for new users?
 
Old 03-15-2005, 10:23 AM   #5
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: FreeBSD, NetBSD
Posts: 1,446

Rep: Reputation: 46
Edit ~/.profile and ~/.cshrc (depends really on which shell your new user has).

The fortune program is pretty popular and a lot of users like to have it print out a random message at boot. Just a little thing to pick up their mood or whatever. I'm not suprised it is part of the default setup... it's part of the new user files for freebsd, netbsd, and most of the linux versions I have tried as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC and the art of incomplete sentences notsoevil Linux - General 13 04-14-2006 12:08 AM
OpenBSD - Where can i get OpenBSD 3.7 ISO CD -- Please help me b:z Linux - Software 5 04-08-2005 07:09 AM
OpenBSD - Where can i get OpenBSD 3.7 ISO CD -- Please help me b:z Linux - Software 1 04-07-2005 08:46 AM
OpenBSD 3.4 Initial Login Problems TLMS *BSD 4 07-29-2004 06:50 PM
Openbsd Foreseeen *BSD 4 08-16-2003 07:52 PM


All times are GMT -5. The time now is 08:25 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration