CSH script is not running for a non "cpanel created" user

yoachan

Well-Known Member
Jan 10, 2010
65
0
56
Dear all,

As I did WHM upgrade few days ago, I just notice even weirder cases...
After strangely I can't set my MySQL query_cache, now all my custom backup script which is CSH scripts are fails to run -- which used to be fine before upgrade.
I did test by making just a simple hello world

Code:
#!/bin/csh
echo "Hello World"
and it shows nothing. Really nothing.

Code:
[email protected] [/home/admin]# helloworld.csh
[email protected] [/home/admin]#
Out of curiosity, I tried to run the script with root user, and it runs like a charm. And when I tried that script with a cpanel created user, the script works too.
As a note, "admin" user is a non-cpanel user. It was created using regular shell command for it's only a maintenance account. Not an account with a domain, etc, so we decided to create "admin" without cpanel.
So my question is how can I re-enable csh script for my "admin" account?

this after-upgrade thing really makes me devastated....
It's just the second issue from all three issues that we currently found after WHM upgrade.... :(

Any help appreciated.
Regards,

Yoachan
 
Last edited:

yoachan

Well-Known Member
Jan 10, 2010
65
0
56
I've search for file .cshrc, .login, .history but no luck....

Can anyone help? What configuration changes that WHM made that make csh script no longer available for my non-cpanel user???
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
You might try opening up a ticket. Without access to your machine, it's difficult to say what changes were made whether by cPanel or something else. Tickets can be opened using WHM > Support Center > Contact cPanel or via the link in my signature.