I want to create a user who can log into my server and run the specific command only.
Let say I already have a user user_xyz and his home folder is
now inside that home folder, there is another folder public_html folder.
Now I want to add user say developer and his home folder is
developer user can only be logged in through ssh and can not access outside of its home folder and can only run only below command
- composer install
- composer update