Bug 176265

Summary: /etc/profile needs "$EUID" rather than $EUID
Product: [Fedora] Fedora Reporter: Steve Falco <sfalco>
Component: setupAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-12-20 18:50:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Falco 2005-12-20 18:18:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:
If a user logs in with ksh selected as their shell, then the $EUID variable (around line 17 in /etc/profile) will not be set, and the user will get a syntax error.

Simply adding double-quotes around the variable fixes this.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.set shell to ksh in /etc/passwd
2.log in
3.
  

Actual Results:  Get a syntax error at line 17 in /etc/profile, caused by $EUID being undefined.

Expected Results:  No syntax error.

Additional info:

Comment 1 Bill Nottingham 2005-12-20 18:50:08 UTC

*** This bug has been marked as a duplicate of 163637 ***

Comment 2 Bill Nottingham 2005-12-20 18:51:06 UTC

*** This bug has been marked as a duplicate of 160731 ***