当前位置:网站首页>AddUser add user and mount hard disk
AddUser add user and mount hard disk
2022-06-12 05:29:00 【Gradually every day, I miss my hometown a little more】
We user The most basic of management Action is Add users .
Here we talk about adduser, also useradd It can also be used .
adduser test add to test user
Add... For users sudo jurisdiction , 1. chmod 777 /etc/sudoers hold test Add the user's permission . Remember to reply to file permissions after adding
2. usermode -aG sudo test
3. Change the working directory
usermode -d /hom2/ test
assign work directory :
useradd -d /home2/test -m test
passwd test
So you have a basic account .
Hard disk mount :
fdisk -l Find the disk that is not attached
fdisk /dev/sd1 Choose in turn m,n,p,1,,
Make a file system mkfs.ext4 /dev/sdb1
mkdir /home2
mount -t ext4 -rw /dev/sdb1 /home2
chmod -R 777 /home2 // So that all ordinary users can access this directory .
边栏推荐
- 利用jieba库进行词频统计
- Multi thread learning III. classification of threads
- JS how to get the date
- How to clear floating, and how does it work?
- How to quickly reference uview UL in uniapp, and introduce and use uviewui in uni app
- Font conversion optimization
- Uview customer management JS
- JS set the position of the current scroll bar
- Automated testing - Po mode / log /allure/ continuous integration
- A solution for PHP to implement image login verification code
猜你喜欢

论文阅读_图神经网络GIN

Detailed analysis of the 2021 central China Cup Title A (color selection of mosaic tiles)

Spatial distribution data of national multi-year average precipitation 1951-2021, temperature distribution data, evapotranspiration data, evaporation data, solar radiation data, sunshine data and wind

Can‘t find a suitable configuration file in this directory or any parent. Error reporting and resolution

Stm32f4 ll library multi-channel ADC

DMA RDMA technology details

Quickly get PCA (principal component analysis) (principle code case)

Esp32-who face detection

Why should state-owned enterprises go public

Introduction to redis cluster
随机推荐
Quickly get PCA (principal component analysis) (principle code case)
Platform of ASoC framework driven by alsa
JS to determine whether it is the first time to browse the web page
JS to determine whether the tags of multiple classes are empty
JS disable mobile sharing
Caused by: org. h2.jdbc. JdbcSQLSyntaxErrorException: Table “USER“ already exists; SQL statement:
12.26 exercise summary
JS controls the display and hiding of tags through class
Vivado HLS introductory notes
It costs less than 30 yuan, but we still don't build it quickly - check the small knowledge of software application
The combined application of TOPSIS and fuzzy borde (taking the second Dawan District cup and the national championship as examples, it may cause misunderstanding, and the Dawan District cup will be up
Yolo opencv scale identification scale reading identification water gauge identification water level identification source code
Kubernetes certificate online update
org. apache. ibatis. binding. BindingException: Invalid bound statement (not found)
MySQL5.7.21 Build For ARM
Thingsboard view telemetry data through database
Object class not ended
Selenium crawler automatically captures TOEFL test position of NEEA website
Layer sublayer assigns values to the page elements of the parent layer to achieve the effect of transferring values to the page of the parent layer
37. serialized binary tree