svn commit: r244005 - stable/9/etc/root

Eitan Adler eadler at FreeBSD.org
Sat Dec 8 00:25:52 UTC 2012


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


More information about the svn-src-stable-9 mailing list