LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   user management (https://www.linuxquestions.org/questions/linux-newbie-8/user-management-936475/)

yashvanth 03-26-2012 07:00 AM

user management
 
hi i am very new to linux.
i created one user and trying to login when the other person is logged in in the terminal
using the following command
su -username
the problem is it is not asking for the password for the user and it is directly logging in?
how to resolve this issue so that whenever some other users trying to login it should ask the password for the user and after authenticating system should allow user to log in.

acid_kewpie 03-26-2012 07:03 AM

"su -username" wouldn't work, you mean "su - username" right? if there 1) is a password on that account AND 2) you are not doing this as root, then you WILL be asked for the password. I guess that you're root personally, otherwise, set the password with "passwd username"

yashvanth 03-26-2012 07:06 AM

re
 
ya su -username only
ya i am personnely root user
from root previelage i am trying to login as another user and that user account has an password also
thank you
i will try to login as other user and then i will try to login as new user


All times are GMT -5. The time now is 03:04 AM.