Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: iglesias@draco.acs.uci.edu (Mike Iglesias)
Subject: Re: su, passwd, etc not working
Date: 1995/07/20	[thread overview]
Message-ID: <3um5n0$2bq@news.service.uci.edu> (raw)
In-Reply-To: 3ulvh1$oqc@nic.umass.edu

In article <3ulvh1$oqc@nic.umass.edu>,
Kyle Smith (Brook S) <kysmith@k12.oit.umass.edu> wrote:
>  We have an interesting problem.  Trying to crete more space in /usr I
>tried to move the files from /usr/bin into another directorry.  After
>realizing this was a bad idea (and thus moving them back) I found out that
>su, passwd and all other security related commands (chfn chsh etc) dont
>work.  I assume that somehow some security "feature" is disabling them, but
>I dont know how to get it back so that they do work...Any help would be
>greatly appriciated.

You've probably got the protections/owners of the files wrong.  For the
ones you listed, they should be:

-rws--x--x   3 root     bin        16384 Feb  2 20:03 passwd*
-rws--x--x   1 root     bin        24576 Feb  2 20:05 su*

chsh and chfn should be hard links to passwd.

To figure out what the files should be set to, go into /usr/.smdb. and

  % grep /usr/bin OSF*.inv >/tmp/flist

This will give you a list of files that were put into /usr/bin.  In
each of the records, you'll find the owner in field 4, group in field 5,
and mode in field 6 (counting from 1).  

-- 
Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       (714) 824-6926
Office of Academic Computing         FAX:         (714) 824-2069




      parent reply	other threads:[~1995-07-20  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-20  4:00 su, passwd, etc not working Kyle Smith (Brook S)
1995-07-20  4:00 ` Michael Sternberg
1995-07-20  4:00 ` Mike Iglesias [this message]
read-only archive

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