linux - Ubuntu reports xxx:command not found every time su is executed, but the user switch is successful
PHP中文网
PHP中文网 2017-07-06 10:36:22
0
1
1341
# su someuser 2: command not found

There is one method that says to addusr/bintoprofilebut it has no effect
Another method also says that there is a problem withprofile, but myprofileis basically unchanged
and there is no problem like he mentioned about adding spaces after the square brackets

PHP中文网
PHP中文网

认证0级讲师

reply all (1)
学霸

Different users have different environment variables. Whatcommandyou want to use? Just find the directory of this command, then append it to the environment variable, and thensourceit

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!