Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 1998 16:38:57 -0400 (EDT)
From:      BEAUPRE Antoine <beaupran@JSP.UMontreal.CA>
To:        Heinrich Langos <heinrich@zaphod.wh9.tu-dresden.de>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: renaming of usernames and homedirectories
Message-ID:  <Pine.SGI.3.96.980513163029.4931A-100000@derby.jsp.umontreal.ca>
In-Reply-To: <199805131953.VAA16206@zaphod.wh9.tu-dresden.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <http://www.vcnet.com/bms/>;                   |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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.96.980513163029.4931A-100000>