SUMMARY: ftp OK; login not OK

From: Philip Hurvitz (
Date: Fri Apr 03 1998 - 14:03:08 CST

Shoot me in the foot now, please.

Thanks to everyone who suggested booting into single-user mode (boot -s).
This allowed me to look at file ownership. Seems like my neat little
script copied files and changed ownership to the new user. The problem
was that the script changed ownership of / rather than the new
user's home. I did stop the script in time so that all files did not
change ownersip, just some of the files in /usr. So I did

        find / -user fe -exec chown root {}\;

Although I'm just guessing that root owned all of those files. I'll do a
restore when time permits to make sure that ownership is reset to how it
should be, but for now our small group of users can at least log on.



Original Posing:
On Tue, 31 Mar 1998, Philip Hurvitz wrote:

> Platform: Sparc Ultra 1, 128 MB RAM, Solaris 2.5.1
> I have a perplexing problem. Today I added a user and used a script which
> copies the .Xdefaults, etc. to the new user's home directory. I had made
> a minor change to the script (mistake #1; I was attemting to make the
> script more flexible), and now the machine complains that there is
> no /etc/shadow file when attempting an "su." However, /etc/shadow is
> definitely there.
> Having logged off (mistake #2), I cannot now log back on at the console or
> via telnet. But I can ftp using the same passwds as before. Funny thing
> is that the user home dir now shows the same contents as /home. I cannot
> see any symlinks in the ftp output.
> Any ideas short of doing a restore?
> -P.
> ***************************************************************************
> Phil Hurvitz | GIS Specialist | College of Forest Resources | 355 Bloedel
> Box 352100 | University of Washington, Seattle, Washington 98195-2100, USA
> tel: 206.685.8179 | FAX: 206.685.3091 | e-mail:
> WWW:
> ***************************************************************************

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:35 CDT