Skip to content

Problem with certain .bashrc #30

@luigi-calori

Description

@luigi-calori

The following .bashrc on user host can fool client RCM_SERVER_COMMAND detection so following interaction fails:
`
#.bashrc
#Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

#Uncomment the following line if you don't like systemctl's auto-paging feature:
#export SYSTEMD_PAGER=

PS1='${debian_chroot:+($debian_chroot)}\u@\h\w$ '

cd ..
`
resulting in

ERROR - Server error: ['bash: ${RCM_SERVER_COMM \rAND}: bad substitution\n']

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions