Run script after successful login
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
03-22-2018 01:54 PM
Hi, How can i configure an EXOS switch to run a .xsf script for all users after each successful login.
Regards
Gonçalo Reis
Regards
Gonçalo Reis
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
03-22-2018 02:20 PM
...Just like that, dump exshrc.xsf in /usr/local/cfg and you are ready to go. Thats great guys. Thanks a lot.
Regards
Gonçalo Reis
Regards
Gonçalo Reis
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
03-22-2018 02:00 PM
Hi Gonçalo,
Take a look at this topic: https://community.extremenetworks.com/extreme/topics/xos-how-to-create-cli-aliases-shortcuts
Specifically, the post by Dave Hammers. As Nikunj mentioned above,
Take a look at this topic: https://community.extremenetworks.com/extreme/topics/xos-how-to-create-cli-aliases-shortcuts
Specifically, the post by Dave Hammers. As Nikunj mentioned above,
code:
is what you're looking for.exshrc.xsf
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
03-22-2018 02:00 PM
Here's a link directly to the post for simplicity:
https://community.extremenetworks.com/extreme/topics/xos-how-to-create-cli-aliases-shortcuts?topic-r...
https://community.extremenetworks.com/extreme/topics/xos-how-to-create-cli-aliases-shortcuts?topic-r...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
03-22-2018 01:58 PM
Hi Gonçalo,
If you are using EXOS version 22.3+, you can use VI to create a script named "exshrc.xsf". This script will be run each time a user logs in. It is meant only for shell specific configuration, but you can put pretty much any command in there.
Thanks,
Nikunj
[edited to correct version number --Drew]
If you are using EXOS version 22.3+, you can use VI to create a script named "exshrc.xsf". This script will be run each time a user logs in. It is meant only for shell specific configuration, but you can put pretty much any command in there.
Thanks,
Nikunj
[edited to correct version number --Drew]
