atom feed12 messages in org.freebsd.freebsd-questionsRe: renaming of usernames and homedir...
FromSent OnAttachments
Jason C. WellsMay 13, 1998 10:16 am 
Heinrich LangosMay 13, 1998 12:52 pm 
BEAUPRE AntoineMay 13, 1998 1:38 pm 
CyberPeasantMay 13, 1998 3:00 pm 
Dima DorfmanMay 13, 1998 6:10 pm 
CyberPeasantMay 13, 1998 6:28 pm 
Greg LeheyMay 13, 1998 6:54 pm 
Dima DorfmanMay 13, 1998 7:08 pm 
CyberPeasantMay 14, 1998 12:31 am 
Bryan K. OgawaMay 14, 1998 4:04 am 
Scott MitchellMay 14, 1998 5:20 am 
Doug WhiteMay 15, 1998 4:43 pm 
Subject:Re: renaming of usernames and homedirectories
From:Jason C. Wells (jcwe@u.washington.edu)
Date:May 13, 1998 10:16:06 am
List:org.freebsd.freebsd-questions

On Wed, 13 May 1998, Heinrich Langos wrote:

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.

Use 'vipw' to maintain the passwd databases and their shadows simultaneously.

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 ?

Yes there is use in using shadow passwd databases. Are you saying that cracking DES is trivial? (Not a dictionary attack on user passwords, but the cipher itself.)

To get around it just don't even install DES or the like to begin with. I don't recommend it. Security is a puzzle. You don't want to give away any pieces if you can help it.

Keeping passwords in the clear certainly is not recommended.

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 'vipw' To change a password use the 'passwd' command.

last but not least ... is there a way to search the old digests of the

You can search the archives. The link is under documentation at www.freebsd.org.

Thank you, | Try some of this. It will show you where you're at. Jason Wells | http://www.freebsd.org/

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message