Bug 26720

Summary: Both .cshrc and .profile should have the same path.
Product: Base System Reporter: Rob Simmons <rsimmons>
Component: miscAssignee: Mark Peek <mp>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Rob Simmons 2001-04-20 00:20:00 UTC
	The paths in the skeleton dot files for .cshrc and .profile are different.  They should both include /usr/local/sbin

Fix: 

# remove /usr/games and /usr/X11R6/bin if you want
! PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin; export PATH

  # Setting TERM is normally done through /etc/ttys.  Do only override
  # if you're sure that you'll never log in via telnet or xterm or a
--- 6,12 ----
  #

  # remove /usr/games and /usr/X11R6/bin if you want
! PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:$HOME/bin; export PATH

  # Setting TERM is normally done through /etc/ttys.  Do only override
  # if you're sure that you'll never log in via telnet or xterm or a--fRh2g2rQmxOneb1tHkp6iHi2l1EiRW60f67QevCLFHvgaYCu
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

*** dot.profile Thu Apr 19 18:58:41 2001
--- /usr/src/share/skel/dot.profile	Fri Aug 27 20:21:53 1999
***************
*** 6,12 ****
  #
How-To-Repeat: 	Just look at the path settings in both files.
Comment 1 Mark Peek freebsd_committer freebsd_triage 2002-07-07 01:01:13 UTC
State Changed
From-To: open->patched

Patch applied to -current.
Comment 2 Mark Peek freebsd_committer freebsd_triage 2002-07-07 17:23:21 UTC
Responsible Changed
From-To: freebsd-bugs->mp

I'll close this after MFC'ing the change.
Comment 3 Mark Peek freebsd_committer freebsd_triage 2002-07-13 17:28:33 UTC
State Changed
From-To: patched->closed

Change has been MFC'd.