Date: Wed, 25 Dec 1996 22:44:11 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: "Miten N. Mehta" <mmehta@cs.tamu.edu> Cc: questions@freeBSD.org Subject: Re: problem Message-ID: <Pine.BSI.3.94.961225224156.281I-100000@localhost> In-Reply-To: <Pine.SUN.3.91.961224001757.17411B-100000@mozart>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Dec 1996, Miten N. Mehta wrote: > Then also other users with "tcsh" were fine, while logging in they were > fine too. But I noticed that still the first user did not get the "tcsh" > when logged in after change. So I deleted that user by removing the > entries for that first user from both the files - /etc/passwd and > /etc/master.passwd. Never edit these files directly. Use: vipw -or- chsh > Then I rebooted the computer by shutdown command. Before that I ran > "fsch" and when it asked to fix the CLEAR FLAG, I had told yes. You don't need to run fsck before shutting down. > After rebooting, now root is working fine but with the users having > "tcsh" as initial shell are facing problem and when I login as those > users, I got following error messages ( I am dumping the screen I get ... > > tcsh: Permission denied > tcsh: Trying to start from "/home/vaidya" > tcsh: Trying to start from "/" > tcsh: Cannot open /etc/termcap. > tcsh: using dumb terminal settings. Your permissions appear to be seriously broke. Delete (using pkg_delete) and reinstall tcsh. > Also > - tell me how to remove users > - how to change shell of theirs 1. use vipw 2. delete the user's entry in there, save & quit 3. delete their home directory with rm -rf /home/user 4. edit /etc/group, remove all occurances of user All should be good. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.961225224156.281I-100000>
