由买买提看人间百态

topics

全部话题 - 话题: sudo
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
G*F
发帖数: 427
1
来自主题: Linux版 - WPS linux beta1出来了
64位的ubuntu要先装这个:
sudo apt-get install libc6-i386
sudo apt-get install ia32-libs
不过这种beta版最好找个虚拟机装着玩玩就好。这个版本满弱的,spreadsheet居然连
图表都不能加。
另外听说MS Office for linux 2014可能出来,如果是真的,那真是真是没有用
Windows的必要了。
w****e
发帖数: 586
2
来自主题: Linux版 - VM中routing table消失的问题
sudo ifconfig eht0 down
sudo ifconfig eht0 up
不管用?
j********2
发帖数: 4438
3
来自主题: Linux版 - Google Chrome汉字乱码
刚好解决了这个问题,用下面的方法:
sudo rm -f /etc/fonts/conf.d/65-droid-sans-fonts.conf
sudo fc-cache -fv
然后重启下
c*******h
发帖数: 1096
4
来自主题: Linux版 - rpm怎么用?
怎么理解这两个连着的output?我到底是装上了还是没装上?
$ sudo rpm -ivh VirtualBox-4.3-4.3.22_98236_el6-1.x86_64.rpm
warning: VirtualBox-4.3-4.3.22_98236_el6-1.x86_64.rpm: Header V4 DSA/SHA1
Signature, key ID 98ab5139: NOKEY
Preparing... ########################################### [100
%]
package VirtualBox-4.3-4.3.22_98236_el6-1.x86_64 is already installed
$ sudo rpm -ev VirtualBox-4.3-4.3.22_98236_el6-1.x86_64.rpm
error: package VirtualBox-4.3-4.3.22_98236_el6-1.x86_64.rpm is not installed
d*****y
发帖数: 182
5
来自主题: Linux版 - adobe acrobat有没有linux版?
here is how I install adobe reader on Ubuntu 64bit:
wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb
sudo apt-get install gdebi libstdc++6:i386
sudo su -c "gdebi AdbeRdr9*"
o*****l
发帖数: 539
6
来自主题: Linux版 - linux mount question
请教大侠们一个问题, 谢谢!
I create a linux EC2 instance, with /dev/sda, /dev/sdb, /dev/sdc.
How can I know /dev/sdb and /dev/sdc is mounted?
If not, how to mount it?
I tried create /mnt/data1, then do mount, fail.
$ sudo mount -t ext4 /dev/xvdb /mnt/data1
mount: wrong fs type, bad option, bad superblock on /dev/xvdb,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[ec2-user@ip-172-31-3-14 data1]$ dmesg | tail
EXT... 阅读全帖
k*****r
发帖数: 21039
7
装了:
Set up Fcitx for Chinese and Japanese language input on Ubuntu Trusty 14.04
fcitx.pngAfter recently upgrading to Ubuntu 14.04 Trusty Tahr (LTS), I
decided to give Fcitx, the default input method framework on Ubuntu’s
Chinese sister project Ubuntu Kylin, a try and I was pleasantly surprised.
Not only is Fcitx rock-solid and actively developed, it also offers input
methods for Japanese, Korean, Vietnamese and a bunch of other languages in
addition to the default Chinese input methods. Here is ... 阅读全帖
h**i
发帖数: 712
8
来自主题: Linux版 - 犯了个大错,求高手指教
一个HP服务器,ubuntu LTS 14.4.5,今天发现一个账号没有在sudo list,手动加了进
去,关键是我把sudoers改成了666,脑子在想别的事,当时没注意用visudo,结果改了
以后改不回440,sudo不能用了!而且root账号没打开!并且硬盘是raid 1!
咋办?
Filesystem Size Used Avail Use% Mounted on
udev 7.9G 4.0K 7.9G 1% /dev
tmpfs 1.6G 1.4M 1.6G 1% /run
/dev/cciss/c0d0p1 119G 6.3G 107G 6% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 7.9G 0 7.9G 0% /run/shm
none ... 阅读全帖
m*****k
发帖数: 731
9
解决了,
follow
https://wiki.ubuntu.com/PulseAudio
用pulseAudio , client getSink() > 0 表明声卡有发声。
安装
Ubuntu 1204 ,
sudo apt-get install pulseaudio
sudo apt-get install libpulse-dev
更改
/etc/asound.conf as https://wiki.ubuntu.com/PulseAudio suggested.
在装Ubuntu前在RHEL 5上试了,能探测到pacmd play-sample pulse-hotplug 0, 在
firefox中放Youtube不行,不解中。
http://en.wikibooks.org/wiki/Configuring_Sound_on_Linux/Pulse_A
M**A
发帖数: 78
10
来自主题: Programming版 - Raspberry Pi Home Gateway
魏老师,
非常感谢你的安装心得。
Guacamole使用 HttpTunnel instead of WebSockets, older web browsers (even
IE5.0?) work without a problem.
不一定非用HTML 5 browser。
在GitHub上的Guacamole才有对文件上传的支持。最新0.8.3 stable release不支持文
件上传。通过Guacamole gateway上传文件取决于Client->Guacamole gateway的带宽和
Guacamole gateway-〉PC的带宽。文件上传需要Guacamole gateway的中转。
Guacamole主要消耗CPU,内存几乎可以忽略。
GitHub上还有FreeRDP-WebConnect, 另1个开源gateway for accessing RDP sessions
using any HTML5 compliant browser。
https://github.com/FreeRDP/FreeRDP-WebConnect
https://githu... 阅读全帖
m******u
发帖数: 12400
11
来自主题: Programming版 - what this message mean?
When I install ruby.
"Something went wrong during Homebrew installation,
can not find 'brew' command"
also similar message come out when I install ruby on rail. If I use sudo
install, everything will be OK or not? Since SUdo installation is not safe
for computer (I heard about it, can anyone verify?) I don't want to take
risk.
t**********s
发帖数: 930
12
今天把weblogic 的端口改为80后,server 启动不起来了。log 显示端口80被占用。
跑了如下的命令 sudo lsof -iTCP -sTCP:LISTEN -n -P, sudo lsof -i :80,但实在
找不到是什么进程占的。
有什么隐藏的进程吗?
谢谢。
g****e
发帖数: 172
13
【 以下文字转载自 Linux 讨论区 】
发信人: gangle (nothing), 信区: Linux
标 题: 请高手帮忙看看这个chkrootkit安全否?
发信站: BBS 未名空间站 (Mon Aug 13 18:29:14 2012, 美东)
那些suspicious files安全吗?
多谢!!
sudo chkrootkit
ROOTDIR is `/'
Checking `amd'... not found
Checking `basename'... not infected
Checking `biff'... not found
Checking `chfn'... not infected
Checking `chsh'... ... 阅读全帖
s**********r
发帖数: 565
14
来自主题: Unix版 - 关于root帐号的管理问题
公司不允许我们sudo to root from our own user id to do anything. what they do
is to grant root permission for specific command which we need to run as
root. this causes a lot of unconvinence for us. my previous company do allow
us to sudo to root, then do anything we want. I wonder if any expert here
can help me understand how come my previous company can allow us to run as
root for all, but this company can not. is there a way to prevent user to
login as root directely if they know root's password?
t*****s
发帖数: 3478
15
来自主题: Unix版 - 关于root帐号的管理问题
root usually is only for systems admin, your current company does right
things.
you do not have to compare to another company. in some companies, you may
have root password too, even not use sudo. but for security reason, if you
are not a systems admin, then you should not have root password or sudo to
all as root.
yes, we can configure root not directly login from remotely, but only
allowed from console. if you log in through ssh, then ssh needs to be
configured as well, so root can not log in
y*********e
发帖数: 518
16
用命令行的就无所谓。linux下有sudo apt-get install, mac下有sudo port install
。不然下载远代码configure/make也是可以的。
但是os x默认下是不分大小写的,这点有时候会带来麻烦。当然os x分区可以格成区分
大小写的,但是很多mac native的app又会水土不服。
y*********e
发帖数: 518
17
用命令行的就无所谓。linux下有sudo apt-get install, mac下有sudo port install
。不然下载远代码configure/make也是可以的。
但是os x默认下是不分大小写的,这点有时候会带来麻烦。当然os x分区可以格成区分
大小写的,但是很多mac native的app又会水土不服。
s******n
发帖数: 876
18
来自主题: sysop版 - reboot now
sudo sudo!
A**********e
发帖数: 3102
19
直接 sudo 就可以。而且其实连 sudo 都不用。
c***t
发帖数: 212
20
关于ACC auth 问题,
1. Some em7455 modems come with the comm ports closed and all are in mbim
mode. And some have fcc-auth turned on. If fcc-auth is turned on, you have
to issue a command to turn the modem on. You have to change the usbcomp mode
to turn on the com ports. I ran across some post on the net on how to do
these but haven't done it myself. They used AT commands to do it.
My dell em7455 came with all the ports open and fcc-auth turned off.
Also the em7455 has a different pid/vid usb identif... 阅读全帖
e*i
发帖数: 10288
21
来自主题: CellularPlan版 - 分享几个用于自由泡的脚本
烦请熊大版主指教有关 sipcmd 脚本
我在 Raspberry Pi zero 上编译运行的。
在文本界面的 raspbian lite上面首先
sudo apt-get update
sudo apt-get install libopal-dev libpt-dev ,
然后下载了 sipcmd 源码,解压,make,出了一些警告,但是最后得到了可执行文件,
然后
./sipcmd -P sip -u 11234567890_8888888812791614559 -c
126777777776ca42b80888888887fb49 -w fp.layered.net -x "c18889990000;ws3000;h"
结果出现 Dial timed out 错误
详细输出(modded, removed some info)如下:
Starting sipcmd
in debug mode
Manager
Init
initialising SIP endpoint...
Listening for SIP signalling on 0.0.0.0:TestChanAu... 阅读全帖
z**0
发帖数: 618
22
来自主题: CellularPlan版 - Freedompop:使用linphone打SIP电话
发现一个解决进程hang的方法:
1 sudo apt-get install alsa-utils alsa-oss
2 sudo modprobe snd-dummy
然后再用linphonecsh就可以了
c*********t
发帖数: 1861
23
来自主题: _DC版 - 7 人在线
On your nice, lovely Macbook, open a console and type the following:
sudo /sbin/ipfw -f flush
sudo /sbin/ipfw add deny ip from any to 74.53.4.68
Then you are done! (:
c***s
发帖数: 70028
24
据侨报纽约网综合报道,作为纽约市独立日活动的重头戏之一,一年一度的独立日吃热狗大赛(Nathans Famous Fourth of July International Hot Dog Eating Contest)3日在康尼岛举行。曾赢得8次比赛的去年冠军Joey Chestnut挑战卫冕失败,他曾经的手下败将Matt Stonie成为了新的“大胃王”。
当天比赛上,Matt Stonie在十分钟内连吞下62根热狗,比Chestnut多两根。据介绍,Stonie来自加州圣何塞,今年才23岁,十分钟内连吞下62根热狗。 Chestnut在赛后承认,他这次的确没掌握好吃热狗的节奏,表现不佳,Stonie实至名归。
Chestnut在2007年首次在这项吃热狗大赛上夺冠。而这项比赛如今的最高纪录也由他保持,10分钟内吃掉69根热狗。Chestnut本想今年再刷新纪录,争取吃进70根。
而女子组冠军则再由日裔女子Miki Sudo赢得。她的成绩是10分钟吃38根。她在去年的比赛上首次夺冠。如今,女子组的纪录仍由2012年冠军Sonya Thomas的45根保持,她在今年比赛上吃掉31根热狗... 阅读全帖
h****g
发帖数: 11365
25
root密码被穆大叔带到坟墓里去了,不加sudo改革不了啊。
唯一的办法就重装了。
w*******q
发帖数: 1764
26
所以非常不精确,极其依赖上下分
zt
朝鮮語中很多单词源于汉语单词,这其中又有很多发音相同,仅仅使用谚文书写,若无
上下文,可能导致无法直接确切地把
握其含义或者误解,这是韩国汉字推进派主张复兴汉字的一大原因,以韩语中「&#
49688;도」(sudo)一词为例,其对应的汉字
词汇有(左為朝鮮文漢字,右為中文解釋):
1.修道:修綀
2.受渡:授受
3.囚徒:囚徒
4.水都:沿海城市(例如香港和那不勒斯)
5.水稻:水稻
6.水道:下水道
7.隧道:隧道
8.首都:首都
9.手刀:小刀
x****o
发帖数: 29677
27
White & Case Advises China Development Bank Corporation on Financing Valued
Over US$20 Billion to Venezuela
Beijing, August 24, 2010 ... Global law firm White & Case LLP advised China
Development Bank Corporation (CDB) on two loans, together valued at over US$
20 billion, to Venezuela's Banco de Desarrollo Económico y Social de
Venezuela (BANDES). The financing, which signed 23 August 2010, is one of
the largest that CDB has extended to any one country.
White & Case's team supported CDB in negot... 阅读全帖
c***c
发帖数: 21374
28
来自主题: Military版 - MH370是不可能反向飞行的
sudo root
vi flightplan
service flightd restart
k****i
发帖数: 128
29
我记得,那大哥说脚本运行了sudo rm -rf
c*********e
发帖数: 16335
30
至少要前面加个sudo吧?
c*******a
发帖数: 1879
31
来自主题: Military版 - PIP 是指什么啊? (转载)
【 以下文字转载自 JobHunting 讨论区 】
发信人: centralla (central LA), 信区: JobHunting
标 题: PIP 是指什么啊?
发信站: BBS 未名空间站 (Mon Jun 5 15:39:52 2017, 美东)
好像python 的安装工具就是
sudo pip install
啊?
g******t
发帖数: 11249
32
来自主题: Military版 - 学校超算不给sudo权限怎么办?
每次还得发信招管理员装package
。,。。。
k*****5
发帖数: 2139
33
来自主题: Military版 - 学校超算不给sudo权限怎么办?
找pi 出面协商
如果pi不奏效 那就换大boss n
s******r
发帖数: 5309
34
来自主题: Military版 - 学校超算不给sudo权限怎么办?
除非你需要root权限才能run,你自己用的东西装自己账户的bin下面就行了。

发帖数: 1
35
来自主题: Military版 - 学校超算不给sudo权限怎么办?
查看系统和内核版本信息,找相应exp,列出有root权限的用户,检查是否有密码哈希
,制造缓冲区溢出,........
手段多着呢
w********2
发帖数: 632
36
IPMI Authentication Bypass via Cipher 0
Dan Farmer identified a serious failing of the IPMI 2.0 specification,
namely that cipher type 0, an indicator that the client wants to use clear-
text authentication, actually allows access with any password. Cipher 0
issues were identified in HP, Dell, and Supermicro BMCs, with the issue
likely encompassing all IPMI 2.0 implementations. It is easy to identify
systems that have cipher 0 enabled using the ipmi_cipher_zero module in the
Metasploit Framework... 阅读全帖
s*******p
发帖数: 2
37
来自主题: Automobile版 - 免费互助VIN查询专贴
VIN
1NXBR32E07Z876719
s********[email protected]
Thanks!
l**********1
发帖数: 5204
T****u
发帖数: 274
39
来自主题: HiFi版 - Raspberry Pi2 Kodi Airplay Setup
目的:让raspberry作为airplay target,跟DAC连接。
1,安装raspbian(经过无数次失败,只有这种方法airplay没问题)
2,安装kodi
3,设置kodi的airplay
4,设置kodi的autostart。可以通过/etc/default/下的kodi文件的Enable参数设置为1
.不过我没有成功。
我用的是把kodi作为service。 先修改在/etc/init.d/下的kodi文件,设置
user为pi,否者鼠标键盘网络没有;另外确认lodi启动的参数要是standalone。然后使
用命令 sudo update-rc.d kodi defaults 安装服务
重启即可。
s**********e
发帖数: 326
40
来自主题: JobHunting版 - BB NON CS onsite面经
background: phd in math, master in stats
first round: two interviewers, sudo code is fine
ask why choose software developer instead of quant?, why not interested in
quant.
Two sorted arrays, how to get the merged sorted one ( from biggest to
smallest). If not sorted, use quick sort to sort both of them and merge.
They ask about sort-merge or merge-sort, which one is better? Assume the
same length. Then ask me to write a merge function in five minutes , when I
am writing half of the codes he aske... 阅读全帖
l*****a
发帖数: 14598
41
来自主题: JobHunting版 - 我来说说amzn面试的吧
最关键的man
还有sudo
c********t
发帖数: 5706
42
来自主题: JobHunting版 - Yelp 面经
又学习了,可是看看下面wiki解释的sudo codes,不是uniform啊,i=k+1时候被置换的
概率比 i 极大的时候高很多啊。
array R[k]; // result
integer i, j;
// fill the reservoir array
for each i in 1 to k do
R[i] := S[i]
done;
// replace elements with gradually decreasing probability
for each i in k+1 to length(S) do
j := random(1, i); // important: inclusive range
if j <= k then
R[j] := S[i]
fi
done
c********t
发帖数: 5706
43
来自主题: JobHunting版 - Yelp 面经
又学习了,可是看看下面wiki解释的sudo codes,不是uniform啊,i=k+1时候被置换的
概率比 i 极大的时候高很多啊。
array R[k]; // result
integer i, j;
// fill the reservoir array
for each i in 1 to k do
R[i] := S[i]
done;
// replace elements with gradually decreasing probability
for each i in k+1 to length(S) do
j := random(1, i); // important: inclusive range
if j <= k then
R[j] := S[i]
fi
done
d**e
发帖数: 6098
44
来自主题: JobHunting版 - [合集] 我来说说amzn面试的吧
☆─────────────────────────────────────☆
gate (态度+做题) 于 (Sun Sep 30 23:00:35 2012, 美东) 提到:
希望对找工作的同胞有用。不过我以后的面试题可是会换了,哈。
【 以下文字转载自 Topcoders 俱乐部 】
发信人: gate (态度+做题), 信区: Topcoders
标 题: Re: G Interview Workshop
发信站: BBS 未名空间站 (Sat Sep 29 21:13:43 2012, 美东)
先说amzn的录取比例。我看了一下过去一年的,SDE 1,2,3从简历到最后接受offer的
比例是3-4%。 onsite -> offer比例30%, 最后有大概60%的人接受。SDE1接受offer的
比例明显高。SDE3接受比例最低,估计牛人都去google了。
再说面试,就我们大组(>200人)来看,面试的题目实在是简单。电面一般是2 sum,
find 2 min number in array这种口水题。我偷的zhangbz的数组去重的题电面了十几
个人只有两... 阅读全帖
H**M
发帖数: 128
45
来自主题: JobHunting版 - Failed G 还是觉得不明白为什么
我后来是用binary search,关于怎样缩小范围上答得不太顺,但还是被认可了。最终
时间不太够,就很快地写了code, 有些是sudo code, 没有到可以运行的程度。
Recruiter说那样就可以了。
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)