From owner-freebsd-questions Wed May 13 13:39:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12236 for freebsd-questions-outgoing; Wed, 13 May 1998 13:39:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from harfang.CC.UMontreal.CA (harfang.CC.UMontreal.CA [132.204.2.102]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA12180 for ; Wed, 13 May 1998 13:39:01 -0700 (PDT) (envelope-from beaupran@JSP.UMontreal.CA) Received: from epsom.jsp.umontreal.ca (epsom.JSP.UMontreal.CA [132.204.45.25]) by harfang.CC.UMontreal.CA (8.8.8/8.8.8) with SMTP id QAA14909; Wed, 13 May 1998 16:38:57 -0400 (EDT) Received: from derby.jsp.umontreal.ca (derby.jsp.umontreal.ca [132.204.46.26]) by epsom.jsp.umontreal.ca via ESMTP (951211.SGI.8.6.12.PATCH1502/JSP1789) id QAA25655; Wed, 13 May 1998 16:39:00 -0400 Received: from localhost (beaupran@localhost) by derby.jsp.umontreal.ca via SMTP (951211.SGI.8.6.12.PATCH1502/JSP1789) id QAA05467; Wed, 13 May 1998 16:38:58 -0400 X-Authentication-Warning: derby.jsp.umontreal.ca: beaupran owned process doing -bs Date: Wed, 13 May 1998 16:38:57 -0400 (EDT) From: BEAUPRE Antoine To: Heinrich Langos cc: freebsd-questions@FreeBSD.ORG Subject: Re: renaming of usernames and homedirectories In-Reply-To: <199805131953.VAA16206@zaphod.wh9.tu-dresden.de> 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 On Wed, 13 May 1998, Heinrich Langos wrote: > Hi > > first of all i have to admit that i'm a linux user so some of the concepts > of freebsd look a little strange to me. now i'm stuck with a system that i > have to maintain as long as the owner is ill. Good thing! > 1) > how do I rename a user in FreeBSD 2.2.5 on linux i just go and change his > name in /etc/passwd and maybe even in /etc/shadowpasswd and thats it. try the command pw. See the man page. Try : pw usermod oldname -l newname it should do it. > but in Freebsd the name is also saved in that non-human-readable database > files. :-( > is there any use in that except for security by obscurity? (which history > has shown doesn't work anyway) and how do i get around it ? I dunno. But I'm curious... Which part of history has shown this? > 2) > > another problem is that i can't change a users home directory. if i change > it to something different and log in i'm sent to "/". changing the password > of that user overwrites my changes that i made to /etc/passwd and > /etc/master.passwd and replaces the home directory entry with the old one. Again, pw -m -d /newdirectory should do it. > 3) > > last but not least ... is there a way to search the old digests of the > freebsd mailing lists ? the sun administrators list is a great example of > how to do that: http://www.dataman.nl/cgi-bin/sunmanagers > I had to manage a network of sun computers for some time and this > searchengine saved me at least a year of my life. half a year that i would > have spent searching other places and half a year that i would have died > earlier because of stress and frustration with that closed system :-) On the freebsd homepage, you can search the mailing lists in the "Search" section... > ______________________________________________________________________ > |o| The reason we come up with new versions is not to fix bugs. |o| > |o| It's absolutely not. It's the stupidest reason to buy a new |o| > |o| version I ever heard. -- Bill Gates, CEO, Microsoft Corporation |o| > |o| BOYCOTT MICROSOFT: |o| > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Is that an authentic citation??? Funny! +-----------------------------------+ | Free the world from businessmen | | Free yourself from your money | +-----------------------------------+ Free the web. Spidey visit: http://www.JSP.UMontreal.CA/~beaupran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message