tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY Can't resolve user and group names
@ 1999-11-19 13:34 Scott Brewster
  0 siblings, 0 replies; only message in thread
From: Scott Brewster @ 1999-11-19 13:34 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,

I have received three responses so far, all of them helpful. The respondents
were Bob Sloane, Denise Dumas, and Bruce Senn.

QUESTION:

After performing an upgrade of Digital Unix 4.0D to Compaq Tru64 Unix
V4.0F and then to Compaq Tru64 UNIX V5.0, a problem was occuring:

After logging in as a normal user, or by using the su command as
root, to become a different user, then typing "id", we get the message:

	uid=204
	Could not get "user" information

Also, the "ls" command cannot seem to convert numeric uids to strings.

$ ls -l /etc/passwd /etc/group
-rw-r--r--   1 0        0            390 May 25 12:28 /etc/group
-rw-r--r--   1 0        0            899 Nov 18 16:50 /etc/passwd

As you can see, the user and group names aren't resolving properly, but
the /etc/passwd and /etc/group files are readable. Non-root users can even
"cat" these files to list the contents.

SOLUTION:

The suggestion which worked was to check "/etc/sia/matrix.conf", which should
have 644 permissions. Our copy didn't. After resetting the permissions on this
file, everything looks fine again.


Other suggestions included: 

* Checking the permissions on /etc to make sure non-root users could search
the directory.

* Confirm that the system really is in enhanced security mode:

	grep -i sec /etc/rc* and look for a line that says SECURITY="ENHANCED"

* Check the user account files used with enhanced security for correct
permissions:

# ls -l /var/tcb/files/auth.db
-rw-rw----   1 auth     auth       16384 Nov 17 19:49 /var/tcb/files/auth.db

# ls -l /tcb/files/auth.db
-rw-rw----   1 auth     auth       16384 Nov 17 20:44 /tcb/files/auth.db

A valid user will have an entry in /etc/passwd and in auth.db. Try authck -p
-v to sanity check  /etc/passwd and /var/tcb/auth.db

Scott

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-11-19 13:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-19 13:34 SUMMARY Can't resolve user and group names Scott Brewster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox