Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2012 23:48:27 +0200
From:      Polytropon <freebsd@edvax.de>
To:        tak.official@gmail.com
Cc:        questions@freebsd.org
Subject:   Re: define a default username for logging in
Message-ID:  <20120418234827.7ff67cb2.freebsd@edvax.de>
In-Reply-To: <CAPkyVLwEDq18KM947RECFkDcec8SbLdKiTh9JQuWLFETWSEacw@mail.gmail.com>
References:  <CAPkyVLy2W_b2rbeaf844=Jb3BE8CaxO889M6-Pay_MCtQCXOAA@mail.gmail.com> <20120407100947.cd05d526.freebsd@edvax.de> <CAPkyVLwEDq18KM947RECFkDcec8SbLdKiTh9JQuWLFETWSEacw@mail.gmail.com>

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).



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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20120418234827.7ff67cb2.freebsd>