Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2012 00:25:51 +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-9@freebsd.org
Subject:   svn commit: r244005 - stable/9/etc/root
Message-ID:  <201212080025.qB80PpId021088@svn.freebsd.org>

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

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/9/etc/root/dot.cshrc
Directory Properties:
  stable/9/etc/   (props changed)

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