Displaying 1 result from an estimated 1 matches for "etc_default_login_filename".
2001 Mar 29
3
Patches for OpenSSH 2.5.2p2: evaluate /etc/default/login, makefiles manpages
...t_value(char **env, const char *name)
+{
+ u_int i, namelen;
+
+ namelen = strlen(name);
+ for (i = 0; env[i]; i++)
+ if (strncmp(env[i], name, namelen) == 0 && env[i][namelen] == '=')
+ break;
+ if (env[i])
+ return &env[i][namelen + 1];
+ else
+ return NULL;
+}
+
+#define ETC_DEFAULT_LOGIN_FILENAME "/etc/default/login"
+/*
+ * Sun Solaris uses the file ETC_DEFAULT_LOGIN_FILENAME
+ * to specify some flags and environment variables for the login process.
+ * This file consist of empty lines, comments (line starts with '#')
+ * and assignments of the form name=value. No other...