Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2013 13:47:57 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "Ralf Mardorf" <ralf.mardorf@rocketmail.com>
Cc:        FreeBSD quest <freebsd-questions@freebsd.org>
Subject:   Re: Sharing a mail folder between Linux and FreeBSD
Message-ID:  <20130125134757.f1de503d.freebsd@edvax.de>
In-Reply-To: <op.wrgv3hnfuwjkcr@freebsd>
References:  <op.wrguj103uwjkcr@freebsd> <20130125192507.0a0c552d@X220.ovitrap.com> <op.wrgv3hnfuwjkcr@freebsd>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Jan 2013 13:39:07 +0100, Ralf Mardorf wrote:
> Hi Erich :)
> 
> On Fri, 25 Jan 2013 13:25:07 +0100, Erich Dollansky  
> <erichsfreebsdlist@alogt.com> wrote:
> > What happens on a normal TTY?
> >
> >> Ctrl + Alt + F2 >
> >
> > So, you can switch to them. Can you try a su here?
> 
> Ctrl + Alt + F* will open a ttyv*
> 
> I can log in as root, but if I log in as user, I can't run su successfully.

Because as you quoted, the su binary doesn't have the UID 0,
this means it's not owned by root anymore which may have bad
influence on its runtime behaviour. :-)

You have:

-r-sr-xr-x  1 rocketmouse  wheel  16880 Dec 23 18:38 /usr/bin/su

You should have:

-r-sr-xr-x  1 root  wheel  14604 2011-08-21 20:24:28 /usr/bin/su*

As I mentioned in my previous message, somehow the UID change
had some strange side effects.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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