Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-20-2006, 10:45 AM
|
#1
|
LQ Newbie
Registered: Mar 2005
Distribution: Mandrake 9.2
Posts: 2
Rep:
|
Blank passwords??
Hi
I would like to change a user's password for a blank one. The system doesn't let me do this. I am using 'passwd username' command. When I change an entry in the /etc/shadow file ( simply I was trying to remove the encrypted password, then I am not able to log on the machine at all. Is there any relation with PAM? Please help me.
|
|
|
03-20-2006, 12:40 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
passwd -d username
please check the mapages for minor usage options in future.
|
|
|
03-20-2006, 12:56 PM
|
#3
|
Moderator
Registered: May 2001
Posts: 29,415
|
And it goes w/o saying that accounts w/o passes aren't good for system security unless they're system accounts w/o shell and all that.
|
|
|
03-20-2006, 01:08 PM
|
#4
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505
Rep:
|
There is also a definition in /etc/login.defs that let's you define that no password is required when logging in from "trusted" (local) consoles:
NO_PASSWORD_CONSOLE tty1:tty2:tty3:tty4:tty5:tty6
User accounts will still have passwords, it's just not asked upon login.
|
|
|
All times are GMT -5. The time now is 04:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|