SU Question

Dan Nelson dnelson at allantgroup.com
Thu May 12 11:05:51 PDT 2005


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 at allantgroup.com


More information about the freebsd-questions mailing list