atom feed14 messages in org.freebsd.freebsd-stablecannot su?
FromSent OnAttachments
Ivan VorasJan 15, 2005 4:07 pm 
Kris KennawayJan 15, 2005 4:09 pm 
Ivan VorasJan 15, 2005 4:19 pm 
Kris KennawayJan 15, 2005 4:33 pm 
Ivan VorasJan 15, 2005 5:18 pm 
Robert William VestermanJan 15, 2005 7:32 pm 
David MaloneJan 16, 2005 2:20 am 
Ivan VorasJan 16, 2005 4:12 am 
Michael NottebrockJan 16, 2005 6:41 am 
Thomas DymondJan 16, 2005 9:22 am 
Skylar ThompsonJan 16, 2005 11:00 am 
Ivan VorasJan 17, 2005 6:53 am 
Robert WatsonJan 17, 2005 11:59 am 
Ivan VorasJan 17, 2005 1:16 pm 
Subject:cannot su?
From:David Malone (dwma@maths.tcd.ie)
Date:Jan 16, 2005 2:20:32 am
List:org.freebsd.freebsd-stable

On Sat, Jan 15, 2005 at 10:46:03PM -0500, Robert William Vesterman wrote:

I have a similar problem, but only after I use X. I can su perfectly fine before using X, and I can su perfectly fine while using X (and a terminal window), but after exiting X, if I want to su, I have to reboot.

You might want to try the following C program to check that getlogin is returning the right name at each stage.

David.

10:18:gonzo 17% cat printlogin.c #include <stdio.h> #include <unistd.h>

int main(void) { puts(getlogin()); } 10:18:gonzo 18% gcc -o printlogin printlogin.c 10:18:gonzo 19% ./printlogin dwmalone