Author: eadler
Date: Wed Dec  5 13:56:39 2012
New Revision: 243893
URL: http://svnweb.freebsd.org/changeset/base/243893

Log:
  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

Modified:
  head/etc/root/dot.cshrc
  head/share/skel/dot.cshrc

Modified: head/etc/root/dot.cshrc
==============================================================================
--- head/etc/root/dot.cshrc     Wed Dec  5 13:56:36 2012        (r243892)
+++ head/etc/root/dot.cshrc     Wed Dec  5 13:56:39 2012        (r243893)
@@ -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

Modified: head/share/skel/dot.cshrc
==============================================================================
--- head/share/skel/dot.cshrc   Wed Dec  5 13:56:36 2012        (r243892)
+++ head/share/skel/dot.cshrc   Wed Dec  5 13:56:39 2012        (r243893)
@@ -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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to