1946 CHAPTER 127: AAA CONFIGURATION COMMANDS

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.

Related command: domain.

Example # 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

Syntax work-directory directory-name

undo work-directory

View Local user view

Parameters directory-name: Name of the directory that FTP/SFTP users are authorized to access, a case-insensitive string of 1 to 135 characters.

Description Use the work-directorycommand to specify the directory accessible to FTP/SFTP users.

Use the undo work-directorycommand to restore the default.

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.

Example # Specify the directory accessible to FTP/SFTP users.

Page 1946
Image 1946
3Com MSR 30, MSR 50 manual Work-directory, Related command domain, # Place the current user user1 to the state of blocked