Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 468514

Summary: su - nocpulse -> su: /sbin/tcsh: No such file or directory
Product: Red Hat Satellite 5 Reporter: Milan Zázrivec <mzazrivec>
Component: MonitoringAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Mráka <mmraka>
Severity: medium Docs Contact:
Priority: medium    
Version: 530CC: jpazdziora, msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sat530 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 18:49: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:
Bug Depends On:    
Bug Blocks: 463877    

Description Milan Zázrivec 2008-10-25 14:00:44 UTC
Description of problem:
* Satellite-5.3.0-RHEL5-re20081024.1 / s390x

# su - nocpulse
su: /sbin/tcsh: No such file or directory
# which tcsh
/bin/tcsh
# grep nocpulse /etc/passwd
nocpulse:x:101:103:NOCpulse user:/var/lib/nocpulse:/sbin/tcsh

On a 5.2.0 satellite:
# grep nocpulse /etc/passwd
nocpulse:x:500:500:NOCpulse user:/home/nocpulse:/bin/bash

Comment 1 Miroslav Suchý 2008-10-29 19:50:42 UTC
I added it there accidentaly during recent edit of monitoring packages. In old spec is
tcsh=/bin/tcsh
but that variable is there never used. 
I'm going to remove explicit setting of shell...
Commited as b4e1bae925c60d7e7a35ce18e4ecca40f4bd9d00
Tagged as nocpulse-common-2.0.9-1

Comment 2 Michael Mráka 2009-01-26 12:28:02 UTC
Verified.
Satellite-5.3.0-RHEL5-re20090119.1

# su - nocpulse
-bash-3.2$ 
# grep nocpulse /etc/passwd
nocpulse:x:101:103:NOCpulse user:/var/lib/nocpulse:/bin/bash

Comment 3 Jan Pazdziora (Red Hat) 2009-08-19 14:25:19 UTC
[root@xen5 ~]# su - nocpulse
-bash-3.2$ pwd
/var/lib/nocpulse
-bash-3.2$ which tcsh
/bin/tcsh
-bash-3.2$ grep nocpulse /etc/passwd
nocpulse:x:102:104:NOCpulse user:/var/lib/nocpulse:/bin/bash
-bash-3.2$ 

Moving to RELEASE_PENDING.

Comment 4 Brandon Perkins 2009-09-10 18:49:08 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-1434.html