linu下有类似的方法吗?
Tofloor
poster avatar
182******97
deepin
2017-07-28 04:14
Author
开机启动+以管理员身份启动=开机以root身份运行。

Reply Favorite View the author
All Replies
avatar
9***8@qq.com
deepin
2017-07-28 04:16
#1
有,添加root帐户
Reply View the author
avatar
mrrong
deepin
2017-07-28 04:36
#2
方法一:
1.将需要开机启动的软件设置成为服务(放在/etc/init.d/下)
2.使用命令将该服务设置为开机自动启动,不同的系统命令不尽相同,debain系列中使用:sudo update-rc.d xxxservice defaults NN命令(xxxservice 为服务名称,NN为启动顺序)

方法二:
编写shell脚本,开启设定执行该shell脚本
Reply View the author
avatar
182******97
deepin
2017-07-28 06:19
#3
https://bbs.deepin.org/post/143306
方法一:
1.将需要开机启动的软件设置成为服务(放在/etc/init.d/下)
2.使用命令将该服务设置为开机自动启动 ...

举个例子
Reply View the author
avatar
mrrong
deepin
2017-07-28 20:40
#4

你要启动什么软件
Reply View the author
avatar
182******97
deepin
2017-07-28 22:23
#5
https://bbs.deepin.org/post/143306
你要启动什么软件

cario-dock
Reply View the author
avatar
mrrong
deepin
2017-07-29 04:21
#6

dock中点击鼠标右键不是会有一个开机启动的设置?
Reply View the author
avatar
182******97
deepin
2017-07-29 11:34
#7
https://bbs.deepin.org/post/143306
dock中点击鼠标右键不是会有一个开机启动的设置?

但并不是root呀
Reply View the author
avatar
mrrong
deepin
2017-07-31 18:37
#8

你要执行什么超级操作?
Reply View the author
avatar
billy123456
deepin
2017-07-31 19:30
#9

不要尝试root运行cario
Reply View the author
avatar
182******97
deepin
2017-07-31 19:50
#10
https://bbs.deepin.org/post/143306
不要尝试root运行cario

说跟没说一样
Reply View the author
avatar
billy123456
deepin
2017-07-31 19:54
#11

很可能会出错,放弃吧
Reply View the author
avatar
bsidb
deepin
2017-07-31 20:01
#12
Cario-dock是基于X11的程序,现在X11已经可以脱离root权限运行了。那么在开机阶段根本没法启动cairo-dock(因为X11还没有加载出来)。

如果楼主是想在桌面加载阶段启动Cairo-dock,为啥还要使用root权限??
Reply View the author
avatar
Feng Yu
deepin
2017-07-31 20:23
#13
setuid方式可以直接以root方式运行可执行程序,欢迎楼主做大死
Reply View the author
avatar
182******97
deepin
2017-08-01 08:23
#14
https://bbs.deepin.org/post/143306
setuid方式可以直接以root方式运行可执行程序,欢迎楼主做大死

具体?教教0.0,我重装跟吃饭差不多
Reply View the author