search for: ptymaster

Displaying 8 results from an estimated 8 matches for "ptymaster".

Did you mean: ftpmaster
2001 Oct 23
1
Compilation error on Solaris Workshop 6 (+patch)
...G_H -c session.c "session.c", line 628: identifier redeclared: do_pre_login current : static function(pointer to struct Session {int used, int self, pointer to struct passwd {..} pw, pointer to struct Authctxt {..} authctxt, int pid, pointer to char term, int ptyfd, int ttyfd, int ptymaster, int row, int col, int xpixel, int ypixel, array[64] of char tty, pointer to char display, int screen, pointer to char auth_proto, pointer to char auth_data, int single_connection, int chanid, int is_subsystem}) returning void previous: function() returning int : "session.c", line...
2006 Aug 15
1
OpenSSH_4.3p2 fails to create a pty session
...ils to create a tty session. This happens from remote machines and creating a session from the host machine. I find the following under messages. Aug 8 19:32:16 mongoloid sshd[44626]: fatal: mm_send_fd: sendmsg(4): Bad file descriptor Aug 8 19:32:16 mongoloid sshd[44626]: error: close(s->ptymaster/0): Bad file descriptor Aug 8 19:32:16 mongoloid sshd[44629]: fatal: mm_receive_fd: recvmsg: expected received 1 got 0 And here is a debug script from sshd. Script started on Tue Aug 8 19:33:45 2006 19:33 emillbrandt at mongoloid:/usr/local/etc/periodic/daily# uname -a FreeBSD mongoloid.xxxxx...
2001 Aug 13
0
Latest won't compile under Solaris 8
...E_CONFIG_H -c session.c "session.c", line 628: identifier redeclared: do_pre_login current : function(pointer to struct Session {int used, int self, pointer to struct passwd {..} pw, pointer to struct Authctxt {..} authctxt, int pid, pointer to char term, int ptyfd, int ttyfd, int ptymaster, int row, int col, int xpixel, int ypixel, array[64] of char tty, pointer to char display, int screen, pointer to char auth_proto, pointer to char auth_data, int single_connection, int chanid, int is_subsystem}) returning void previous: function() returning int : "session.c", line...
2000 Nov 14
0
2.3.0p1, Solaris 7 and last login (fwd)
...general, OpenSSH rocks? :) -- UNIX System Administrator - Boi Sletterink Phone: +31-15-278 2504 -------------- next part -------------- *** session.c.orig Sat Oct 28 05:19:58 2000 --- session.c Tue Nov 14 16:04:21 2000 *************** *** 590,600 **** --- 590,616 ---- int fdout, ptyfd, ttyfd, ptymaster; pid_t pid; + #define BOIS_DIRTY_PATCH + #ifdef BOIS_DIRTY_PATCH + char hostname[MAXHOSTNAMELEN]; + time_t last_login_time; + struct passwd * pw = s->pw; + char *time_string; + #endif + if (s == NULL) fatal("do_exec_pty: no sess...
2002 Jan 30
0
[Bug 87] New: Last logon that gets reported upon login is the current login time
...char *); void do_exec(Session *, const char *); -void do_login(Session *, const char *); +void do_login(Session *, const char *, const time_t, const char *); #ifdef LOGIN_NEEDS_UTMPX static void do_pre_login(Session *s); #endif @@ -548,11 +548,17 @@ { int fdout, ptyfd, ttyfd, ptymaster; pid_t pid; + char hostname[MAXHOSTNAMELEN]; + time_t last_login_time; if (s == NULL) fatal("do_exec_pty: no session"); ptyfd = s->ptyfd; ttyfd = s->ttyfd; + /* Get the time and hostname when the user last logged in...
2001 Mar 22
0
Solaris UseLogin problem
...Index: session.c =================================================================== RCS file: /cvs/openssh_cvs/session.c,v retrieving revision 1.100 diff -u -r1.100 session.c --- session.c 2001/03/22 02:06:57 1.100 +++ session.c 2001/03/22 21:28:04 @@ -597,6 +597,8 @@ { int fdout, ptyfd, ttyfd, ptymaster; pid_t pid; + socklen_t fromlen; + struct sockaddr_storage from; if (s == NULL) fatal("do_exec_pty: no session"); @@ -635,11 +637,35 @@ /* Close the extra descriptor for the pseudo tty. */ close(ttyfd); + + /* + * Get IP address of client. If the connection is not a so...
2008 May 12
12
[Bug 1463] New: Running nohup sleep 70 & and then exiting shell, hangs ssh
https://bugzilla.mindrot.org/show_bug.cgi?id=1463 Summary: Running nohup sleep 70 & and then exiting shell, hangs ssh Classification: Unclassified Product: Portable OpenSSH Version: 5.0p1 Platform: Sparc OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component:
2002 May 09
0
functions : server_input_channel_req userauth_pubkey
...packet_check_eom(); session_close(s); @@ -517,7 +517,7 @@ * lastlog, and other such operations. */ void - -do_exec_pty(Session *s, const char *command) +do_exec_pty(Session *s, const char *command, const char *realname) { int fdout, ptyfd, ttyfd, ptymaster; pid_t pid; @@ -557,7 +557,7 @@ /* record login, etc. similar to login(1) */ #ifndef HAVE_OSF_SIA if (!(options.use_login && command == NULL)) - - do_login(s, command); + do_login(s, command, realname); #...