Thread: Restricting bash
i have user, , want him able run 1 command when logs in. command under /usr/bin. called script on remote system, cannot link or change command name. bash -r perfect, can't execute commands slashes in them. cannot change way command called. so, user needs execute /usr/bin/<command> , absolutely nothing else. ideas how can make happen using bash?
you chroot jail , put 1 command in jail's /usr/bin. interested hear of other ideas.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Security [all variants] Restricting bash
Ubuntu
Comments
Post a Comment