Fully Featured & Customizable Free Forums
InvisionFree - Free Forum Hosting
Welcome to Obsolete! Nedi Forum. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Name:   Password:


 

 Changing cli login for discovered devices
yum
Posted: Dec 14 2006, 10:02 PM


Member


Group: Members
Posts: 11
Member No.: 279
Joined: 20-November 06



Hi All,

I need to change the user that telnet's to my devices. When I change it in nedi.conf, I get 'login failure' when I look at the device configs. Does anyone know how to change the login information of discovered devices without initializing the database?

Thanks,
Yosef
Top
Void Main
Posted: Dec 14 2006, 10:39 PM


Engineer


Group: Members
Posts: 44
Member No.: 12
Joined: 13-May 05



My guess is you could connect to your nedi database with the mysql client and do this:

CODE

update devices set login = 'newusername' where login = 'oldusername';


Replace "newusername" above with the new username and replace "oldusername" with the old username. Of course I could be wrong, hopefully you have a backup of your database. :)
Top
yum
Posted: Dec 14 2006, 10:57 PM


Member


Group: Members
Posts: 11
Member No.: 279
Joined: 20-November 06



THAT WORKED.

Thanks so much,
Yosef
Top
rickli
Posted: Dec 18 2006, 09:47 AM


Remo


Group: Admin
Posts: 735
Member No.: 3
Joined: 3-May 05



That's actually a weakness (especially with the new version). Since a login is only probed once, the only "GUI" way to achieve this, is to mark the device for deletion and wait for rediscovery huh.gif I know it could be better, but one who knows his SQL has a clear advantage here...
Top
garrycook
Posted: Dec 20 2006, 06:56 PM


Senior Engineer


Group: Members
Posts: 58
Member No.: 287
Joined: 29-November 06



There is another GUI way to do it, for those of us that don't know MySQL very well.
I used phpMyAdmin, another OSS app that puts a GUI face on your MySQL DBs.

http://www.phpmyadmin.net/
Top
« Next Oldest | Nedi 1.0.x support | Next Newest »
DealsFor.me - The best sales, coupons, and discounts for you

Topic Options



Hosted for free by InvisionFree* (Terms of Use: Updated 2/10/2010) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Page creation time: 0.3093 seconds | Archive