From owner-freebsd-current Wed Dec 1 14: 7:38 1999 Delivered-To: freebsd-current@freebsd.org Received: from minubian.houabg.com (minubian.houabg.com [206.109.247.11]) by hub.freebsd.org (Postfix) with ESMTP id E816014F94 for ; Wed, 1 Dec 1999 14:07:28 -0800 (PST) (envelope-from dchapman@houabg.com) Received: from houcbs2.houabg.com (HOUABG.COM [206.109.247.20]) by minubian.houabg.com (8.8.8/8.8.8) with ESMTP id QAA29076 for ; Wed, 1 Dec 1999 16:42:00 -0600 (CST) (envelope-from dchapman@houabg.com) Received: from 216-118-21-147.pdq.net by houcbs2.houabg.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1457.7) id SG164AKY; Wed, 1 Dec 1999 16:08:25 -0600 Message-ID: <015a01bf3c48$87387800$931576d8@inethouston.net> From: "David W. Chapman Jr." To: References: <014801bf3c46$97e4e140$931576d8@inethouston.net> Subject: Nevermind: su and traceroute Date: Wed, 1 Dec 1999 16:07:58 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0157_01BF3C16.3C31B1A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0157_01BF3C16.3C31B1A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Nevermind, I had nosuid in fstab, totally forgot about it. ----- Original Message -----=20 From: David W. Chapman Jr.=20 To: current@freebsd.org=20 Sent: Wednesday, December 01, 1999 3:54 PM Subject: su and traceroute I just cvsuped to -current right after bind-8.2.2 was merged into the = source tree. I noticed two problems. Su won't work and traceroute = gives me the following traceroute: icmp socket: Operation not permitted here are its permissions -r-sr-xr-x 1 root wheel 12076 Dec 1 14:15 /usr/sbin/traceroute su just says Sorry and it has the same permissions, I ran gdb on it = and here's a screen shot 253 if (pwd->pw_uid =3D=3D 0 && (gr =3D = getgrgid((gid_t)0)) && (gdb) step 255 for (g =3D gr->gr_mem;; ++g) { (gdb) step 256 if (!*g) { (gdb) step 262 if (strcmp(username, = *g) =3D=3D 0) { (gdb) step 255 for (g =3D gr->gr_mem;; ++g) { (gdb) step 256 if (!*g) { (gdb) step 262 if (strcmp(username, = *g) =3D=3D 0) { (gdb) step 271 if (*pwd->pw_passwd) { (gdb) step 278 p =3D skey_getpass("Password:", pwd, = 1); (gdb) step Password: 279 if (!(!strcmp(pwd->pw_passwd, = skey_crypt(p, pwd->pw_passwd, pwd, 1)) (gdb) step 292 fprintf(stderr, = "Sorry\n"); (gdb) Anyone have any ideas? I am in the wheel group, but I shouldn't have = to be for traceroute and I have this problem for all users, including = new ones that I create. ------=_NextPart_000_0157_01BF3C16.3C31B1A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Nevermind, I had nosuid in fstab, = totally forgot=20 about it.
----- Original Message -----
From:=20 David W.=20 Chapman Jr.
Sent: Wednesday, December 01, = 1999 3:54=20 PM
Subject: su and = traceroute

I just cvsuped to -current right after = bind-8.2.2=20 was merged into the source tree.  I noticed two problems.  = Su won't=20 work and traceroute gives me the following

 

traceroute: icmp socket: Operation not=20 permitted

 

here are its permissions

 

-r-sr-xr-x  1 root  = wheel  12076=20 Dec  1 14:15 /usr/sbin/traceroute

 

su just says Sorry and it has the same = permissions,=20 I ran gdb on it and here's a screen shot

 

253          &= nbsp;           &n= bsp;     =20 if (pwd->pw_uid =3D=3D 0 && (gr =3D getgrgid((gid_t)0))=20 &&
(gdb)=20 = step
255          &n= bsp;           &nb= sp;           &nbs= p; =20 for (g =3D gr->gr_mem;; ++g) {
(gdb)=20 = step
256          &n= bsp;           &nb= sp;           &nbs= p;         =20 if (!*g) {
(gdb)=20 = step
262          &n= bsp;           &nb= sp;           &nbs= p;         =20 if (strcmp(username, *g) =3D=3D 0) {
(gdb)=20 = step
255          &n= bsp;           &nb= sp;           &nbs= p; =20 for (g =3D gr->gr_mem;; ++g) {
(gdb)=20 = step
256          &n= bsp;           &nb= sp;           &nbs= p;         =20 if (!*g) {
(gdb)=20 = step
262          &n= bsp;           &nb= sp;           &nbs= p;         =20 if (strcmp(username, *g) =3D=3D 0) {
(gdb)=20 = step
271          &n= bsp;         =20 if (*pwd->pw_passwd) {
(gdb)=20 = step
278          &n= bsp;           &nb= sp;     =20 p =3D skey_getpass("Password:", pwd, 1);
(gdb)=20 = step
Password:
279        &= nbsp;           &n= bsp;       =20 if (!(!strcmp(pwd->pw_passwd, skey_crypt(p, pwd->pw_passwd, pwd, = 1))
(gdb)=20 = step
292          &n= bsp;           &nb= sp;           &nbs= p;         =20 fprintf(stderr, "Sorry\n");
(gdb)

 

 

Anyone have any ideas?  I am in = the wheel=20 group, but I shouldn't have to be for traceroute and I have this = problem for=20 all users, including new ones that I=20 create.

------=_NextPart_000_0157_01BF3C16.3C31B1A0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message