2

I checked rbash and chroot jail, which doesn't have permission to read /var/log.

Scenario:

ssh user should only able to cd to a directory and do less for files.

eg:

ssh user@server.com
cd /var/log
less application.log

In short an user with global filesystem access with only one binary like less or more to read the file.

0 Answers0