Open jarain78 opened 10 years ago
Thanks for share
hi, one question how can I deactivate the login and password on debian?.
thanks
Hi, If you want delete a user on debian
execute userdel USERNAME
then rm /home/USERNAME -r
If you don't want to delete the user, you can change the password to something invalid in /etc/shadow (locking the account from passworded logins) or change the login shell as described here
http://serverfault.com/a/576794/225553
The commands are
passwd -l LOGINNAME
... This prevents LOGINNAME's account from logging in via a password prompt (ssh keys will still work)
or
chsh -s /bin/false LOGINNAME
... This sets LOGINNAME's account to /bin/false (which isn't - or shouldn't be - in /etc/shells) so the user will not be able to logon interactively.
If you just wish to delete a user, use
userdel LOGINNAME
or
userdel -r LOGINNAME
if you wish to remove the mailspool and the home directories. You could use the -f option if the user is still logged in, but it's not recommended.
I hope that helps!
On 10 June 2014 09:07, michalliu notifications@github.com wrote:
Hi, If you want delete a user on debian execute userdel USERNAME then rm /home/USERNAME -r
— Reply to this email directly or view it on GitHub https://github.com/cubieplayer/Cubian/issues/313#issuecomment-45584988.
Earth. What a planet. On Earth, you enjoy eating a tasty clam. On my planet, clams enjoy eating a tasty you. -Dr ZoidBerg
Hi mi name is Jaime and I'm working with your cubian, and I create a program to controll the IO pins. This is my github:
https://github.com/jarain78/Cubian_JAVA_GPIO
I hope this code helps you.