search for: ut_us

Displaying 20 results from an estimated 39 matches for "ut_us".

Did you mean: ut_ss
2000 Jul 02
0
patch for NetBSD utmp (ut_name instead of ut_host)
...7/02 22:07:56 itojun Exp $ --- configure.in.orig Sat Jul 1 15:52:55 2000 +++ configure.in Mon Jul 3 06:49:00 2000 @@ -647,2 +647,6 @@ +OSSH_CHECK_HEADER_FOR_FIELD(ut_name, utmp.h, HAVE_NAME_IN_UTMP) +OSSH_CHECK_HEADER_FOR_FIELD(ut_name, utmpx.h, HAVE_NAME_IN_UTMPX) +OSSH_CHECK_HEADER_FOR_FIELD(ut_user, utmp.h, HAVE_USER_IN_UTMP) +OSSH_CHECK_HEADER_FOR_FIELD(ut_user, utmpx.h, HAVE_USER_IN_UTMPX) OSSH_CHECK_HEADER_FOR_FIELD(ut_host, utmp.h, HAVE_HOST_IN_UTMP) -------------- next part -------------- $NetBSD: patch-al,v 1.1 2000/07/02 22:07:56 itojun Exp $ --- loginrec.c- Mon Jul 3 06:49:20 200...
2009 Dec 25
2
[openssh-portable] utmpx and ut_name
...k utmpx is perfect, but at least it's better than what we have now and at least it has gone through some form of standardisation. I noticed POSIX says the following [1]: | The <utmpx.h> header shall define the utmpx structure that shall | include at least the following members: | | char ut_user[] User login name. | ... Now ut_user deviates a bit from <utmp.h>, where this field is normally called ut_name. I've noticed most (all?) implementations just #define ut_name to ut_user to keep things happy, but I'd rather not put this obfuscation in any new implementation. I'...
2000 Jul 04
0
AW: FreeBSD 3.5-STABLE
...usr/local/etc\" >-DSSH_PROGRAM=\"/usr/local/bin/ssh\" - >> DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" >-DHAVE_CONFIG_H -c loginrec.c >> loginrec.c: In function `construct_utmp': >> loginrec.c:619: structure has no member named `ut_user' >[...] >Would it be possible for you to switch to FreeBSD 4.0-RELEASE ? >AFAIK, this includes openssh support per installation, so no hassle >with porting it. > >Just a hint, Just a hint, but i'm probably speaking for thousands who go for stable releases on server...
2001 Nov 30
1
Problems with utmp
Hi there, I'm using samba-2.2.2 under Solaris 8 and I've got the following problem! I have configured samba with "--with-utmp" and with "--with-quota" and everything works fine. But when look for the last users logged in, in the utmp-database there are only the first seven letters of the username, not eight that we use for usernames. Can you help me with this problem
2000 Aug 09
3
Problems compiling openssh-2.1.1p2 on FreeBSD 4.0-RELEASE
...sr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c loginrec.c loginrec.c: In function `construct_utmp': loginrec.c:619: structure has no member named `ut_user' loginrec.c:619: structure has no member named `ut_user' loginrec.c:619: structure has no member named `ut_user' loginrec.c: In function `syslogin_perform_login': loginrec.c:1256: warning: implicit declaration of function `login' loginrec.c: In function `syslogin_perform_logou...
2000 Jan 27
1
Long awaited round 1 of NeXT patches.
...patch set since they are basicly small blocks of #ifndef HAVE_NEXT/#endif to get it to compile. Daimen, feel free to let me know what you applied and what your rejecting and why.. so I can work on cleaning things up. Andre, Only thing of note you may want to look into is NeXT does not use "ut_user" in it's lastlog. It uses "ut_name" and it does not have a "ut_type" (It's part of the above patch in the login.c part). BTW, this patch is against 1.2.2 (since it was released before I was able to relase my patch. =) Known issues with my port (and my intern...
2001 Jun 29
1
wtmpx problem on Solaris 8 sparcv9 (64bit) environment
..., struct futmpx *utx) +#else wtmpx_write(struct logininfo *li, struct utmpx *utx) +#endif { struct stat buf; int fd, ret = 1; @@ -1167,6 +1183,24 @@ return ret; } +#ifdef __sparcv9 +void +utmpx_to_futmpx(struct utmpx *utx, struct futmpx *futx) +{ + strncpy(futx->ut_user, utx->ut_user, sizeof(futx->ut_user)); + strncpy(futx->ut_id, utx->ut_id, sizeof(futx->ut_id)); + strncpy(futx->ut_line, utx->ut_line, sizeof(futx->ut_line)); + futx->ut_pid = (pid32_t)utx->ut_pid; + futx->ut_type...
2000 Jul 03
0
FreeBSD 3.5-STABLE
.../local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c loginrec.c loginrec.c: In function `construct_utmp': loginrec.c:619: structure has no member named `ut_user' loginrec.c:619: structure has no member named `ut_user' loginrec.c:619: structure has no member named `ut_user' loginrec.c: In function `syslogin_perform_login': loginrec.c:1256: warning: implicit declaration of function `login' loginrec.c: In function `syslogin_perform_...
1999 Dec 24
5
ANNOUNCE: openssh-1.2.1pre20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 openssh-1.2.1pre20 has been released at: http://violet.ibs.com.au/openssh/files/ This release integrates more of Andre Lucas' portability patch, Ben Taylor's utmpx patch and some cleanups and bugfixes of my own. The auth-passwd failures should be fixed, as should lastlog support on NetBSD. Since Andre Lucas' patch included platform
1999 Dec 24
5
ANNOUNCE: openssh-1.2.1pre20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 openssh-1.2.1pre20 has been released at: http://violet.ibs.com.au/openssh/files/ This release integrates more of Andre Lucas' portability patch, Ben Taylor's utmpx patch and some cleanups and bugfixes of my own. The auth-passwd failures should be fixed, as should lastlog support on NetBSD. Since Andre Lucas' patch included platform
2000 Mar 20
2
samba-2.0.7pre2 compilation on SunOS 4.1.4 with --with-utmp
samba-2.0.7pre2 (out of the box) compiles and works well on my test file server; however after ./configure --with-utmp the compilation fails... Andrew ... smbd/connection.c: In function `utmp_fill': smbd/connection.c:328: structure has no member named `ut_user' smbd/connection.c:329: structure has no member named `ut_id' smbd/connection.c:332: structure has no member named `ut_pid' smbd/connection.c: In function `utmp_yield': smbd/connection.c:400: structure has no member named `ut_type' smbd/connection.c:400: `DEAD_PROCESS' und...
2001 Jan 29
1
Solaris wtmpx patch
Hi, Solaris (tested with 2.6) needs a username in the logout record in the wtmpx file. Currently openssh (version 2.3.0p1) leaves the username (utmpx.ut_user) empty in logout records, which leads to conflicting results from the last command. Example: # last -5 siegert siegert pts/186 stikine.ucs.sfu. Mon Jan 15 14:26 still logged in siegert pts/105 stikine.ucs.sfu. Mon Jan 15 13:48 still logged in siegert pts/141 stikine.ucs....
2001 Feb 08
0
openssh2.3.0p1 and /etc/limits
...+ return 0; + + if (limit == 0) /* maximum 0 logins ? */ { + syslog(LOG_WARNING, "No logins allowed for `%s'\n", name); + return LOGIN_ERROR_LOGIN; + } + + setutent(); + count = 0; + while ((ut = getutent())) { +// if (ut->ut_type != USER_PROCESS) +// continue; + if (ut->ut_user[0] == '\0') + continue; + if (strncmp(name, ut->ut_user, sizeof(ut->ut_user)) != 0) + continue; + if (++count > limit) + break; + } + endutent(); + /* + * This is called after setutmp(), so the number of logins counted + * includes the user who is currently trying to lo...
2000 Jul 12
0
Announce: portable OpenSSH 2.1.1p3
...IX getuserattr() support from Tom Bertelson <tbert at abac.com> - (djm) ReliantUNIX support from Udo Schweigert <ust at cert.siemens.de> - (djm) NeXT: dirent structures to get scp working from Ben Lindstrom <mouring at pconline.com> - (djm) Fix broken inet_ntoa check and ut_user/ut_name confusion, report from Jim Watt <jimw at peisj.pebio.com> - (djm) Replaced bsd-snprintf.c with one from Mutt source tree, it is known to compile on more platforms (incl NeXT). - (djm) Added bsd-inet_aton and configure support for NeXT - (djm) Misc NeXT fixes from Ben Linds...
2000 Jul 12
0
Announce: portable OpenSSH 2.1.1p3
...IX getuserattr() support from Tom Bertelson <tbert at abac.com> - (djm) ReliantUNIX support from Udo Schweigert <ust at cert.siemens.de> - (djm) NeXT: dirent structures to get scp working from Ben Lindstrom <mouring at pconline.com> - (djm) Fix broken inet_ntoa check and ut_user/ut_name confusion, report from Jim Watt <jimw at peisj.pebio.com> - (djm) Replaced bsd-snprintf.c with one from Mutt source tree, it is known to compile on more platforms (incl NeXT). - (djm) Added bsd-inet_aton and configure support for NeXT - (djm) Misc NeXT fixes from Ben Linds...
2000 Jul 11
3
Test snapshot
...IX getuserattr() support from Tom Bertelson <tbert at abac.com> - (djm) ReliantUNIX support from Udo Schweigert <ust at cert.siemens.de> - (djm) NeXT: dirent structures to get scp working from Ben Lindstrom <mouring at pconline.com> - (djm) Fix broken inet_ntoa check and ut_user/ut_name confusion, report from Jim Watt <jimw at peisj.pebio.com> - (djm) Replaced bsd-snprintf.c with one from Mutt source tree, it is known to compile on more platforms (incl NeXT). - (djm) Added bsd-inet_aton and configure support for NeXT - (djm) Misc NeXT fixes from Ben Linds...
2002 Dec 25
1
Trouble installing samba
...o > checking for broken readdir... no > checking for utimbuf... yes > checking for pututline... no > checking for pututxline... no > checking for updwtmp... no > checking for updwtmpx... no > checking for getutmpx... no > checking for ut_name in utmp... yes > checking for ut_user in utmp... yes > checking for ut_id in utmp... yes > checking for ut_host in utmp... yes > checking for ut_time in utmp... yes > checking for ut_tv in utmp... yes > checking for ut_type in utmp... yes > checking for ut_pid in utmp... yes > checking for ut_exit in utmp... yes...
2001 Nov 07
1
Configuring 2.2.2 (or 2.0.7) on Digital Unix 4.0f fails - "No locking"
...ment... yes checking for C99 vsnprintf... no checking for broken readdir... no checking for utimbuf... yes checking for pututline... yes checking for pututxline... yes checking for updwtmp... no checking for updwtmpx... no checking for getutmpx... no checking for ut_name in utmp... yes checking for ut_user in utmp... yes checking for ut_id in utmp... yes checking for ut_host in utmp... yes checking for ut_time in utmp... yes checking for ut_tv in utmp... no checking for ut_type in utmp... yes checking for ut_pid in utmp... yes checking for ut_exit in utmp... yes checking for ut_addr in utmp... no c...
2002 Oct 21
1
compilation probs...
...va_copy... no checking for C99 vsnprintf... no checking for broken readdir... no checking for utimbuf... yes checking for pututline... no checking for pututxline... no checking for updwtmp... no checking for updwtmpx... no checking for getutmpx... no checking for ut_name in utmp... yes checking for ut_user in utmp... yes checking for ut_id in utmp... yes checking for ut_host in utmp... yes checking for ut_time in utmp... yes checking for ut_tv in utmp... yes checking for ut_type in utmp... yes checking for ut_pid in utmp... yes checking for ut_exit in utmp... yes checking for ut_addr in utmp... yes...
2002 Oct 29
1
Problem running ./configure
...va_copy... no checking for C99 vsnprintf... no checking for broken readdir... no checking for utimbuf... yes checking for pututline... no checking for pututxline... no checking for updwtmp... no checking for updwtmpx... no checking for getutmpx... no checking for ut_name in utmp... yes checking for ut_user in utmp... yes checking for ut_id in utmp... yes checking for ut_host in utmp... yes checking for ut_time in utmp... yes checking for ut_tv in utmp... yes checking for ut_type in utmp... yes checking for ut_pid in utmp... yes checking for ut_exit in utmp... yes checking for ut_addr in utmp... yes...