UAPI Module
Hello Friends,
I am posting this here for the first time. Any help or guidance will be highly appreciated.
I have the following Problem during my
Example:
As you can see the directory didn't change. I was wondering if the account needs root access in order to move around to the own home directory?
UAPI Call: https://ip:2083/token/execute/example/foobar
user: Max
my $com = 'whoami';
# max
my $pwd = `pwd`;
# /usr/local/cpanel/base
my $home = `cd ~`; OR
my $home = `/home/Max`;
my $pwd2 = `pwd`;
# /usr/local/cpanel/base
As you can see the directory didn't change. I was wondering if the account needs root access in order to move around to the own home directory?
-
Hello :) You may want to develop a custom script that clones your git repository, as opposed to attempting to create a custom UAPI module. For instance, are you attempting to allow a user to complete this action directly from their cPanel interface? Thank you. 0
Please sign in to leave a comment.
Comments
1 comment