[ Sorry, I missed sending this to the list the first time. If you're
running gnus with the delete-duplicates feature enable, you might
not notice. /Niels ]
Thayne Harbaugh <[EMAIL PROTECTED]> writes:
> lshd does not appear to log who uses it to log in nor does
> it seem to show anyone logged in using the w or who command.
There is some code to do this in server_session.c, written by Ray. It
is currently commented out, because I don't quite understand how these
things are supposed to work.
lshd ought to log a message when a user is authenticated successfully.
> Another thing is that it doesn't seem to be configureable
> to restrict administrative logins, zero length passwords,
> or various other bad practices.
In general, my plan is to create some separate "user-database"
abstraction that should take care of things like these. For these
specific points:
Restricting administrative logins (I assume you mean that root should
be refused login; to login you have to log in as a user, then su to
root. And if you have a wheel group, the user would have to be a
member there) seems like a reasonable feature to add. Perhaps it
should even be the default.
As for zero-length passwords, I'm not so sure. Do you mean
password-les accounts (empty passwd field in /etc/passwd or
/etc/shadow), or accounts with the empty string as password?
In the former case, I think lshd should already deny access. Is this
reasonable? In the latter case, that might well be a problem, but I
don't think lshd is the right tool to address it.
> What are the plans to address these characteristics/features?
It's not on the top of the TODO list. To fix it, please help to (i)
specify what behaviour is needed, and (ii) document how to do it. I
think this list is a reasonable place to figure out the details; i.e.
what the Right Thing is, what default behaviour is reasonable and
which things we need options for.
/Niels