LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-26-2011, 04:07 AM   #1
akshar_kanak
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
loging in ssh with user nmot present in /etc/passwd


Dear team
Is it possible to log in secure shell (openssh ) using a username and password which is not present in "/etc/passwd" .The shell created after authentication should be owned by the logged in user . Is it possible to store the user infromation like uid , gid , home dir , shell in some remote machine instead of /etc/passwd and then retrive the these these information when a session is created for the logged in user .

Thansk and regards
Akshar
 
Old 01-26-2011, 04:54 AM   #2
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239

Rep: Reputation: 30
linux authentication can be done from a central database of users (and their passwords) in a remote machine. Such services are called NIS and LDAP. Search these on google for guides on how to set them up in linux
 
Old 01-26-2011, 06:49 AM   #3
linuxgurusa
Member
 
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151

Rep: Reputation: 29
Quote:
Originally Posted by akshar_kanak View Post
Dear team
Is it possible to log in secure shell (openssh ) using a username and password which is not present in "/etc/passwd" .The shell created after authentication should be owned by the logged in user . Is it possible to store the user infromation like uid , gid , home dir , shell in some remote machine instead of /etc/passwd and then retrive the these these information when a session is created for the logged in user .

Thansk and regards
Akshar
Answer is yes and per CHIKENJOY's answer.

Was that what you are looking for, or are you looking for an option where you only have ONE server, and on that ONE server you would like to authenticate a user, but not add him in /etc/passwd file ?
 
  


Reply



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
Problem with loging ssh with syslog-ng takayama Linux - Server 1 11-26-2010 04:04 PM
SSH user/passwd or PPK secure key foampile Linux - Security 3 05-05-2010 01:20 AM
loging into root user? password? jilloper Linux - Newbie 3 08-15-2007 03:12 AM
problem loging as user to fc3 shams Fedora 1 03-07-2005 04:09 AM
loging off a remote user Law1213 Linux - Security 5 09-07-2004 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:27 AM.

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
Open Source Consulting | Domain Registration