* su, passwd, etc not working
@ 1995-07-20 4:00 Kyle Smith (Brook S)
1995-07-20 4:00 ` Michael Sternberg
1995-07-20 4:00 ` Mike Iglesias
0 siblings, 2 replies; 3+ messages in thread
From: Kyle Smith (Brook S) @ 1995-07-20 4:00 UTC (permalink / raw)
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.
Kyle Smith
Newbie Unix Admin
brooks.mec.edu
--
N. Kyle Smith kysmith@brooks.mec.edu
"So often times it happens that we live our lives in chains,
And we never even know we have the key."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: su, passwd, etc not working
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
1 sibling, 0 replies; 3+ messages in thread
From: Michael Sternberg @ 1995-07-20 4:00 UTC (permalink / raw)
kysmith@k12.oit.umass.edu (Kyle Smith (Brook S)) writes:
> 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.
Depending on how you copied the tree, the permissions (particularly
setugid) might not survived. Her are some random exmples from an
OSF1 V2.0 alpha
> ls -Fls /usr/bin
...
32 -rwxr-xr-x 1 bin bin 32768 Feb 22 1994 checknr*
16 -rws------ 3 root bin 16384 Feb 22 1994 chfn*
24 -rwxr-xr-x 1 bin bin 24576 Feb 22 1994 chgrp*
24 -rwxr-xr-x 1 bin bin 24576 Feb 22 1994 chmod*
24 -rwxr-xr-x 1 bin bin 24576 Feb 22 1994 chown*
16 -rws------ 3 root bin 16384 Feb 22 1994 chsh*
16 -rwxr-xr-x 1 bin bin 16384 Feb 22 1994 cksum*
16 -rws------ 3 root bin 16384 Feb 22 1994 passwd*
64 -rws--x--x 1 root bin 65536 Feb 22 1994 ps*
24 -rws--x--x 1 root bin 24576 Feb 22 1994 su*
128 -rwxr-sr-x 1 uucp uucp 122880 Feb 22 1994 tip*
...
Michael
--
Michael Sternberg, Physics Research Scholar mgs@po.cwru.edu
Case Western Reserve University Lab phone: (216) 368 4034
"Who disturrrbs me at this time?" << Zaphod Beeblebrox IV >>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: su, passwd, etc not working
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
1 sibling, 0 replies; 3+ messages in thread
From: Mike Iglesias @ 1995-07-20 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-07-20 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox