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 11-04-2012, 01:37 AM   #1
ln00biel
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
Remote login even if user account has been deleted


Hi,

My question is: will a user be able to login remotely even though his account was deleted on the local machine but his home directory and login shell still exists?

Thank you.
 
Old 11-04-2012, 02:28 AM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,591

Rep: Reputation: 162Reputation: 162
Not if you used a program like userdel.
 
Old 11-04-2012, 05:14 AM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
It sounds a case like you've removed the account entry from /etc/passwd, but it's home dir. has not yet deleted. In any case, that user cannot login, because user identification is done by the system by reading /etc/passwd file. When it won't get user's entry there, it won't allow such non-exxisting user to login.
One more thing, is there using any name services like NIS or NIS+ for central managment of the user accounts, or you're managing them locally, on every system?

Last edited by shivaa; 11-04-2012 at 05:16 AM.
 
Old 11-04-2012, 05:51 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
The user's home directory is----just a directory. In /home, you could create all manner of directories, but that would not create users.

I don't understand the part about a "login shell". When creating a user, you specify what shell is to be used when that person logs in. If the user is NOT logged in, then I don't think anything special is there.

This is one of those situations where we need to ask: "What problem are you trying to solve?"
 
  


Reply

Tags
home directory, remote login


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
how do I allow remote access to a server running on my user account? bvn Linux - Networking 8 07-16-2010 09:50 PM
Recover files from a Deleted User account cekflores Linux - Newbie 4 03-06-2008 12:15 AM
How do I check a user account to see when the last login was? jdcsyoung Linux - General 2 02-11-2008 01:26 PM
Setting up an account to allow remote login. pritchardtom Linux - Networking 1 10-05-2006 04:18 PM
can't login as user account tchoua Mandriva 23 02-23-2005 02:49 PM


All times are GMT -5. The time now is 08:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration