(forgive outlook express, I too hate its formatting)
----- Original Message -----
From: "Hanspeter Roth" <[EMAIL PROTECTED]>
To: "FreeBSD User Questions List" <[EMAIL PROTECTED]>
Sent: Saturday, January 18, 2003 6:00 AM
Subject: Re: login.conf tc=default
> On Jan 17 at 16:57, Joe Marcus Clarke spoke:
> > On Fri, 2003-01-17 at 16:43, Hanspeter Roth wrote:
> > > Hello,
> > >
> > > I'm trying to setup an alternate welcome file for a specific user.
> > > I have the following entry in login.conf:
> > >
> > > user:\
> > > :welcome=/etc/resolv.conf:\
> > > :tc=default:
> > >
> > > But the user is presented the default /etc/motd at login.
> > > How will he see /etc/resolv.conf?
> > After you modified this, did you run cap_mkdb?
> Well, I failed to notice that this is necessary.
> But also now as I've done it I still get the default /etc/motd.
> Is there something more to consider?
Perhaps there is, I am guessing that you want a custom message for
a specific user. I had to do this for a user named dustman on my
machine. It was as simple as adding the name dustman (also in
login.conf) to the password database file.
I have pasted in two entries from vipw, notice the word dustman
in both of them. One is for user test2, the other for user dustman.
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message