Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2014 08:19:22 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: ssh + su problem
Message-ID:  <20140604061922.GA2130@La-Habana>
In-Reply-To: <slrnlosgkh.2le.varro@anukis.local>
References:  <slrnlokc4u.2it.varro@anukis.local> <20140601231728.9decb4f8b733c26bf040f963@yahoo.es> <slrnlosgkh.2le.varro@anukis.local>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Tuesday, June 03, 2014 a las 09:48:01PM +0000, Will Parsons escribió:

> >> % su
> >> Password:
> >> su: Sorry
> >> %
> >> 
> 
> No - doesn't help.  (Again, note that there's no problem su-ing
> locally, only after loggin in remotely with ssh.)

Try: 
- become root in anther vt-session locally,
- issue the 'su' command, still without providing a password
- look as root for the PID of the 'su' and attach something like
  # truss -o /tmp/su.tr -f -p PID
- provide the password to the 'su'
- check the file /tmp/su.tr what the 'su' complains about

HIH

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign



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