Hacker News new | ask | show | jobs
by mesrik 19 days ago
>That'll stop people logging in and making local changes and expecting everyone else to somehow just know about their tampering.

How about changing "enable secret" password and not sharing it with those who you do not approve making changes?

Or even setting up TACACS+ or RADIUS service and getting SSO to network gear that way. TACACS+ even free versions by default as an AAA that last A accounting makes you able to log all logins and commands being executecuted IOS cli.

Also, you can set up a management server (station) which collects all configs, checks in a db or VCS (RCS, CSV, git) which you can then build on changes monitoring, revert back configs as far as you have saved config versions. Like I had while working over 20 years backlog about half thousand switchers and other gear. RANCiD can do it for cheap, if you don't like to buy commercial solution which also can do similar things. Oh, OpenNMS and FreeNMS probably can do this also if you prefer getting those. I didn't use those as we built from mid 90's own systems and didn't bother changing at least when I was still working.

If you still need to allow other users login let other commands that enable level requires, you can use a "parser view group-name" and pick what additional commands you let them also access from exec enable level (15) without letting then become full enable 15 level users.

ps. Cisco IOS has long had service which autoloads config from TFTP server, but that isn't perhaps what you are looking for. It's mostly intended getting initial config uploaded to system enabling remote management over telnet and further making proper config automation easier.

1 comments

> How about changing "enable secret" password and not sharing it with those who you do not approve making changes?

Ideally the management level wouldn't be on the tools, yes.

> Or even setting up TACACS+ or RADIUS service and getting SSO to network gear that way. TACACS+ even free versions by default as an AAA that last A accounting makes you able to log all logins and commands being executecuted IOS cli.

Sure would be nice to keep the management level out of RBAC

> Also, you can set up a management server (station) which collects all configs, checks in a db or VCS (RCS, CSV, git) which you can then build on changes monitoring, revert back configs as far as you have saved config versions

Yes, that's how I know who to shout at.

>Ideally the management level wouldn't be on the tools, yes.

OK, I didn't get it first when writing reply, but after rereading I get it.

Then if your tools would be out of reach for those who are not expected to make changes, but just see configs etc. that would perhaps make opening to solve your unapproved modifications.

>Sure would be nice to keep the management level out of RBAC

TACACS+ and RADIUS are both full fledged AAA which can work with RBAC's. There are commercial versions which make it quite easy to implement. FOSS versions it much harder without lot of scripting, patching, programming and it's still without much more work to make it properly reliable.

So if your tools do not expect making changes to network gear, but just check, monitor etc. don't let tools have read-write (enable secret), grant read-only + some additional with IOS "parser view ...." and keep read-write with network team only.

But if that what you described is mandated by others, then set up at least a system that backups and keeps logs who did what. TACACS+ free versions are fully capable doing that.

We do keep backups, and I'm trying to get people to work on their process a bit.

But apparently you're not allowed to wave a shotgun around in face-to-face meetings, something about a "hostile working environment" or something.

I don't know, managers, eh? Can't live with 'em, can't beat sense into them with a metre-long dressage whip.