国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

linux 切換用戶報(bào)錯(cuò):This account is currently not available

這篇具有很好參考價(jià)值的文章主要介紹了linux 切換用戶報(bào)錯(cuò):This account is currently not available。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問(wèn)。

在用su命令切換用戶的時(shí)候,報(bào)錯(cuò)This account is currently not available。這是因?yàn)橛脩舻膕hell禁止登陸了。

有兩種方式可以解決:
方式一:修改/etc/passwd

vi /etc/passwd
找到要修改的用戶,將 /sbin/nologin 改成 /bin/bash

方式二:使用命令修改文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-699647.html

usermod -s /bin/bash username

到了這里,關(guān)于linux 切換用戶報(bào)錯(cuò):This account is currently not available的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來(lái)自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • Linux中普通用戶使用sudo命令提示lin is not in the sudoers file. This incident will be reported.

    Linux中普通用戶使用sudo命令提示lin is not in the sudoers file. This incident will be reported.

    在使用Linux的過(guò)程中我們 普通用戶使用sudo 可能遇到這樣的提示 pp is not in the sudoers file. This incident will be reported. 這一問(wèn)題原因是因?yàn)?etc 文件中的 sudoers 這個(gè)文件中沒(méi)有這個(gè)用戶 我們可以按照下面操作進(jìn)行修改【 以下操作都用英文模式下操作,切記 】 使用root用戶登錄進(jìn)來(lái)

    2024年01月23日
    瀏覽(21)
  • Git報(bào)錯(cuò):email address is not registered in your account, and you lack ‘forge committer‘ permission

    Git報(bào)錯(cuò):email address is not registered in your account, and you lack ‘forge committer‘ permission

    報(bào)錯(cuò):commit 806f923: email address is not registered in your account, and you lack ‘forge committer’ permission. remote: The following addresses are currently registered: 過(guò)程:試過(guò)很多次重設(shè)user.name和user.email,并且重新commit,均失敗。但是查看git config配置都是正常的。 解決方法:打開(kāi)home下的.git-credential

    2024年02月11日
    瀏覽(31)
  • R報(bào)錯(cuò):WARNING: Rtools is required to build R packages, but is not currently installed.

    R報(bào)錯(cuò):WARNING: Rtools is required to build R packages, but is not currently installed.

    安裝R包“LDheatmap”: 出現(xiàn)報(bào)錯(cuò): 這是因?yàn)闆](méi)有安裝rtool所以才會(huì)報(bào)錯(cuò)。 下載地址:添加鏈接描述 最后,利用命令

    2024年02月11日
    瀏覽(25)
  • 解決:this.$refs引用子組件報(bào)錯(cuò) is not a function

    問(wèn)題描述: vue通過(guò)this.$refs引用子組件出現(xiàn)undefined或者is not a function的錯(cuò)誤 報(bào)錯(cuò)如下: _this3.$refs.fileUpload.changeFileList is not a function 問(wèn)題分析: 問(wèn)題1:出現(xiàn)undefined錯(cuò)誤 包含子組件的標(biāo)簽需要放在中第一個(gè)子標(biāo)簽的子標(biāo)簽中,而且需要設(shè)置ref屬性, 因?yàn)楦附M件邏輯代碼中是通過(guò)

    2024年02月11日
    瀏覽(23)
  • 安裝報(bào)錯(cuò):is not a supported wheel on this platform

    一. 在通過(guò).whl文件導(dǎo)包時(shí)出現(xiàn)的錯(cuò)誤,可能原因有以下兩點(diǎn): 安裝的不是對(duì)應(yīng)python版本的庫(kù) whl文件不是給本電腦系統(tǒng)用的 whl文件名本臺(tái)電腦不支持 二. 解決辦法 原因1就從新下載對(duì)python版本的包,若python版本為python3.11.0即選擇cp311的文件。 原因2就下載對(duì)應(yīng)系統(tǒng)的文件。win

    2024年02月14日
    瀏覽(24)
  • kafka-報(bào)錯(cuò)-The coordinator is not aware of this member

    我在項(xiàng)目里把原來(lái)用著的 獨(dú)立消費(fèi)者 consumer-group-id 同時(shí)當(dāng)做消費(fèi)者組來(lái)消費(fèi)分區(qū)信息,導(dǎo)致協(xié)調(diào)器找不到這個(gè) consumer-group-id 注冊(cè)兩個(gè)測(cè)試 topic 寫(xiě)一個(gè)消費(fèi)者組 啟動(dòng)項(xiàng)目,發(fā)送消息 報(bào)錯(cuò)日志 查看kafka服務(wù)器的消費(fèi)者狀態(tài)

    2024年02月13日
    瀏覽(18)
  • 【避坑】paddlepaddle-gpu安裝報(bào)錯(cuò):The GPU architecture in your current machine is Pascal, which is not

    【避坑】paddlepaddle-gpu安裝報(bào)錯(cuò):The GPU architecture in your current machine is Pascal, which is not

    完整的系統(tǒng)、顯卡等環(huán)境如下: 系統(tǒng):win10 顯卡:GeForce GTX 1060 6GB python 3.7.16 cuda:cuda 11.2.0 cudnn:cudnn 8.2.1 paddlepaddle:pip安裝 版本:gpu==2.5.1.post112 安裝指令為: 安裝成功后,測(cè)試結(jié)果如下: 注意這個(gè)警告信息: The GPU architecture in your current machine is Pascal, which is not compatible

    2024年02月08日
    瀏覽(20)
  • 小程序彈窗報(bào)錯(cuò)this.$refs.popup.open is not a function

    小程序彈窗報(bào)錯(cuò)this.$refs.popup.open is not a function

    代碼 報(bào)錯(cuò)信息 解決方法 this.$refs.popup[0].open()

    2024年02月05日
    瀏覽(19)
  • 連接MySQL報(bào)錯(cuò),is not allowed to connect to this MySQL server

    連接MySQL報(bào)錯(cuò),is not allowed to connect to this MySQL server

    ????????本機(jī)裝的MySQL數(shù)據(jù)庫(kù),本機(jī)可以正常連接,其他機(jī)器訪問(wèn)報(bào)錯(cuò),is not allowed to connect to this MySQL server,防火墻等其他策略均配置沒(méi)問(wèn)題 。 ? 解決方案: ? ? ? ? 出現(xiàn)該問(wèn)題的原因是,MySQL數(shù)據(jù)庫(kù)只允許自身所在的本機(jī)器連接,不允許遠(yuǎn)程連接。 1、在MySQL所在服務(wù)器

    2024年02月16日
    瀏覽(24)

覺(jué)得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包