Hot answers tagged


It is likely that the root user on your system is set up with a different default $PATH compared to that of non-root users. The default paths are specified in /etc/profile, /etc/login.defs, /etc/login.conf or some other file either read by the shell, or by the login command. It differs from system to system. The ufw command might, for example, live in /usr/...


I assume that the reason for the error is that the user exists in the old file system, but not the new one that you have changed to with chroot. If I knew exactly where all the user details are held, I could advise on which files and directories from the old file system should be copied / linked / mounted into the new, in order that the old users can log ...


Not sure if this is typical, but I was able to get it to work by simply running: sudo apt-get install ruby

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