Hello ppl,
A small mistake of mine has led the /etc/passwd file deleted. So i went to rescue mode and used the following command echo "root::0:0:Superuser:/:/bin/bash" > passwd
but that did not get effect in anyway way. when I switch back to normal mode the root is still asking for a passwd.... (3 Replies)
I have left unix for a long time.Almost forget everthing.:(
Anybody can tell me what is the meaning?
wc /etc/passwd
9 16 1155 /etc/passwd
and
$ wc -l /etc/passwd
wc -l /etc/passwd
9 /etc/passwd (1 Reply)
Hello All
I want to print only the full name from the /etc/passwd file and print it to the screen .
Could you please let me know how can I do that? (4 Replies)
Is there any way to allow users to access the etc/passwd file for commands like whoami but not be able to read the file? If I don't put a user in the security group and change the permissions on the etc/passwd file to 640 (rw-r-----) the users can login but the whoami command doesn't work for... (5 Replies)
Hi Folks,
I have Solaris 10, latest release.
We have passwd aging set in /etc/defalut/passwd.
I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging.
When I reset the users passwd using passwd command, it re enables... (3 Replies)
Hello ,
how to open utemp,getpwuid files.I know what info these files will carry but i dont know ow to open see the info present in it.
Thanks to help. (4 Replies)
Hi,
I've a problem regarding understanding of result of passwd -s command.
> passwd -s
abc PS 05/24/12 0 441
I'm not a super user. But i need to write a simple code for checking password expiry and send an email to the team id. Is there any other command or way to achieve this?... (6 Replies)
Discussion started by: sam_bd
6 Replies
LEARN ABOUT DEBIAN
partimaged-passwd
partimaged-passwd(8) Partition Image Server Configuration partimaged-passwd(8)NAME
partimaged-passwd - Manage partimaged user accounts
SYNTAX
partimaged-passwd [-Dhl] username password
partimaged-passwd [-Dhl] username
DESCRIPTION
partimaged can either authenticate against local user accounts (This needs access to /etc/shadow. As this is a potential security risk this
method is not recommended) or its own password database in /etc/partimaged/passwd.db. To simplify the management of the partimaged user
database this tool was written. It allows to easily add and remove users or list the users in the database. All users in this database are
allowed to access the partimaged server.
OPTIONS -D username
Delete the specified user from the password file.
-l List users in password file and exit.
-h Output help information and exit.
FILES
/etc/partimaged/passwd.db
AUTHORS
Michael Biebl <biebl@debian.org>
SEE ALSO partimaged(8), partimagedusers(5), partimage(1)Michael Biebl <biebl@teco.edu> 0.1 partimaged-passwd(8)