Hi. I added a new user to my linux box using
But this user can't execute some important commands to me.
How to do this user be able to run some applications I want?
Can someone please explain to me how chef works? That is a pretty broad question, so to narrow it down I have this very simple recipe that loops over a list of users and creates each one if they do not already exist. It does not work.
I just tried the following to add a new user, chroot the user and give him access to the folder /home/me/public_html via sftp and ssh :
##the following command are done by root or a sudo user
##add password for new user
## add user to sudo group which could be wheel or sudo depending on your setup
usermod -G wheel <username>
##add user to apa
Hello Linux gurus. I am having a very strange user management issue on one of my servers. Whenever I attempt to remove one user in particular using userdel I get a message that the user cannot be removed from /etc/passwd. I have tried both -r and -f operands as well with userdel.
When I check the /etc/passwd file I do not see an entry for the user.
I changed an account on a Windows 7 machine from 'user' to my own name, and after rebooting, my name is the value of the environment variable USERNAME. But USER is still set to 'user'. How do I change that? Where does the value of USER come from?
$ set | egrep "USER=|USERNAME="
Ok here's the deal - im new to SSH and have been googling around trying to figure this out.
Objective for me has been to create a FTP user that can login only to: /var/www/mydomain.com/ - however what I experience is that the user I create gets logged into /home/username and that I can actually browse all other folders on the server with this user.