Work-Directory - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

1946
C
127: AAA C
HAPTER
Related command:
Example

work-directory

Syntax
View
Parameters
Description
Example
C
ONFIGURATION
OMMANDS
By default, an ISP domain is active when created. So does a local user.
By blocking an ISP domain, you disable users of the domain that are offline from
requesting network services. Note that the online users are not affected.
By blocking a user, you disable the user from requesting network services. No
other users are affected.
domain.
# Place the current ISP domain aabbcc.net to the state of blocked.
<Sysname> system-view
[Sysname] domain aabbcc.net
[Sysname-isp-aabbcc.net] state block
# Place the current user user1 to the state of blocked.
<Sysname> system-view
[Sysname] domain aabbcc.net
[Sysname-user-user1] state block
work-directory directory-name
undo work-directory
Local user view
directory-name: Name of the directory that FTP/SFTP users are authorized to
access, a case-insensitive string of 1 to 135 characters.
Use the
work-directory
users.
Use the
undo work-directory
By default, FTP/SFTP users can access the root directory of the device.
Note that:
The specified directory accessible to users must exist.
If you use a file system command to delete the specified directory, FTP/SFTP
users will no longer access the directory.
If the specified directory carries with information about the slot where the
secondary board is inserted, FTP/SFTP users cannot log in after
primary-to-secondary switching. It is not recommended to carry with slot
information when you specify a work directory.
# Specify the directory accessible to FTP/SFTP users.
command to specify the directory accessible to FTP/SFTP
command to restore the default.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents