ssh + su problem
Matthias Apitz
guru at unixarea.de
Wed Jun 4 06:19:35 UTC 2014
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 at 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
More information about the freebsd-questions
mailing list