Skip to main content
Gerry | Vanagon
Checking account...
← vanagon.com home · Continue the discussion in the forum
Subject:Re: oh, yeah ... Whatshisname is coming back this weekend.
Date:Mon, 22 Aug 94 10:43:35 PDT

> 
> How can you log in as root, if you are not root, and don't have the
> password?  :)
> 
> /m
> 

Easy.  simply ftp to the account, and "put" a clean version of .login,
.chsrc, .env, or whatever startup script your system uses. 

-Jim "been there, done that" Macklow
macklow@sybase.com

PS. The way to disable even this kind of salvageability (sp? :-) ) is to 
change the shell in the /etc/passwd file to be some non-existent 
program.  Then even ftp won't work.  Ask me how you can salvage a 
system with everyone's login (including root) set to a non-existent
shell program, and everyone logged out.