Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2012 00:25:52 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r244006 - stable/7/etc/root
Message-ID:  <201212080025.qB80PqsK021111@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sat Dec  8 00:25:51 2012
New Revision: 244006
URL: http://svnweb.freebsd.org/changeset/base/244006

Log:
  MFC r243893:
  	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.
  
  Approved by:	cperciva (implicit)

Modified:
  stable/7/etc/root/dot.cshrc
Directory Properties:
  stable/7/etc/   (props changed)

Modified: stable/7/etc/root/dot.cshrc
==============================================================================
--- stable/7/etc/root/dot.cshrc	Sat Dec  8 00:25:51 2012	(r244005)
+++ stable/7/etc/root/dot.cshrc	Sat Dec  8 00:25:51 2012	(r244006)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212080025.qB80PqsK021111>