Displaying 2 results from an estimated 2 matches for "alogin".
Did you mean:
login
2000 Jul 09
0
OpenSSH 2.1.1p2: /etc/nologin handling and related stuff
...ions.use_login && command != NULL)
options.use_login = 0;
-#ifndef USE_PAM /* pam_nologin handles this */
f = fopen("/etc/nologin", "r");
if (f) {
+ char notallowed=1;
/* /etc/nologin exists. Print its contents and exit. */
+ fprintf(stderr, "\aLogins are currently disallowed:\n\n");
while (fgets(buf, sizeof(buf), f))
fputs(buf, stderr);
+ fprintf(stderr, "\n");
fclose(f);
- if (pw->pw_uid != 0)
+#ifdef NOLOGIN_ALLOW_FILE
+ if((f=fopen(NOLOGIN_ALLOW_FILE, "r"))) {
+ char *tmpend;
+ while (fgets...
2008 Feb 13
7
Good RoR design example.
Hi all,
I was wondering if anyone could point me to a good (ideally simple)
example of RoR design.
I am rather new to this subject, and I am playing with
https://rubyforge.org/projects/mystic/ as an simple example to
understand how stuff works, but I am not entirely convinced that it
has been properly written in terms of locating html code, javascript
code, etc. (e.g. There is a fragment of html