Здравствуйте, Polytropon.

Вы писали 14 декабря 2008 г., 15:11:35:

P> On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar
P> <woj...@wojtek.tensor.gdynia.pl> wrote:
>> > su: Sorry
>> >
>> >
>> > kes# pw user mod svn -s /bin/bash
>> > kes# pw user show svn
>> > svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash
>> > kes# /usr/local/etc/rc.d/svnserve start
>> > Starting svnserve.
>> > su: Sorry
>> try to change directory to existent

P> (1) What's /bin/bash? Check existing shell.

P> (2) As you said: Check existing directory.

P> (3) Regarding su, check for wheel group inclusion.

home# uname -a
FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 12 02:11:24 
EEST 2008     k...@kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7  i386
home# pw user show svn
svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin

As you can see on 'home' machine svn user has no valid shell also it
has not valid home directory and it is not included into wheel group

But svnserve is started and works fine. With same settings svnserve
does not work on
kes# uname -a
FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun Nov 23 17:19:12 
EET 2008     k...@home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7  i386

С уважением,
 KES                          mailto:kes-...@yandex.ru

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to