Re: cannot su?

2005-01-17 Thread Ivan Voras
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

Re: cannot su?

2005-01-17 Thread Robert Watson
On Mon, 17 Jan 2005, Ivan Voras wrote: 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

Re: cannot su?

2005-01-17 Thread Ivan Voras
Robert Watson wrote: I've modified the su(1) source in HEAD to print a message if su(1) is executed without an effective uid of 0 (i.e., as root, or setuid as another user). Hopefully this error message will be more suggestive than sorry: paprika:~/freebsd/commit/src/usr.bin/su ./su su: not

Re: cannot su?

2005-01-16 Thread David Malone
On Sat, Jan 15, 2005 at 10:46:03PM -0500, Robert William Vesterman wrote: I have a similar problem, but only after I use X. I can su perfectly fine before using X, and I can su perfectly fine while using X (and a terminal window), but after exiting X, if I want to su, I have to reboot. You

Re: cannot su?

2005-01-16 Thread Ivan Voras
Thomas Dymond wrote: Could this be anything to do with : security.bsd.suser_enabled what's yours set to ? security.bsd.suser_enabled: 1 But, I noticed I've got security.mac.* enabled somehow (it's not my kernel...) - could MAC be interfering? ___

Re: cannot su?

2005-01-16 Thread Michael Nottebrock
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

Re: cannot su?

2005-01-16 Thread Thomas Dymond
+++ Ivan Voras [Sunday 16 January 2005 02:18]: Kris Kennaway wrote: On Sun, Jan 16, 2005 at 01:15:34AM +0100, Ivan Voras wrote: Kris Kennaway wrote: /etc/pam.d/su is identical to another machine where everything works ok. OK. /etc/pam.d/su on 5.3 includes /etc/pam.d/system, so also

Re: cannot su?

2005-01-16 Thread Skylar Thompson
On Sun, Jan 16, 2005 at 01:07:07AM +0100, 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

cannot su?

2005-01-15 Thread Ivan Voras
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. /etc/pam.d/su is identical to another machine where

Re: cannot su?

2005-01-15 Thread Kris Kennaway
On Sun, Jan 16, 2005 at 01:07:07AM +0100, 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

Re: cannot su?

2005-01-15 Thread Ivan Voras
Kris Kennaway wrote: On Sun, Jan 16, 2005 at 01:07:07AM +0100, Ivan Voras wrote: /etc/pam.d/su is identical to another machine where everything works ok. You forgot to mention what version (4.x doesn't use /etc/pam.d) oops. 5.3-release. ___

Re: cannot su?

2005-01-15 Thread Kris Kennaway
On Sun, Jan 16, 2005 at 01:15:34AM +0100, Ivan Voras wrote: Kris Kennaway wrote: On Sun, Jan 16, 2005 at 01:07:07AM +0100, Ivan Voras wrote: /etc/pam.d/su is identical to another machine where everything works ok. You forgot to mention what version (4.x doesn't use /etc/pam.d) oops.

Re: cannot su?

2005-01-15 Thread Ivan Voras
Kris Kennaway wrote: On Sun, Jan 16, 2005 at 01:15:34AM +0100, Ivan Voras wrote: Kris Kennaway wrote: /etc/pam.d/su is identical to another machine where everything works ok. OK. /etc/pam.d/su on 5.3 includes /etc/pam.d/system, so also make sure they're in sync. /etc/pam.d/system is the same as

Re: cannot su?

2005-01-15 Thread Robert William Vesterman
I have a similar problem, but only after I use X. I can su perfectly fine before using X, and I can su perfectly fine while using X (and a terminal window), but after exiting X, if I want to su, I have to reboot. Ivan Voras wrote: What could be the reasons for su root to not work? I have a