From 01d9852a4dcdabf23539f045a42daf9f1a270b8e Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Wed, 5 Dec 2012 13:56:39 +0000 Subject: [PATCH] Remove hack to emulate effective uid and just use the EUID's name in the first place. I was unaware of this option when originally committing this change. Submitted by: gcooper Approved by: cperciva MFC after: 3 days --- etc/root/dot.cshrc | 5 +---- share/skel/dot.cshrc | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc index 5ce3e362b1c..3e94371b6bc 100644 --- a/etc/root/dot.cshrc +++ b/etc/root/dot.cshrc @@ -23,10 +23,7 @@ setenv BLOCKSIZE K if ($?prompt) then # An interactive shell -- set some stuff up - if ($uid == 0) then - set user = root - endif - set prompt = "%n@%m:%~ %# " + set prompt = "%N@%m:%~ %# " set promptchars = "%#" set filec diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc index 5ce3e362b1c..3e94371b6bc 100644 --- a/share/skel/dot.cshrc +++ b/share/skel/dot.cshrc @@ -23,10 +23,7 @@ setenv BLOCKSIZE K if ($?prompt) then # An interactive shell -- set some stuff up - if ($uid == 0) then - set user = root - endif - set prompt = "%n@%m:%~ %# " + set prompt = "%N@%m:%~ %# " set promptchars = "%#" set filec