From owner-freebsd-questions Wed Jul 7 15:10:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from shell.bsdjournal.com (unknown [207.227.33.185]) by hub.freebsd.org (Postfix) with ESMTP id 2CBF514E32 for ; Wed, 7 Jul 1999 15:10:42 -0700 (PDT) (envelope-from general@shell.bsdjournal.com) Received: from localhost (general@localhost) by shell.bsdjournal.com (8.8.8/8.8.8) with SMTP id RAA18088; Wed, 7 Jul 1999 17:09:29 GMT (envelope-from general@shell.bsdjournal.com) Date: Wed, 7 Jul 1999 17:09:29 +0000 (GMT) From: BSD Journal - general To: Reinoud Koornstra Cc: "Sloan, Kyle" , freebsd-questions@FreeBSD.ORG Subject: RE: standard shell. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The password file is generated from /etc/master.passwd. If you absolutely have to, just edit /etc/master.passwd and run pwd_mkdb. But why not just run vipw? The advantages of using your system as a user are simple: You dont fuck stuff up, and you can IRC. The user just has READ acecss to those directories. He cant do much with it, so let him have it. -Patrick On Thu, 8 Jul 1999, Reinoud Koornstra wrote: > Well, okay, but why wont i change the /etc/password manually? > Secondly, why should i use vipw, what has it got that other dont? > Last of all, then how should i change the login shell as root? > And yes i do everything as root, why not? I setup my system, i installed > bsd on it and now everything works, even the soundcard, thanks to you all. > So why not beging root? last of all, when i add a user, (i did it lately) > that user has acces to all dirs and so on, how to change that? i dont want > him/her to look in /boot, /etc, /usr the users must ONLY have acces to > home/[username]..... how to do that? > Sincerely, > > Reinoud. > > On Wed, 7 Jul 1999, BSD Journal - general wrote: > > > Uh, no. First of all, you really shouldnt do your every-day stuff as root, > > ie games, etc. Second of all, you do NOT edit the password file manually > > nor is it called /etc/password. > > > > If you absolutely have to change the shell, use vipw. > > > > -Patrick > > > > On Wed, 7 Jul 1999, Sloan, Kyle wrote: > > > > > Try /etc/password. > > > > > > Be cautious of where you install bash though. It usually installs into > > > /usr/local/bin, which may not be available in the event of a system crash. > > > > > > You could set the password for the toor account, and leave its shell as > > > /bin/sh to get around this. > > > > > > Kyle Sloan > > > Data Communications Engineer > > > Oklahoma City Operations > > > Bell & Howell Information & Learning > > > > > > > > > -----Original Message----- > > > From: Reinoud Koornstra [mailto:Reinoud.Koornstra@ibbnet.nl] > > > Sent: Wednesday, July 07, 1999 4:22 PM > > > To: Val Kilmer > > > Cc: Reinoud Koornstra; freebsd-questions@FreeBSD.ORG > > > Subject: standard shell. > > > > > > > > > Dear Folks, > > > > > > In what file can i tell what the standard shell for the root user is? > > > I installed bash2 and want it as standard shell. > > > Bye, > > > > > > Reinoud. > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > ********************************************************************** > > > This email and any files transmitted with it are confidential and > > > intended solely for the use of the individual or entity to whom they > > > are addressed. If you have received this email in error please notify > > > the system manager. > > > > > > This footnote also confirms that this email message has been swept by > > > MIMEsweeper for the presence of computer viruses. > > > > > > www.mimesweeper.com > > > ********************************************************************** > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message