如題
本人使用ubuntu 18.04
PAC manager版本 4.5.5.8
使用PACShell時,不管執行什麼,會一直出現Permission denied
bash: /usr/bin/sudo: Permission denied
有辨法解決嗎?
有誰知道PAC Manager裡的local shell options要怎麼設定
-
- 帖子: 2
- 注册时间: 2018-07-07 23:31
- 系统: ubuntu
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
-
- 帖子: 2
- 注册时间: 2018-07-07 23:31
- 系统: ubuntu
Re: 有誰知道PAC Manager裡的local shell options要怎麼設定
感覺好像是PAC的權限不足
我在PAC的local shell options預設的設定如下:
Shell Binary:$SNAP/bin/bash
Shell Option
Initial Directory:/home/michael/snap/pac-vs/common
PACShell的執行狀況如下:
michael@michael-X455LD:~$ sudo
bash: /usr/bin/sudo: Permission denied
michael@michael-X455LD:~$ ls
debug ssh zh_TW.UTF-8
michael@michael-X455LD:~$ ls -al
total 36
drwxr-xr-x 8 michael michael 4096 7月 9 14:14 .
drwxrwxrwx 4 michael michael 4096 7月 9 14:14 ..
-rw-rw-r-- 1 michael michael 0 7月 9 14:14 .bashrc
drwxrwxr-x 5 michael michael 4096 7月 9 14:14 .cache
drwxrwxr-x 5 michael michael 4096 7月 9 14:14 .config
drwxrwxr-x 2 michael michael 4096 7月 9 14:14 debug
-rw-rw-r-- 1 michael michael 29 7月 9 14:14 .last_revision
drwxrwxr-x 3 michael michael 4096 7月 9 14:14 .local
drwx------ 2 michael michael 4096 7月 9 14:14 ssh
lrwxrwxrwx 1 michael michael 31 7月 9 14:14 .themes -> /snap/pac-vs/1/usr/share/themes
drwxrwxr-x 3 michael michael 4096 7月 9 14:14 zh_TW.UTF-8
michael@michael-X455LD:~$ sudo vi test
bash: /usr/bin/sudo: Permission denied
michael@michael-X455LD:~$
是不是我要建立一個SNAP的帳號?
我在PAC的local shell options預設的設定如下:
Shell Binary:$SNAP/bin/bash
Shell Option
Initial Directory:/home/michael/snap/pac-vs/common
PACShell的執行狀況如下:
michael@michael-X455LD:~$ sudo
bash: /usr/bin/sudo: Permission denied
michael@michael-X455LD:~$ ls
debug ssh zh_TW.UTF-8
michael@michael-X455LD:~$ ls -al
total 36
drwxr-xr-x 8 michael michael 4096 7月 9 14:14 .
drwxrwxrwx 4 michael michael 4096 7月 9 14:14 ..
-rw-rw-r-- 1 michael michael 0 7月 9 14:14 .bashrc
drwxrwxr-x 5 michael michael 4096 7月 9 14:14 .cache
drwxrwxr-x 5 michael michael 4096 7月 9 14:14 .config
drwxrwxr-x 2 michael michael 4096 7月 9 14:14 debug
-rw-rw-r-- 1 michael michael 29 7月 9 14:14 .last_revision
drwxrwxr-x 3 michael michael 4096 7月 9 14:14 .local
drwx------ 2 michael michael 4096 7月 9 14:14 ssh
lrwxrwxrwx 1 michael michael 31 7月 9 14:14 .themes -> /snap/pac-vs/1/usr/share/themes
drwxrwxr-x 3 michael michael 4096 7月 9 14:14 zh_TW.UTF-8
michael@michael-X455LD:~$ sudo vi test
bash: /usr/bin/sudo: Permission denied
michael@michael-X455LD:~$
是不是我要建立一個SNAP的帳號?
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 有誰知道PAC Manager裡的local shell options要怎麼設定
1. 請提供你上述使用 sudo 指令 所參考的網頁PACShell的執行狀況如下:
michael@michael-X455LD:~$ sudo
bash: /usr/bin/sudo: Permission denied
2. 安裝 pac-vs 指令本人使用ubuntu 18.04
PAC manager版本 4.5.5.8
https://snapcraft.io/pac-vs
Install with snapd
代码: 全选
sudo snap install pac-vs --channel
Don't have snapd? Get set up for snaps.
https://docs.snapcraft.io/core/install-ubuntu
3. 不明白 你為何使用 sudo 單一指令 ?michael@michael-X455LD:~$ sudo
bash: /usr/bin/sudo: Permission denied
3-1. 使用 snap 指令 請參照
https://docs.snapcraft.io/core/usage
4. 還有任何問題 歡迎再貼文
- trigger
- 帖子: 1604
- 注册时间: 2006-10-25 18:08
Re: 有誰知道PAC Manager裡的local shell options要怎麼設定
楼主真是一派胡言,真可谓:“两个黄鹂鸣翠柳,不知所云;一行白鹭上青天,不知所止“。本来不想和你辩论,今天气愤不过,和你理论一番。我国宪法写得清清楚楚:“一夜夫妻百日恩,七楼以上才有电梯”。这个想必你知道,既然知道,你就不能断章取义,就算是天气预报,它还有不准的时候呢!!!再者说了,那中国银行也不是你一家开的。人家马拉多纳都结婚了,你还拿着粮票顶什么用呢。真是滑天下之大稽。前些日子,全国人大刚刚开过会,郑重声明:“中国不搞多party制,存栏母猪给补贴”。多好的事呢,楞让你这号人给搅混了。