Re: uid change in sock_alloc breaks identd

allbery@kf8nh.apk.net
Tue, 21 Sep 1999 18:01:46 -0400 (EDT)


On 21 Sep, Miquel van Smoorenburg wrote:
+-----
| Anyway, a Linux-specific fix in rlogin and rsh is possible by doing
|
| setfsuid(getuid());
| .. rcmd() ..
| setfsuid(geteuid());
|
| That will work under all kernels, and will not break stuff
| when the rcmd() function in glibc is fixed (or the kernel.....)
|
| So Herbert, please fix rlogin and rsh :]
+--->8

"All the world's a Linux" --- NOT. I hope that proto-smiley is for
real....

-- 
brandon s. allbery	   os/2,linux,solaris,perl	allbery@kf8nh.apk.net
system administrator	   kthkrb,heimdal,gnome,rt	  allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			kf8nh
    We are Linux. Resistance is an indication that you missed the point.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/