Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-12-2015, 06:37 AM   #1
Registered: Aug 2015
Posts: 213

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
Senior Member
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,455

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002

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
Registered: Aug 2015
Posts: 213

Original Poster
Rep: Reputation: Disabled
1.I have set password for the new account name--debian7 . to deleted the old security information?By which command?
Old 08-12-2015, 04:43 PM   #4
LQ Addict
Registered: Dec 2013
Posts: 7,341
Blog Entries: 4

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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:01 AM.

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