[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/46231: root .login file disturbs pkgsrc su ?
>Synopsis: installing pkgs as unpriv. user (using su) causes errors from
>Arrival-Date: Tue Mar 20 15:05:00 +0000 2012
>Originator: Martin Husemann
>Release: NetBSD 6.99.4
The NetBSD Foundation, Inc.
System: NetBSD whoever-brings-the-night.aprisoft.de 6.99.4 NetBSD 6.99.4
(MODULAR) #159: Sun Mar 18 21:56:05 CET 2012
I installed a new machine from scratch and started building pkgs from pkgsrc
as an unprivileged user. Whenever pkgsrc requires root, it invokes su for
me. Fine, I enter the password, and then get an error from tset (which
is ignored, but still disturbing).
The only tset I could find is in /root/.login (!) and commenting that one
out removes the errors.
Now, if I am not halluzinating, this brings up two questions:
1) should that script be run during the su from pkgsrc at all?
2) should that tset be guarded by something like:
case $- in *i*) ?
Main Index |
Thread Index |