search for: getlogin

Displaying 20 results from an estimated 132 matches for "getlogin".

2005 Apr 28
4
[Bug 980] sshd does not write the session leader pid to utmp when priv-separation is enabled
http://bugzilla.mindrot.org/show_bug.cgi?id=980 ------- Additional Comments From senthilkumar_sen at hotpop.com 2005-04-29 00:28 ------- I tried passing SIGTERM to the sshd user process after applying the patch (id=821) and it is not cleaning up the wtmp entries. What would be needed in the patch additionaly so that proper pid is passed at the time of cleaning wtmp entries when SIGTERM is
2006 Mar 22
0
FreeBSD Security Advisory FreeBSD-SA-06:12.opie
...ecure a system against replay attacks. It does so using a secure hash function and a challenge/response system. The opiepasswd(1) program is used to set up OPIE authentication for a user. OPIE is enabled by default on FreeBSD through PAM. II. Problem Description The opiepasswd(1) program uses getlogin(2) to identify the user calling opiepasswd(1). In some circumstances getlogin(2) will return "root" even when running as an unprivileged user. This causes opiepasswd(1) to allow an unpriviled user to configure OPIE authentication for the root user. III. Impact In certain cases an atta...
2006 Mar 22
0
FreeBSD Security Advisory FreeBSD-SA-06:12.opie
...ecure a system against replay attacks. It does so using a secure hash function and a challenge/response system. The opiepasswd(1) program is used to set up OPIE authentication for a user. OPIE is enabled by default on FreeBSD through PAM. II. Problem Description The opiepasswd(1) program uses getlogin(2) to identify the user calling opiepasswd(1). In some circumstances getlogin(2) will return "root" even when running as an unprivileged user. This causes opiepasswd(1) to allow an unpriviled user to configure OPIE authentication for the root user. III. Impact In certain cases an atta...
2006 Aug 30
0
[long message] problem with imap authentication process
...informations are stored to a passwd-like file. I searched in the source code the error string and found this dovecot-1.0.rc7/src/imap/main.c: > user = getenv("USER"); > if (user == NULL) { > if (IS_STANDALONE()) > user = getlogin(); > if (user == NULL) > i_fatal("USER environment missing"); > } This is the only occurrence of the error. This code is simple, Why getenv("USER") returns NULL ? variable was set when i run dovecot.... mmm..Any suggestion?...
2004 Jul 18
0
HPUX and privsep
...- easy to fix) but doenst seem to affect these problems. This was found on HP's site with no solution : http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1089735097108+28353475&threadId=43106 Something mentioned was a change in logname to use getsid() instead of getlogin(). Doesn't solve the 3.8.1 problem of no login. George Williams Security Architect TEK systems __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/
2003 Nov 26
0
samba passwd program not running as root on OpenBSD
...gpasswd.c:chat_with_pr ogram(363) Child failed to change password: paul[2003/11/25 17:27:47, 3] /usr/obj/i386/samba-2.2.8a/samba-2.2.8a/source/smbd/chgpasswd.c:chat_with_pr ogram(408) The status of the process exiting was 256 looking at passwd.c this appears to be the relevant section: username = getlogin(); if (username == NULL) { fprintf(stderr, "passwd: who are you ??\n"); exit(1); }
2019 Sep 18
2
[PATCH] build: remove unused gnulib modules
...@@ /fnmatch.m4 /fpending.m4 /fpieee.m4 -/fpurge.m4 -/freading.m4 /fseeko.m4 /fstatat.m4 /fstat.m4 /ftell.m4 /ftello.m4 /ftruncate.m4 -/fts.m4 /futimens.m4 -/getaddrinfo.m4 /getcwd-abort-bug.m4 /getcwd.m4 /getcwd-path-max.m4 /getdelim.m4 /getdtablesize.m4 -/getgroups.m4 /getline.m4 /getlogin.m4 /getlogin_r.m4 @@ -79,20 +63,16 @@ /getprogname.m4 /gettime.m4 /gettimeofday.m4 -/getugroups.m4 /glob_h.m4 /glob.m4 /gnulib-common.m4 /gnulib-comp.m4 /gnulib-tool.m4 /gnu-make.m4 -/hash.m4 /host-cpu-c-abi.m4 -/hostent.m4 /human.m4 /iconv.m4 /include_next.m4 -/inet_ntop.m4 /inet_pt...
2020 Oct 15
2
how to set smtp-client -> submission_relay_host for IPv4 only?
On 10/15/20 2:02 PM, jeremy ardley wrote: >> how/where do I configure (just) the dovecot smtp-client -> submission_relay_host to only connect IPv4? > > It appears your host has A and AAAA records in your DNS. The clients will try IPV6 first if they see an AAAA record. > > If you don't need IPV6 for your host remove the AAAA record. All connections will then only use
2014 Mar 28
2
Re: ANNOUNCE: libguestfs 1.26 released
On Fri, Mar 28, 2014 at 09:42:52AM +0100, Olaf Hering wrote: > On Thu, Mar 27, Richard W.M. Jones wrote: > > > I'm pleased to announce libguestfs 1.26, a library and set of tools > > This fails to link at least in sles11sp3, 1.25.37 was still ok: > > ... > [ 288s] virt_index_validate-index-validate.o: In function `main': > [ 288s]
2019 Sep 18
0
Re: [PATCH] build: remove unused gnulib modules
...> /fstatat.m4 > /fstat.m4 > /ftell.m4 > /ftello.m4 > /ftruncate.m4 > -/fts.m4 > /futimens.m4 > -/getaddrinfo.m4 > /getcwd-abort-bug.m4 > /getcwd.m4 > /getcwd-path-max.m4 > /getdelim.m4 > /getdtablesize.m4 > -/getgroups.m4 > /getline.m4 > /getlogin.m4 > /getlogin_r.m4 > @@ -79,20 +63,16 @@ > /getprogname.m4 > /gettime.m4 > /gettimeofday.m4 > -/getugroups.m4 > /glob_h.m4 > /glob.m4 > /gnulib-common.m4 > /gnulib-comp.m4 > /gnulib-tool.m4 > /gnu-make.m4 > -/hash.m4 > /host-cpu-c-abi.m4 > -/...
2019 Sep 23
0
[PATCH v2 5/5] build: remove unused gnulib modules
...@@ /fnmatch.m4 /fpending.m4 /fpieee.m4 -/fpurge.m4 -/freading.m4 -/fseeko.m4 /fstatat.m4 /fstat.m4 -/ftell.m4 -/ftello.m4 /ftruncate.m4 -/fts.m4 /futimens.m4 -/getaddrinfo.m4 -/getcwd-abort-bug.m4 /getcwd.m4 -/getcwd-path-max.m4 /getdelim.m4 /getdtablesize.m4 -/getgroups.m4 /getline.m4 /getlogin.m4 /getlogin_r.m4 @@ -79,20 +56,14 @@ /getprogname.m4 /gettime.m4 /gettimeofday.m4 -/getugroups.m4 /glob_h.m4 /glob.m4 /gnulib-common.m4 /gnulib-comp.m4 /gnulib-tool.m4 -/gnu-make.m4 -/hash.m4 /host-cpu-c-abi.m4 -/hostent.m4 /human.m4 -/iconv.m4 /include_next.m4 -/inet_ntop.m4 /inet_pt...
2003 Apr 20
0
How I got Samba 2.2.8a to run on OpenBSD 3.2 i386
...cally (please use this only as shown in attached smb.conf! logging is really necessary, considering the program's non-quality) smbchpasswd - quick 'passwd' drop-in (not used in attached smb.conf since I since I wrote it have hacked the original 'passwd' to use getuid instead of getlogin or something like that... STFW on 'openbsd passwd "who are you"' to figure out what to do if you want to fix it yourself. Attached smb.conf shows how to chat with a fixed 'passwd' program.) Use smbchpasswd with: passwd program = /usr/local/bin/smbchpasswd %u passwd chat...
2004 Mar 11
5
win32-etc-0.2.2 testing wanted
I''ve commited code for win32-etc 0.2.2, which adds the configure_user and configure_group methods. Testing appreciated. On my home system, I can''t get configure_user to work, but I haven''t any real idea why it fails. The configure_group method seems to work fine, however. Dan _________________________________________________________________ Fast. Reliable. Get
2019 Sep 23
6
[PATCH v2 0/5] remove unused gnulib modules
This is an extended version of: https://www.redhat.com/archives/libguestfs/2019-September/msg00178.html It adds a couple of simple code changes, so it makes it possible to drop more modules. In addition, more unused modules were dropped. Pino Toscano (5): tests: switch away from xgetcwd daemon: move read_whole_file to common utils daemon: switch from read_file to read_whole_file daemon:
2000 Jul 20
4
RFC: System and time support functions in R
...e added today for R-devel (Unix and Wundows) file.access() -- an access() work-alike. file.info() -- subsumes is.dir(), and give the information from stat(2) calls. file.copy -- via file.create and file.append. Sys.info() -- give the information from uname(2) (including machine name) and getlogin(2) (the login name). Things which I think we still may need: putenv() -- or is `setenv' a better name? (putenv is the POSIX name). sleep() -- called Sys.sleep()?, and with sub-second accuracy. Tricky to do with event loops running, but looks possible. Package xgobi under Unix has sy...
2019 Nov 27
7
[PATCH v3 0/6] remove unused build stuff
This is an extended version of: https://www.redhat.com/archives/libguestfs/2019-September/msg00288.html Apparently I forgot it on my tree, so I'm posting that series again, adding an extra cleanup more due to the v2v/common splits. Pino Toscano (6): tests: switch away from xgetcwd daemon: move read_whole_file to common utils daemon: switch from read_file to read_whole_file daemon:
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...d without a macro... yes checking whether getdomainname is declared without a macro... yes checking whether getdtablesize is declared without a macro... yes checking whether getgroups is declared without a macro... yes checking whether gethostname is declared without a macro... yes checking whether getlogin is declared without a macro... yes checking whether getlogin_r is declared without a macro... yes checking whether getpagesize is declared without a macro... yes checking whether getusershell is declared without a macro... yes checking whether setusershell is declared without a macro... yes checkin...
2011 Jan 14
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...d without a macro... yes checking whether getdomainname is declared without a macro... yes checking whether getdtablesize is declared without a macro... yes checking whether getgroups is declared without a macro... yes checking whether gethostname is declared without a macro... yes checking whether getlogin is declared without a macro... yes checking whether getlogin_r is declared without a macro... yes checking whether getpagesize is declared without a macro... yes checking whether getusershell is declared without a macro... yes checking whether setusershell is declared without a macro... yes checkin...
2011 Feb 15
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...d without a macro... yes checking whether getdomainname is declared without a macro... yes checking whether getdtablesize is declared without a macro... yes checking whether getgroups is declared without a macro... yes checking whether gethostname is declared without a macro... yes checking whether getlogin is declared without a macro... yes checking whether getlogin_r is declared without a macro... yes checking whether getpagesize is declared without a macro... yes checking whether getusershell is declared without a macro... yes checking whether setusershell is declared without a macro... yes checkin...
2011 Jan 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...d without a macro... yes checking whether getdomainname is declared without a macro... yes checking whether getdtablesize is declared without a macro... yes checking whether getgroups is declared without a macro... yes checking whether gethostname is declared without a macro... yes checking whether getlogin is declared without a macro... yes checking whether getlogin_r is declared without a macro... yes checking whether getpagesize is declared without a macro... yes checking whether getusershell is declared without a macro... yes checking whether setusershell is declared without a macro... yes checkin...