Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 21:15:35 +0100
From:      Hanspeter Roth <hampi@rootshell.be>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: login.conf tc=default
Message-ID:  <20030120201535.GA1613@gicco.homeip.net>
In-Reply-To: <035101c2c097$fed43530$fb00a8c0@thebe>
References:  <20030117214342.GA1046@gicco.homeip.net> <1042840641.328.57.camel@gyros> <20030118140043.GB477@gicco.homeip.net> <035101c2c097$fed43530$fb00a8c0@thebe>

next in thread | previous in thread | raw e-mail | index | archive | help
  On Jan 20 at 07:24, Aaron Burke spoke:

> 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

Yes, exactly.

> 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.
> 
> dustman:*:1011:1011:dustman:0:0:Dustin D Brand:/home/dustman:/usr/local/bin/bash
                      _______

Aha. I didn't realize that a `login class' is required. 
I'm now using the login class in login.conf rather than the login name.
And this works!

Thank you!

-Hanspeter

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?20030120201535.GA1613>