LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't login into debian with the account any mor. (https://www.linuxquestions.org/questions/linux-newbie-8/cant-login-into-debian-with-the-account-any-mor-4175550559/)

luofeiyu 08-12-2015 05:37 AM

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

wpeckham 08-12-2015 05:52 AM

Hmmm
 
After deleting the account and adding it, did you set a password for it?
Deleting the account also deleted the old security information.

luofeiyu 08-12-2015 07:35 AM

1.I have set password for the new account name--debian7 .
2.how to deleted the old security information?By which command?

ondoho 08-12-2015 03:43 PM

Quote:

Originally Posted by luofeiyu (Post 5404711)
Code:

rm  -rf  ///Trash://*

what exactly will this command do when run as root???


All times are GMT -5. The time now is 08:39 PM.