After upgrade to -current on sparc64 unable to su

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

After upgrade to -current on sparc64 unable to su

John Gould-2
Just upgraded to -current now su give the following:-

OpenBSD 6.5-beta (GENERIC.MP) #145: Fri Mar 22 11:42:55 MDT 2019


Welcome to OpenBSD: The proactively secure Unix-like operating system.


Please use the sendbug(1) utility to report bugs in the system.

Before reporting a bug, please try to reproduce it with the latest

version of the code.  With bug reports, please try to ensure that

enough information to reproduce the problem is enclosed, and if a

known fix for it exists, include that as well.


t5120-virt$ su

su: invalid script: /usr/libexec/auth/login_passwd

Sorry

t5120-virt$

dmesg

t5120-virt$ dmesg

console is /virtual-devices@100/console@1

Copyright (c) 1982, 1986, 1989, 1991, 1993

The Regents of the University of California.  All rights reserved.

Copyright (c) 1995-2019 OpenBSD. All rights reserved.
https://www.OpenBSD.org


OpenBSD 6.5-beta (GENERIC.MP) #145: Fri Mar 22 11:42:55 MDT 2019

    [hidden email]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP

real mem = 4294967296 (4096MB)

avail mem = 4190797824 (3996MB)

mpath0 at root

scsibus0 at mpath0: 256 targets

mainbus0 at root: SPARC Enterprise T5120

cpu0 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz

cpu1 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz

cpu2 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz

cpu3 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz

cpu4 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz

cpu5 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz

cpu6 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz

cpu7 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz

vbus0 at mainbus0

"flashprom" at vbus0 not configured

vrng0 at vbus0

cbus0 at vbus0

vdsk0 at cbus0 chan 0x2: ivec 0x4, 0x5

scsibus1 at vdsk0: 2 targets

sd0 at scsibus1 targ 0 lun 0: <SUN, Virtual Disk, 1.1> SCSI3 0/direct fixed

sd0: 6000MB, 512 bytes/sector, 12288000 sectors

vnet0 at cbus0 chan 0x3: ivec 0x6, 0x7, address 00:14:4f:fb:d6:1c

vcons0 at vbus0: ivec 0x111, console

vrtc0 at vbus0

vscsi0 at root

scsibus2 at vscsi0: 256 targets

softraid0 at root

scsibus3 at softraid0: 256 targets

bootpath: /virtual-devices@100,0/channel-devices@200,0/disk@0,0

root on sd0a (82fa419a90242a2a.a) swap on sd0b dump on sd0b
Reply | Threaded
Open this post in threaded view
|

Re: After upgrade to -current on sparc64 unable to su

Todd C. Miller-3
I just committed a fix for this, the next snapshot should include it.

 - todd

CVSROOT:        /cvs
Module name:    src
Changes by:     [hidden email] 2019/03/23 11:03:00

Modified files:
        lib/libc/gen   : login_cap.c auth_subr.c

Log message:
Remove useless secure_path(3) calls.
There is no point in checking permissions of files in root-owned
directories.  If it even was a problem, secure_path(3) suffers from
unsolvable TOCTOU issues.  OK deraadt@