[rancid] Re: DONE: Implementation of the (generic) linux configuration backup-versioning DEVELOPMENT VERSION

Diego Ercolani diego.ercolani at ssis.sm
Tue Jul 7 14:36:30 UTC 2009


I did it already..... but I haven't tested
it uses the login password for the user you specify in the "user" parameter
it uses the "enable" password as the root password (the second password in the 
"password" parameter). Please verify and correct the script if something is 
going wrong
Diego

In data martedì 07 luglio 2009 16:20:16, Sam Munzani ha scritto:
: > Diego,
>
> Many companies don't allow root user for the SSH. So usually its login
> as normal user then either "su -" or "sudo su -". I think this script
> can be more useful if it considers non root logins.
>
> My 2 cents.
>
> Thanks,
> Sam
>
> > ----------- sample .cloginrc ----------------------
> >
>> [...]
> > here is my cloginrc file part that is regarded to the linux machine:
> >>>>>>>>>>>>> CUT >>>>>>>>>>>>>>
> >
> > add method linux.machine.domain ssh rlogin
> > add user linux.machine.domain root
> > add password linux.machine.domain thepassword thepassword
> > add autoenable linux.machine.domain 1
> > add backupfile linux.machine.domain /etc/issue
> > add backupfile linux.machine.domain /etc/network/interfaces
> > #add backupfile linux.machine.domain /etc/network/interfaces
> > <<<<<<<<<<<<<< CUT <<<<<<<<<<<<<<<<
> >
> > Hope this would help many of you
> > Diego Ercolani
> >


More information about the Rancid-discuss mailing list