Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2005 13:05:49 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Dixit, Viraj" <Viraj.Dixit@CityofPaloAlto.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SU Question
Message-ID:  <20050512180549.GH2567@dan.emsphone.com>
In-Reply-To: <A3114C5FA7BA8E4B8F20A198F89917503E7614@xiris.staff.copa>
References:  <A3114C5FA7BA8E4B8F20A198F89917503E7614@xiris.staff.copa>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 12), Dixit, Viraj said:
> I am getting this error message when I try to logon using "su"
> command through Telnet remotely. All this started when I accidentally
> changed permissions, since then all permissions have been restored,
> yet the same error.
>  % su
> Password:
> su: setting user context: Operation not permitted 

Check the permissions on /usr/bin/su.  They should be

-r-sr-xr-x

If they aren't, run "chmod a=rx,u+s /usr/bin/su" as root to fix it.
You'll probably need to do this directly from the console, since you
can't use su :)

-- 
	Dan Nelson
	dnelson@allantgroup.com



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