06-13-2012 06:01 AM
Hi,
I want to know how i can navigate in the file system and edit file on a LMS 4.2 appliance.
Thanks
Michel
Solved! Go to Solution.
06-13-2012 06:34 AM
One can ssh to the ADE-OS console and then change login context to shell. Once there, you're in the system's Linux OS shell and can use the standard filesystem tools. Handle with care though as your actions can have profound effects on the proper operation of the server.
06-13-2012 06:34 AM
One can ssh to the ADE-OS console and then change login context to shell. Once there, you're in the system's Linux OS shell and can use the standard filesystem tools. Handle with care though as your actions can have profound effects on the proper operation of the server.
06-13-2012 06:59 AM
ok !
Thank you
06-13-2012 07:04 AM
You're welcome. Thanks for the rating.
Here's an example:
LMS01/sysadmin# show version
Cisco Application Deployment Engine OS Release: 2.0
ADE-OS Build Version: 2.0.1.043
ADE-OS System Architecture: x86_64
Copyright (c) 2005-2010 by Cisco Systems, Inc.
All rights reserved.
Hostname: LMS01
Version information of installed applications
---------------------------------------------
Cisco Prime LAN Management Solution
-----------------------------------
Version : 4.2.1
Vendor : Cisco Systems, Inc.
-----------------------------------
LMS01/sysadmin# shell
Enter shell password :
Starting shell...
[LMS01/root-ade ~]# uname -a
Linux LMS01 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[LMS01/root-ade ~]#ls -a
. .bash_history .bash_profile .cshrc .rnd .tcshrc bin install.log.syslog
.. .bash_logout .bashrc .lesshst .ssh anaconda-ks.cfg install.log
[LMS01/root-ade ~]# pwd
/root
[LMS01/root-ade ~]#
06-13-2012 07:49 AM
look at this thread https://supportforums.cisco.com/thread/2136038
Our friend steffen wrote how to create a user in the linux system.
Using that user you can use something like winscp to navigate the file system.
Cheers,
Michel
03-11-2013 04:45 AM
All users setting made in Linux are overwritten by LMS from startup-config during restart.
If I create user for scp access in Linux with bash shell I can use it only to OVA restart.
After restart password is reseted.
Users made from LMS have proper passwords but shell is always set carssh,sh even if I change shell in Linux.
These users cant be used by WinSCP wich accept only bash.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide