DragonFly BSD
DragonFly users List (threaded) for 2006-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Problem with ssh connection


From: "Jeremy C. Reed" <reed@xxxxxxxxxxxxx>
Date: Wed, 25 Oct 2006 13:10:08 -0500 (CDT)

> I don't have his answer, but login can stop root logins.
> 
> See ttys(5) and the getttyent(3) manual pages.
> 
> If the entry has "insecure" then the ty_status gains TTY_SECURE. And this 

I worded that wrong. If it has "secure" it gains TTY_SECURE. (If 
"insecure" it turns off the TTY_SECURE bit.) This is in 
src/lib/libc/gen/getttyent.c.

> is checked in the rootterm() function in src/usr.bin/login/login.c by 
> using getttynam(3).



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]