Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jul 1999 17:09:29 +0000 (GMT)
From:      BSD Journal - general <general@shell.bsdjournal.com>
To:        Reinoud Koornstra <Reinoud.Koornstra@ibbnet.nl>
Cc:        "Sloan, Kyle" <ksloan@datatimes.com>, freebsd-questions@FreeBSD.ORG
Subject:   RE: standard shell.
Message-ID:  <Pine.BSF.3.96.990707170614.18036B-100000@shell.bsdjournal.com>
In-Reply-To: <Pine.LNX.3.95.990708000109.23694A-100000@ux1.ibb.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990707170614.18036B-100000>