Tag Info

Hot answers tagged

2

If it would work, you should probably have: ChrootDirectory /home/jon the home dir of pub in /etc/passwd just set to /pub. /home/jon must be owned by root and writable only by root. You also need a working root dir with all you need in /home/jon, such as bin (for the shell), lib (shared libs), etc (passwd for uid-to-name conversion) and so on. It is ...


1

Based on the definition of auid from this SuSE page, titled: Understanding the Audit Logs and Generating Reports: auid The audit ID. A process is given an audit ID on user login. This ID is then handed down to any child process started by the initial process of the user. Even if the user changes his identity (for example, becomes root), the ...


1

I was experimenting with a ubuntu machine for trying to find a solution for you. When you create a user and delete it and then create a user again, the second user takes the uid of the deleted user so it s hard to find the amount of users by this technic. I suppose there is no command for your willing actions. I think you re going to find your answer by ...


1

I tested this in a virtual machine context: the SSH server is Cygwin (also VM host); the client is Arch Linux SSH (also VM guest). I used the following script. I am not chrooting so I don't need to copy any binaries in the shared folder, only to copy the public key. Anyway I think that, using the internal-sftp (not SSH), binary requirements should be ...



Only top voted, non community-wiki answers of a minimum length are eligible