LinuxQuestions.org
Visit Jeremy's Blog.
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 08-12-2015, 06:37 AM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 153

Rep: Reputation: Disabled
can't login into debian with the account any mor.


My system is debian7.8,there are two accounts in it ,one is root one is debian7.
The command was runned yesterday.
rm -rf ///Trash://*
I found that only root can login into,the account debian7 can't.
userdel debian7
useradd debian7

The strange thing : i can't still login into debian7 after running the two commands.

userdel debian7
useradd debian7
 
Old 08-12-2015, 06:52 AM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 1,793

Rep: Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618
Hmmm

After deleting the account and adding it, did you set a password for it?
Deleting the account also deleted the old security information.
 
Old 08-12-2015, 08:35 AM   #3
luofeiyu
Member
 
Registered: Aug 2015
Posts: 153

Original Poster
Rep: Reputation: Disabled
1.I have set password for the new account name--debian7 .
2.how to deleted the old security information?By which command?
 
Old 08-12-2015, 04:43 PM   #4
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,615

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Quote:
Originally Posted by luofeiyu View Post
Code:
rm  -rf  ///Trash://*
what exactly will this command do when run as root???
 
  


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
Deleted default login account, now stuck on timer (no login) rrtn Linux - Newbie 4 12-11-2013 02:04 PM
gvim hangs in squeeze release(debian) with root account, but not with common account. tomtforever Linux - General 1 04-18-2013 06:01 AM
[SOLVED] SSH - How can I only allow a key pair login for my user account not root account? shanekelly Linux - Security 5 01-25-2013 10:45 AM
Eee PC 1000 Linux Laptop - Just setup a login account for privacy, now can't login!!! martinkettle Linux - Laptop and Netbook 3 10-28-2008 06:21 AM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 11:02 AM


All times are GMT -5. The time now is 08:47 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