Hi I am not very experienced with user management in ubuntu. I needed to create a new user to manage my application server so following some instructions online, this is what i did:
I became root
I added a group
I added a user and assigned it to a group
useradd -g jbossgroup jboss
I created a password
Then I changed the ownership of a folder to check that the user was correctly created and that working fine.
chown jboss:jbossgroup /opt/jboss-as-7.1.1.Final/ -R
I made this user sudoer
gpasswd -a jboss sudo
But i think this is not working since when I use mkdir or rm... in a folder owned by root, i have to type sudo.(Did i do this step correctly?)
The next thing I noticed was that when i changed to the newly created user, the terminal only displayed this:
So I fixed that by doing this as the jboss user:
chsh -s /bin/bash
I have some doubts
Did I correctly create this user and is it safe to work with it?
Why the name of the user doesn't appear in the drop down menu when I click the shutdown button(Next to the time in the top right corner of the screen)?
Also I noticed that in the home folder there is not a jboss folder. Why this was not created?
What other features this user might be missing?