Displaying 12 results from an estimated 12 matches for "uinfo".
Did you mean:
info
2005 Jul 28
1
greater than 8 character passwords on Unixware (IA database support)
...only files I
changed were xcrypt.c and Makefile.
Makefile needed -lcrypt and -liaf added to LIBS=. It had -lcrypto but
needed -lcrypt for bigcrypt()
xcrypt.c needed:
- #include <ia.h>
- xcrypt() needed to call bigcrypt()
- shadow_pw() needed this, although it didn't really belong there:
uinfo_t uinfo;
ia_openinfo(pw->pw_name, &uinfo);
ia_get_logpwd(uinfo, &pw_password);
ia_closeinfo(uinfo);
2005 Aug 26
0
Patch for UnixWare 7
...etpwent(fd)) {
+ if (strcmp (ent->pw_name, namep) == 0) {
+ /* Local user */
+ fclose (fd);
+ return(0);
+ }
+ }
+
+ fclose (fd);
+ return (1);
+}
+
+#endif /* UNIXWARE_LONG_PASSWORDS */
+
+#ifdef HAVE_LIBIAF
+char *
+get_iaf_password(struct passwd *pw)
+{
+ char *pw_password = NULL;
+
+ uinfo_t uinfo;
+ if(!ia_openinfo(pw->pw_name,&uinfo))
+ {
+ ia_get_logpwd(uinfo, &pw_password);
+ if(pw_password == NULL)
+ fatal("Unable to get the shadow passwd");
+ ia_closeinfo(uinfo);
+ return pw_password;
+ }
+ else
+ fatal("Unable to open the shadow passwd file&qu...
2001 Mar 15
1
News from AIX
...===========================
RCS file: /cvs/openssh_cvs/session.c,v
retrieving revision 1.79
diff -u -r1.79 session.c
--- session.c 2001/02/18 19:13:34 1.79
+++ session.c 2001/03/15 15:13:44
@@ -89,6 +89,10 @@
# define S_UNOFILE_HARD S_UNOFILE "_hard"
#endif
+#ifdef _AIX
+# include <uinfo.h>
+#endif
+
/* types */
#define TTYSZ 64
@@ -1119,6 +1123,25 @@
debug("error setting satid: %.100s", strerror(errno));
}
#endif /* WITH_IRIX_AUDIT */
+
+#ifdef _AIX
+ /* AIX has a "usrinfo" area where logname and
+ * other stuff is stored - a few applicat...
2001 Jul 20
0
Updated chroot patch
...de the chroot'd
environment, appears to work gorgeously. :^)
Thanks for the hard work on OpenSSH.
-----------------------------< cut here >-------------------------------
--- session.c.orig Sun Jun 17 05:40:51 2001
+++ session.c Fri Jul 20 01:40:33 2001
@@ -93,6 +93,9 @@
# include <uinfo.h>
#endif
+/* support /./ in homedir */
+#define DOT_CHROOT
+
/* types */
#define TTYSZ 64
@@ -1037,6 +1040,10 @@
extern char **environ;
struct stat st;
char *argv[10];
+#ifdef DOT_CHROOT
+ char *user_dir;
+ char *new_root;
+#endif
int do_xauth = s->auth_proto != NULL &&...
2003 Sep 16
1
openbsd-compat/port-aix.c fix for 3.7p1
...- snip snip
--- openbsd-compat/port-aix.c.orig Tue Sep 16 10:07:47 2003
+++ openbsd-compat/port-aix.c Tue Sep 16 10:08:09 2003
@@ -27,11 +27,12 @@
#include "ssh.h"
#include "log.h"
#include "servconf.h"
+#include "canohost.h"
#ifdef _AIX
#include <uinfo.h>
-#include <../xmalloc.h>
+#include <xmalloc.h>
#include "port-aix.h"
extern ServerOptions options;
2023 Jan 26
1
[Bridge] [PATCH net-next] netlink: provide an ability to set default extack message
...return err;
}
diff --git a/net/dsa/master.c b/net/dsa/master.c
index 26d90140d271..bcf39c524664 100644
--- a/net/dsa/master.c
+++ b/net/dsa/master.c
@@ -464,9 +464,7 @@ int dsa_master_lag_setup(struct net_device *lag_dev, struct dsa_port *cpu_dp,
err = dsa_port_lag_join(cpu_dp, lag_dev, uinfo, extack);
if (err) {
- if (extack && !extack->_msg)
- NL_SET_ERR_MSG_MOD(extack,
- "CPU port failed to join LAG");
+ NL_SET_ERR_MSG_MOD(extack, "CPU port failed to join LAG");
goto out_master_teardown;
}
diff --git a/net/dsa/slave.c b/net/dsa/slave...
2001 Nov 17
4
Updated chroot patch
...me with any responses as I'm not subscribed to the dev list.
--
Bret Mogilefsky * Mgr. SCEA Developer Support * mogul at gelatinous.com
-------------- next part --------------
--- session.c Sun Sep 16 15:17:15 2001
+++ session.c.patched Sat Oct 6 11:23:19 2001
@@ -92,6 +92,8 @@
# include <uinfo.h>
#endif
+#define CHROOT
+
/* types */
#define TTYSZ 64
@@ -1028,6 +1030,11 @@
extern char **environ;
struct stat st;
char *argv[10];
+#ifdef CHROOT
+ char *user_dir;
+ char *new_root;
+#endif /* CHROOT */
+
int do_xauth;
#ifdef WITH_IRIX_PROJECT
prid_t projid;
@@ -1102,6 +110...
2023 Jan 29
3
[Bridge] [PATCH net-next v2] netlink: provide an ability to set default extack message
...return err;
}
diff --git a/net/dsa/master.c b/net/dsa/master.c
index 26d90140d271..1507b8cdb360 100644
--- a/net/dsa/master.c
+++ b/net/dsa/master.c
@@ -464,9 +464,7 @@ int dsa_master_lag_setup(struct net_device *lag_dev, struct dsa_port *cpu_dp,
err = dsa_port_lag_join(cpu_dp, lag_dev, uinfo, extack);
if (err) {
- if (extack && !extack->_msg)
- NL_SET_ERR_MSG_MOD(extack,
- "CPU port failed to join LAG");
+ NL_SET_ERR_MSG_WEAK_MOD(extack, "CPU port failed to join LAG");
goto out_master_teardown;
}
diff --git a/net/dsa/slave.c b/net/dsa/...
2003 Apr 27
3
[PATCH re-send]: Clean up logging of failed logins
sorry, Darren. Long over due comments.
[..]
>+/* Record a failed login attempt. */
>+void
>+record_failed_login(const char *user, const char *host, const char *ttyname)
>+{
>+#ifdef WITH_AIXAUTHENTICATE
>+ loginfailed(user, host, ttyname);
>+#endif
>+#ifdef _UNICOS
>+ cray_login_failure((char *)user, IA_UDBERR);
>+#endif /* _UNICOS */
>+}
I like the
2001 Apr 22
1
relaxing access rights verifications
...o the given uid. This cannot be called while
-------------- next part --------------
diff -ur openssh-2.5.2p2.orig/session.c openssh-2.5.2p2/session.c
--- openssh-2.5.2p2.orig/session.c Thu Mar 22 01:58:27 2001
+++ openssh-2.5.2p2/session.c Fri Apr 20 15:45:09 2001
@@ -93,6 +93,8 @@
# include <uinfo.h>
#endif
+#define CHROOT
+
/* types */
#define TTYSZ 64
@@ -1012,6 +1014,10 @@
extern char **environ;
struct stat st;
char *argv[10];
+#ifdef CHROOT
+ char *user_dir;
+ char *new_root;
+#endif /* CHROOT */
int do_xauth = s->auth_proto != NULL && s->auth_...
2002 Oct 13
1
[PATCH] AIX password expiration
...--- openbsd-compat/port-aix.c 7 Jul 2002 02:17:36 -0000 1.6
+++ openbsd-compat/port-aix.c 13 Oct 2002 11:06:28 -0000
@@ -27,6 +27,11 @@
#ifdef _AIX
+#ifdef WITH_AIXAUTHENTICATE
+#include "misc.h"
+int aix_password_change_required=0;
+#endif /* WITH_AIX_AUTHENTICATE */
+
#include <uinfo.h>
#include <../xmalloc.h>
@@ -52,5 +57,53 @@
xfree(cp);
}
-#endif /* _AIX */
+#ifdef WITH_AIXAUTHENTICATE
+/* Remove embedded newlines (if any) */
+void
+aix_remove_embedded_newlines(char *p)
+{
+ for (; *p; p++) {
+ if (*p == '\n')
+ *p = ' ';
+ }
+ /* Remove t...
2006 Aug 30
30
Testing for the 4.4p1 release
Hi,
The 4.4p1 release is approaching now, so we are now asking people to
actively test snapshots or CVS and report back to the mailing list.
Snapshots are available from http://www.mindrot.org/openssh_snap or
from any of the mirrors listed on http://www.openssh.org/portable.html
The latter page also includes instructions for checking out portable
OpenSSH via anonymous CVS.
This release