Subject: Re: [netatalk-admins] dumb questions
From: Albert Max Lai (amlai@columbia.edu)
Date: Tue Dec 29 1998 - 21:12:07 EST
On 29 Dec 1998, William P. McGonigle wrote:
> --- "david bernick" wrote:
> if i (foolishly, i know) want to login
> (via netatalk) to a *NIX box as root, how can i go about doing that?
> --- end of quote ---
I suppose that you'd just have to comment out lines 438-441 in
etc/afpd/auth.c. It should say:
if ( uid == 0 ) { /* don't allow root login */
syslog( LOG_ERR, "login: root login denied!" );
return AFPERR_NOTAUTH;
}
Without these lines, it looks like root will work.
> The password checking code specifically denies UID 0 (root) from logging in.
> You'd have to hack it.
>
> -Bill
>
-- Albert Lai <amlai@columbia.edu> 1018D East Campus Residential Computer Consultant 411 W. 116th St. Columbia University New York, NY 10027 http://www.columbia.edu/~aml61 (212)853-4854
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:33:55 EST