Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 1999 20:38:45 +0000 (GMT)
From:      sopel@nemezis.ipan.lublin.pl (Wojtek)
To:        freebsd-bugs@freebsd.org
Subject:   login bug ?
Message-ID:  <19990310203845.6A02B1F1A8@nemezis.ipan.lublin.pl>

next in thread | raw e-mail | index | archive | help
Hey. I have a story to tell.

My great FreeBSD system:

> dante# uname -a
> FreeBSD dante.hell.org 3.1-RELEASE FreeBSD 3.1-RELEASE #8: Mon Mar  8 13:56:44 GMT 1999     root@dante.hell.org:/usr/src/sys/compile/DANTE  i386

Meet my hero - mieciu:

> [wojtek@dante][19:52] ~ > grep mieciu /etc/passwd
> mieciu:*:1001:1001:dupa:/usr/home/friend/mieciu:/usr/local/bin/tcsh

And his group:

> dante# grep 1001 /etc/group
> friend:*:1001:

mieciu tries to log in:

> login: mieciu
> Password:
> No home directory.
> Logging in with home = "/".
> Last login: Wed Mar 10 19:49:52 on ttyv1
> Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
>         The Regents of the University of California.  All rights reserved.
> 
> dante#

Here we have the directory permissions:

> dante# ls -ald / /usr /usr/home /usr/home/friend /usr/home/friend/mieciu
> drwxr-xr-x  18 root    wheel   512  8 Mar 13:57 //
> drwxr-xr-x  19 root    wheel   512  9 Mar 12:51 /usr/
> drwxr-xr-x   5 root    wheel   512 10 Mar 19:43 /usr/home/
> drwx--x---   3 root    friend  512 10 Mar 19:43 /usr/home/friend/
> drwx------   2 mieciu  friend  512 10 Mar 19:43 /usr/home/friend/mieciu/

What am I doing wrong ?

Greetings,
sopel


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990310203845.6A02B1F1A8>