user (working domains) shows in admin list but not in reseller list

I manually added the one user to users.list and everything seems to work fine.

still wondering about that cmd error though, other items in the scripts directory work ok and use the same bin/sh line
 
Are you sure you did correctly pasted it?

#!/bin/sh

Is not an error, # is not a comment.. that must be exact that way.

Otherwise.. and it's strange.. check where is sh with command

whereis sh

and change the first line with the correct path.. usually.. that's the correct path...

Regards
 
copied/pasted as well as manually typing it using context editor in wondows.
did it in nano also (both copy/paste and hand typing) to prevent any windows carriage return/space issues

I did try the whereis and the path is correct.
other cmds there start with same line and work fine, just odd.
going to boot to kubunto in a bit and create it there in gedit just to see.
didn't try vi/vim though, I can never remember the cmds for that so I use nano.
 
That's actually strange so :)

Regarding yum:

vi newfile.sh
press i for paste option
right click to paste (supposing you're using putty)
then press esc once and :wq! and than press enter

Regards
 
Last edited:
had never heard of that method, will try that out thanks much
 
Regarding yum:

yum newfile.sh

That must be a typo, and here is vi/vim is meant.

copied/pasted as well as manually typing it using context editor in wondows.

You should never do that, as windows uses \r\n but linux only \n as line break.

And how does your /fix.sh look like now?
 
Definitly yes.. i mean vi :)

I use to do this way on vi program and that not cause any issue, sometimes it happen that cause issue but just with nano, never with vi

I've edited my post with fix

Regards
 
Back
Top