atom feed14 messages in org.freebsd.freebsd-stablecannot su?
FromSent OnAttachments
Ivan VorasJan 15, 2005 4:07 pm 
Kris KennawayJan 15, 2005 4:09 pm 
Ivan VorasJan 15, 2005 4:19 pm 
Kris KennawayJan 15, 2005 4:33 pm 
Ivan VorasJan 15, 2005 5:18 pm 
Robert William VestermanJan 15, 2005 7:32 pm 
David MaloneJan 16, 2005 2:20 am 
Ivan VorasJan 16, 2005 4:12 am 
Michael NottebrockJan 16, 2005 6:41 am 
Thomas DymondJan 16, 2005 9:22 am 
Skylar ThompsonJan 16, 2005 11:00 am 
Ivan VorasJan 17, 2005 6:53 am 
Robert WatsonJan 17, 2005 11:59 am 
Ivan VorasJan 17, 2005 1:16 pm 
Subject:cannot su?
From:Ivan Voras (ivo@fer.hr)
Date:Jan 17, 2005 6:53:05 am
List:org.freebsd.freebsd-stable

Michael Nottebrock wrote:

On Sunday, 16. January 2005 01:07, Ivan Voras wrote:

What could be the reasons for "su root" to not work?

I have a user that's in wheel group. Logging in as root works on the console, but su-ing from the user just writes 'Sorry', like the password's wrong. There are no clues in log files.

Make sure /usr/sbin/su is suid root (and /usr isn't mounted nosuid).

Bingo!

It's stupid of me not to have checked that, but this is a very good candidate for more information/verbosity - failure mode was just like password/credentials were invalid.

I installed the computer from the FreeSBIE live CD, as it already includes a bunch of desktop & multimedia programs I use, and during installation it seems that suid bits were not replicated!

Thanks for the help!