LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2012, 07:00 AM   #1
yashvanth
LQ Newbie
 
Registered: Mar 2012
Posts: 23

Rep: Reputation: Disabled
Post 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.
 
Old 03-26-2012, 07:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
"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"
 
Old 03-26-2012, 07:06 AM   #3
yashvanth
LQ Newbie
 
Registered: Mar 2012
Posts: 23

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changing home directory permission in user management after user created in suse(KDE) hamedhsn Linux - Security 4 04-06-2011 09:18 PM
User management is_numeric Linux - Newbie 3 04-29-2010 07:28 AM
User Management winsock Linux - Security 4 03-22-2009 11:55 AM
User Management netwalker1 Linux - Software 2 12-07-2004 01:38 AM
user management newuser455 General 2 10-21-2004 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration