From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b86505af0305ffd5 X-Google-Attributes: gidfee84,public From: iglesias@draco.acs.uci.edu (Mike Iglesias) Subject: Re: su, passwd, etc not working Date: 1995/07/20 Message-ID: <3um5n0$2bq@news.service.uci.edu>#1/1 X-Deja-AN: 106587465 references: <3ulvh1$oqc@nic.umass.edu> organization: University of California, Irvine newsgroups: comp.unix.osf.osf1 In article <3ulvh1$oqc@nic.umass.edu>, Kyle Smith (Brook S) 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