由买买提看人间百态

topics

全部话题 - 话题: passwd
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
T********r
发帖数: 6210
1
来自主题: Unix版 - SOSSSS! Passwd file broken
try to boot into single user mode (search google for FAQs
for your UNIX system, i.e. Solaris FAQs if you are using
Solaris), and then mount the file system which contains
/etc, move passwd to passwd.bak, and create a new passwd
file as:
echo "root::0:0::/:/bin/sh" > passwd
then reboot the machine, login as root and modify the
passwd.bak to remove ^M, copy it back to passwd.
a*****s
发帖数: 2663
2
照着arch arm的wiki装了一些service,好几个月了。现在想做点改动,突然发现密码
全忘了。于是拔了usbkey,mount到一个linux虚拟机,把/etc/shadow的root passwd
clear了。插回pogoplug重启,ssh后不输passwd回车结果说Permission denied。再
mount usb flash到别的机器看,shadow文件对应的2nd field不是空的了。对linux下
security机制不是很懂,那位大虾能提个醒,怎样才能reset passwd via ssh? 以前这
样改shadow都没问题的,这回我觉得大概是ssh的问题。如果是local的console应该就
可以了,可惜pogo没有。大家支支招吧,我实在记不得该死的密码了。先谢了
a*****s
发帖数: 2663
3
照着arch arm的wiki装了一些service,好几个月了。现在想做点改动,突然发现密码
全忘了。于是拔了usbkey,mount到一个linux虚拟机,把/etc/shadow的root passwd
clear了。插回pogoplug重启,ssh后不输passwd回车结果说Permission denied。再
mount usb flash到别的机器看,shadow文件对应的2nd field不是空的了。对linux下
security机制不是很懂,那位大虾能提个醒,怎样才能reset passwd via ssh? 以前这
样改shadow都没问题的,这回我觉得大概是ssh的问题。如果是local的console应该就
可以了,可惜pogo没有。大家支支招吧,我实在记不得该死的密码了。先谢了
D******n
发帖数: 2836
4
来自主题: Linux版 - /etc/passwd 里面没有user ids?
new question
when i do getent passwd, not all the users are listed.
for example, i know there is a user called xyz
when i do
%getent passwd|grep xyz
nothing returned
but if i do
%getent passwd xyz
some info is returned
why is that?
z**q
发帖数: 3807
5
来自主题: FleaMarket版 - [+]passwd
对方ID:
passwd
Feedback (+/-/0):
+
具体交易内容:
CO mileage
我的评价:
good buyer
交易原始贴链接:
http://www.mitbbs.com/article_t0/FleaMarket/32849119.html
N*****7
发帖数: 1899
6
来自主题: Apple版 - IPad 不知道Passwd怎么办?
本来没有Passwd。 我拿IPAD在上下班路上网 上买买提 看时刻表。
晚上娃玩来玩去不知怎么给锁住了。她进不去了拿给我看。
就是4位数字。 娃不太会说话问她没用。
可以到店里Reset吧。
听说Reset后照片就没了 其他都有网上备份? 还有什么方法?
f*******h
发帖数: 1269
7
No. I tried all combinations, still not working.
How can I change the passwd with UNIX oaracle account?
h*********s
发帖数: 14
8
来自主题: Database版 - How to reset lost root passwd in mysql.
Hi there,
I installed mysql 4.0 on solaris this April but I forget the root passwd of
mysql. How can I reset it? also, how can I check if mysql server is up and
running? I runps -ef|grep mysql but couldn't find anything.
Thank you very much!
h*c
发帖数: 1859
9
来自主题: Linux版 - /etc/passwd 里面没有user ids?
???
in ubuntu, I can see my id in passwd
x**m
发帖数: 941
10
来自主题: Linux版 - /etc/passwd 里面没有user ids?
到底是有用户信息单缺uid:
smith:*::100:Joe Smith:/home/smith:/bin/bash
还是passwd文件里面只有少量几个用户?
如果是后者,看看nsswitch.conf,可能用了NIS或者别的目录系统。
x**m
发帖数: 941
11
来自主题: Linux版 - /etc/passwd 里面没有user ids?
看看/etc/nsswitch.conf里面passwd一行是什么。
NIS和基于ldap的系统,默认应该允许用户查看系统用户名列表。
D******n
发帖数: 2836
12
来自主题: Linux版 - /etc/passwd 里面没有user ids?
搞定了,上面写着 files ldap. 我google了一下,可以用以下命令看到所有users
%getent passwd
Thanks all.
x**m
发帖数: 941
13
来自主题: Linux版 - /etc/passwd 里面没有user ids?
你确认getent passwd里面有xyz? 想来这个输出应该是到stdout而不是stderr,如果
grep没有,那就有点奇怪了。
x**m
发帖数: 941
14
来自主题: Linux版 - /etc/passwd 里面没有user ids?
至少对应/etc/passwd里面的信息都是公开的吧。
D******n
发帖数: 2836
15
来自主题: Linux版 - /etc/passwd 里面没有user ids?
no xyz
weird thing is getnet passwd does output a long list
and it looks like it stopps at user name starting with f as if it
is suddently terminated for some reason.
L*1
发帖数: 11537
16
来自主题: Linux版 - /etc/passwd 里面没有user ids?
NIS用户在remote机器上,you do not have access. The /etc/passwd file on your
local machine only has information for local users.
You can query information of a particular user, but if you do not have a
user name, then the query will not return a list of users to you. In that
sense, it is protected -- you must know the user is valid on the system.
w*y
发帖数: 47
17
来自主题: Security版 - How to know admistrator's passwd in NT
I work on windows2000. I can not install software in my machine.
Because there is a passwd for Administrator , and I do not know it.
Da Xia, please help, thanks
g*******a
发帖数: 1383
18
来自主题: Security版 - How to retrieve my passwd
hi all,
i have several FTP sites saved under my
ws ftp. because i alwsays auto login so
now i don't remember the passwd anymore.
and they all loke like ******
how can i retrieve them again?
thanks
d******e
发帖数: 143
19
anyone know how to generate encrypted passwd by crypt() ?
according to the man page, crypt() takes 2 parameters:
crypt(cosnt char *key, cosnt char *salt)
the result is a 13 char string.
however, the encrypted password at /etc/shadow has this
format:
$1$abcdefrg$abcdefrg1234567890qwer
there're 8 char between the 2nd $ and the 3rd $, and another
22 char after the 3rd $.
anyone know how this encrypted password is generated? using
crypt() or else? I can't find any man page about that. no
man page fo
o****d
发帖数: 1346
20
来自主题: Unix版 - where is the passwd file stored
in unix environment, where did passwd get stored ? what is the file name ?
thanks.
L***e
发帖数: 42
21
来自主题: Unix版 - where is the passwd file stored
The files are:
/etc/passwd (save user information, password may not be
here)
/etc/shadow (hashed password file)
/etc/group (group information)
l*****n
发帖数: 12
22
来自主题: Unix版 - SOSSSS! Passwd file broken
Here is the scenario:
I ftped passwd to windows.
And modify it a little bit.
Then ftp it back.
Noboday can log int the machine now.
I guessed it is because there is an Control-M at the end
of each line.
But how to solve it?
Is there a solution for this?
w*p
发帖数: 16484
23
Someone delete the /etc/passwd file in my solaris workstation, now nobody can
log in the machine now, does anybody has a way to recover it?
W****n
发帖数: 141
24
try recover from
/etc/shadow
I mean get the username from this file.
then use some script to create a new passwd file
according to its format.
Good Luck
T********r
发帖数: 6210
25
STOP_A
> boot -s
hopefully it can drop you a root shell. if not, you need solaris
setup cd to boot.
Then mount the hard drive, and create a new passwd file.
m********m
发帖数: 8
26
来自主题: Unix版 - qustion about entry in /etc/passwd
What does a entry in /etc/passwd like this mean?
+:
Thanks
yy
发帖数: 45
27
来自主题: Unix版 - what is x in the /etc/passwd mean?
请问在/etc/passwd 中 suppose 是 passward for the user 的field中
填了一个x, 是啥意思?
a**********0
发帖数: 422
28
来自主题: JobHunting版 - 发个我总结的unix常用命令
The Unix Commands
其实就是攒了一下网上的资料
# Create a new tar archive.
# the folder dirname/ is compressed into archive_name.tar
tar cvf archive_name.tar dirname/
# Extract from an existing tar archive
tar xvf archive_name.tar
# View an existing tar archive
tar tvf archive_name.tar
# Search for a given string in a file (case in-sensitive search).
grep -i "the" demo_file
# Print the matched line, along with the 3 lines after it.
grep -A 3 -i "example" demo_text
# Search for a given string in all files recur... 阅读全帖
ab
发帖数: 37
29
来自主题: Unix版 - Cannot change password
I want to change my passwrod, but encounter such errors:
%>passwd
passwd: changing passwd for xxxx
Enter Login(NIS+) passwd:
passwd(SYSTEM):sorry, wrong passwd
Permission denied.
n*****t
发帖数: 22014
30
来自主题: BuildingWeb版 - 简单的jquery/table/mysql网站模版
// ajax.php
// http://myhost.com/ajax.php?admin=user&pass=passwd&query=select * from table
function pre_encode(&$item, $key) {
if (is_string ( $item ))
$item = mb_encode_numericentity ( $item, array ( 0x80, 0xffff, 0,
0xffff ), 'UTF-8' );
}
$user = $_REQUEST ['user'];
$pass = $_REQUEST ['pass'];
if ($user != 'admin' || $pass != 'passwd')
die ( "incorrect passwd" );
$ret = mysql_connect ( "localhost", "root", "passwd" ) && mysql_select_db (
"database" ) && mysql_set_charset ... 阅读全帖
c***r
发帖数: 46
31
web based chat client is not safe. you need to give out your passwd to
someone
you don't know.
even if you trust them, store your passwd in plain text somewhere on the web
is never a good idea.
do it only if your IM passwd is very different from your other passwds and
you
don't care if it's stolen.
m***f
发帖数: 732
32
来自主题: LosAngeles版 - 写了个 SAC的抓deal code (转载)
【 以下文字转载自 Outdoors 讨论区 】
发信人: motif (魔地佛), 信区: Outdoors
标 题: 写了个 SAC的抓deal code
发信站: BBS 未名空间站 (Wed Nov 3 17:01:39 2010, 美东)
抓到你想要的deal自动给你发email或短消息,有兴趣的下去改了用。直接拷贝下面这
段code修改后存为sac.py,然后运行python sac.py即可。在python 2.7下测试通过。
#!/usr/bin/python
import re
import urllib
import smtplib
import time
from email.mime.text import MIMEText
target=[['trekking', 'poles'],['Napali', 'Backpack'],['north', 'face'],['
oakley','battalion']] #The items you want to monitor, in every set of [] AND
logical will be us... 阅读全帖
m***f
发帖数: 732
33
来自主题: Outdoors版 - 写了个 SAC的抓deal code
抓到你想要的deal自动给你发email或短消息,有兴趣的下去改了用。直接拷贝下面这
段code修改后存为sac.py,然后运行python sac.py即可。在python 2.7下测试通过。
#!/usr/bin/python
import re
import urllib
import smtplib
import time
from email.mime.text import MIMEText
target=[['trekking', 'poles'],['Napali', 'Backpack'],['north', 'face'],['
oakley','battalion']] #The items you want to monitor, in every set of [] AND
logical will be used to match a specific item
discount_threshold=50 #threshold of percentage to trigger event
check_interval=60 #the interval to ... 阅读全帖
w*********r
发帖数: 2095
34
来自主题: Database版 - 在Ubuntu上更改Oracle用户密码请教
我忘了自己的密码,也不知道是什么时候设的密码。试了北京推荐的默认密码也不行。
于是我决定更改Oracle User的密码。
Google了一下,据说可以这么改:
1) # su - oracle
2) $ id
uid=1001(oracle) gid=1001(oinstall) groups=1001(oinstall),1002(dba)
3) $ passwd oracle
Changing password for oracle.
(current) UNIX password:
什么是这个UNIX password? 是我的Ubuntu的root密码吗?为什么我输入后显示如下错
误:
passwd: Authentication token manipulation error
passwd: password unchanged
谢谢。
a*****s
发帖数: 2663
35
来自主题: Hardware版 - POGOPLUG恢复后的root密码
It's a black pogoplug pro. It's been a long time and I wasn't really using
it for any serious stuff. I don't even remember what exactly have I done to
it. What I am sure is that I followed the wiki and installed archlinux and
put up some dlna server and now I forgot the root passwd or any passwd and I
am sure it is not some default passwd. Any help is appreciated!
d****g
发帖数: 1049
36
来自主题: Linux版 - 诡异加用户问题
sudo useradd -d /home/newuser -m newuser
sudo passwd newuser
$>cat /etc/passwd|grep newuser
testuser:x:1003:1005::/home/newuser:/bin/sh
一个刚用图形界面新加的没问题用户:
$>cat /etc/passwd|grep gooduser
gooduser:x:1002:1004:gooduser,,,,:/home/gooduser:/bin/bash
区别是那几个逗号,也不知道啥意思:)
z****1
发帖数: 3840
37
来自主题: Programming版 - 这个简单的post.py怎么不work
业余写个脚本自动买菠菜 怎么就是不对呢
这个就是去
http://www.mitbbs.com/mitbbs_lottery.php?board=NBA&num=139461
选1 player 填张数1 点购买
结果能成功登陆 能买 能logout 就是选项(ITEM)没选上。。
谁帮我看看哪儿有问题 谢谢!
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
import time
userid = ''
passwd = ''
lott_id = '139461'
piece = '1'
def maipan(lott_id, piece, cookies):
url = 'http://www.mitbbs.com/mitbbs_lottery.php?board=NBA&num=' + lott_id
form = {
'ITEM' : '1',
'piece' : piece,
'msg' : '',
... 阅读全帖
z****1
发帖数: 3840
38
来自主题: Programming版 - 这个简单的post.py怎么不work
谢谢回复!
我看见这个key了 但是既然能成功提交form 只是漏掉一个value 我就想这个key应该
是没用到的
试了加上这个key 果然还是一样 买上了一注 没选项 白交给赌场了。。
看到你成功买到一注player 是怎么买到的啊?
新code在下面
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
import time
from bs4 import BeautifulSoup as bs
userid = ''
passwd = ''
lott_id = '139461'
piece = '2'
def maipan(lott_id, piece, csrf_key, cookies):
url = 'http://www.mitbbs.com/mitbbs_lottery.php?board=NBA&num=' + lott_id
form = {
'ITEM' : '1',
'piece' : piece,
... 阅读全帖
c*****o
发帖数: 6
39
I have a client/server application need to communicate securely. The client
needs to input username/passwd to access the server and the client knows the
public key of the server (Ku). My two-way authentication and secret key
establishment protocol is as follows:
1. The client sends Ku(username||passwd||N1) to the server. N1 is a random
number generated by the client in this session.
2. The server decrypts the message using the private key and verify the
username/passwd by consulting a database.
w*******t
发帖数: 1
40
来自主题: Unix版 - 急!!!!
. passwd+ - 公共域口令检查器,可取代系统的/bin/passwd。
它是基于规则的,易于配置。可防止用户选择一个弱口令,
防止像"CRACK"的程序来猜它。可运行于: SunOS 4.X, Solaris 2.3,
Ultrix 4.3A, 和 SGI IRIX 4.x. Passwd+ 可匿名ftp下载,
从 tam.cs.ucdavis.edu ,
位于目录/pub/security.
小弟急需这个软件,
请在国外的弟兄帮忙下载,或告之那还有下载??上提供的地址我连不上:PP
那个找到的发到我的邮箱:w*******[email protected]
//bow all!!
y**a
发帖数: 39
41
来自主题: Unix版 - [转载] 请教
【 以下文字转载自 Programming 讨论区 】
【 原文由 yoga 所发表 】
在perl中如何把需要从STDIN得到的parameter不从STDIN来pass给它.
For example:
call a script:
`htpasswd passwordfile userid`;
which will add userid into passwordfile and generate the encrypted password
from the STDIN.
it will run like the following:
passwd:
re-type passwd:
怎样把一个default的passwd传过去在不改变这个script的情况下.
谢谢
g*****y
发帖数: 26
42
来自主题: Unix版 - [转载] 关于unix用户帐号
your program must run as root and get password and username
from /etc/passwd or /etc/shadow and call crypt(password,passwd)
to encrypt the password you get from the web.
then compare the result with passwd..
ab
发帖数: 37
43
来自主题: Unix版 - Cannot change password
still can not
the response is:
%>yppasswd
passwd: changing passwd for xxxx
passwd(SYSTEM): xxxx does not exit
Permission denied.
m******g
发帖数: 91
44
####win9x -> win2k###
1. on win2k pc
set the drivers/folders shared as before, and set the permission for
different levels as 'authenticated users', 'power users', or 'guest';
ps: you need to 'add these users and set passwd' if they don't exist.
2. on win9x pc
set win9x network as 'client for Microsoft Network', and restart. type
in the user name/passwd; then win9x user can see and share win2k resource.
###win2k -> win9x###
set drivers/folders shared, set user/passwd and set 'c
m***f
发帖数: 732
45
来自主题: _IronMountain版 - 写了个 SAC的抓deal code (转载)
【 以下文字转载自 Outdoors 讨论区 】
发信人: motif (魔地佛), 信区: Outdoors
标 题: 写了个 SAC的抓deal code
发信站: BBS 未名空间站 (Wed Nov 3 17:01:39 2010, 美东)
抓到你想要的deal自动给你发email或短消息,有兴趣的下去改了用。直接拷贝下面这
段code修改后存为sac.py,然后运行python sac.py即可。在python 2.7下测试通过。
#!/usr/bin/python
import re
import urllib
import smtplib
import time
from email.mime.text import MIMEText
target=[['trekking', 'poles'],['Napali', 'Backpack'],['north', 'face'],['
oakley','battalion']] #The items you want to monitor, in every set of [] AND
logical will be us... 阅读全帖
p*********w
发帖数: 23432
46
关于linux.deepin.org域名无法访问的说明再说明zz
by GFW BLOG 功夫网与翻墙
来源:http://igfw.tk/archives/3021
前天我才发现深度论坛不能 访问了,以为他们又在论坛调整,不过事先也没有个公告
,今天才知道是域名被停止解析了,如果说前些天free8.com因免费 VPN的文章域名被
DNS污染还算事出有因的话,这次对linux.deepin.org域名停止解析就只能说是荒唐至
极,猜测也许是我2011年3月4 日的 一片博文Linux Deepin中ssh翻墙脚本的使用后 来
被GFW BLOG转载造 成的,不过正如下面linuxdeepin声明所述SSH翻墙是所有电脑系统
甚至手机系统都可以使用的方法,要是真的就因为这个就停止 linux.deepin.org域名
解析,真是不知道有关部门是白痴至极还是他们真的疯狂到了如此地步,那他们索性把
微软、苹果和所有Linux发行版的网站都给封锁了算了。
我已经把以前的那篇文章删除了,希望GFW BLOG能够把http://www.chinagfw.org/2011/03/linux-dee... 阅读全帖
m***r
发帖数: 1801
47
easy
use a linux livecd, start, mount the harddrive
then u can access the files
u can erase the passwd by editing /etc/passwd on the partition you
mounted, but i believe you can save the trouble just installing a fresh
version of other operating systems
p****x
发帖数: 4260
48
☆─────────────────────────────────────☆
passwd (当回rib妹) 于 (Fri Oct 17 22:14:34 2008) 提到:
第一个,现在存CD还可靠吗?在这个大环境下?
第二个,CD的APY和interest rate有什么区别?有联系吗?
谢谢。
☆─────────────────────────────────────☆
SONYYY (So, what's up?) 于 (Fri Oct 17 22:15:15 2008) 提到:
放床底下吧,可靠的很

☆─────────────────────────────────────☆
passwd (当回rib妹) 于 (Fri Oct 17 22:16:26 2008) 提到:
不觉得,有老鼠。。。
☆─────────────────────────────────────☆
SONYYY (So, what's up?) 于 (Fri Oct 17 22:17:53 2008) 提到:
当然是换成黄金放了。。。
顺便把地址发给我
b*****d
发帖数: 50
49
来自主题: HongKong版 - 我来坦白(1):-))))))))))))
"help" is me actaully.
但是我处处留破绽,你们就是没有发现.
//sign
1. 当help在线的那么久时间内,你们只要telnet上server,用ping或finger一check
哪些user,就能知道help是谁了.
2. 我发的那篇名为"揭露help"的文章,其实不是让你们看他的id, 而是让你们注意到
他曾经发过三十多篇文章.如果有人猜是我的话,跑到zju,gowest,...版里一查
原来他发的文章,就马上能发现他的真实ID.
3. 当你们猜到babybad的id时,我其实特别紧张,为什么没有人继续下去呢?只要用
这个passwd进入help,就能证明是我,而且里面都有我的详细资料,such as email.
4.honix的方法也不失为一个好办法,这是不得不承认的.
5.godman凭help和chicago发来message得出了我是help的结论,还一度攻破我的passwd,
也算不错,但因为没有我的真评实据,显得无法服众.
还有几个有趣的id,大家有兴趣的话还可以自己课余track一下到底是谁.上明的几百篇
文章还是很有意思的,有空的话再慢
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)