Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2012 23:48:27 +0200
From:      Polytropon <>
Subject:   Re: define a default username for logging in
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, 18 Apr 2012 10:56:58 +0430, takCoder wrote:
> Hi again,
> Really Thank You for your tricky advice.. it was a Nice one(and seems to be
> "the Only one"!).. :)

It's not trivial to strip down a multi-user system to a
limited single-user preconfiguration. :-)

> the suggested way seems to work, but i've got a problem:
> how can i apply these settings on pts devices?! i mean, how can i disable
> login on pts devices to continue the rest? do you have any idea??

I didn't find any information in "man pts" (yes, it DOES exist!),
and the terminal entries mentioned in /etc/ttys are not of pts
type, there are only tty[pqrs] and tty[PQRS], no pts<number>.

Another thing to mention is that terminals launched in X will
work using the pts infrastructures. Limiting their use could
affect those.

> i tried the same format in /etc/ttys, but it didn't work..
> i could not find any tips via googling as well.. so.. :)

I assume that this file is not intended to control the
pseudo terminals used in SSH / telnet connections.

> you know, it's not that important to be able to use all 999 enabled pts
> devices on my server! i can abound them if there is a file such as
> /etc/ttys for per pty device configurations..

I've not found a file that does this. Maybe this has more to
do with network configuration (access rights, availability
of connections) than terminals per se...

> looking forward to receive your ideas.

Sadly I can't provide more information, as your intention is
_very_ strange (in terms of what's widely established today
in SU and MU settings).

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>