John Von Essen on 19 Aug 2005 02:09:13 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Terminal/shell login with no password


Use "vipw" to edit the password file when making these types of changes, DONT simply edit /etc/passwd.

clear out the password between the two colons

You want -> user::1000:1000  instead of ->  user:$1Sfd5s:1000:1000

Then save and exit out of vipw. That should be it.

-john


On Aug 20, 2005, at 8:29 PM, Eric wrote:

I need some SysAdmin advice...

I have a Red Hat box that I'm installing some software on and the users expect
to connect with no password. I'm okay with that since it's not on the
network and they are all hard-wired terminals. First I tried zeroing out the
password in the neat little gooey (GUI) tool but it won't let me save the
user that way. Failing that, I tried to replace the "x" in the password file
with nothing. No joy - the login fails without even asking for the password.


Does this mean that I have to tinker with PAM? Last time I tried that I
froze myself out of the damn box so bad I had to boot into single user mode
and un-do my mistake(s). Since then I've just left it alone :-)


Thanks,
Eric
-- ----------------------------------------------------------------------- -
# Eric A Lucas
# ------------
# "Oh, I have slipped the surly bond of earth
# and danced the skies on laughter-silvered wings...
# -- John Gillespie Magee Jr.
_______________________________________________________________________ ____
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug



___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug