cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1618
Views
0
Helpful
5
Replies

how to navigate the file system - LMS 4.2 Appliance

Michel Legare
Level 1
Level 1

Hi,

I want to know how i can navigate in the file system and edit file on a LMS 4.2 appliance.

Thanks

Michel

1 Accepted Solution

Accepted Solutions

Marvin Rhoads
Hall of Fame
Hall of Fame

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.

View solution in original post

5 Replies 5

Marvin Rhoads
Hall of Fame
Hall of Fame

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.

Michel Legare
Level 1
Level 1

ok !

Thank you

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 ~]#

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: