Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

partimaged-passwd(8) [debian man page]

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)

Check Out this Related Man Page

shexp(1)						      General Commands Manual							  shexp(1)

Name
       shexp - display password expiration information for a user

Syntax
       shexp [-q] [username]

Description
       The command is used to display a user's password expiration information.  The specified username, or logname if no username is supplied, is
       converted to a UID by searching through the passwd file.  The UID is then used to look up the user's entry in  the  Auth  Data  Base.   The
       password expiration information is then printed out in format.
       % shexp
       Expires Tue Dec	6 10:49:18 EST 1988
       If  the	password  has  already expired the word Expires will be replaced with the word Expired. If password expiration is disabled for the
       particular user in question the output of will be Never expires.

Options
       -q   Instead of displaying the expiration date and time in format, outputs it as three decimal numbers: the minimum password lifetime,  the
	    maximum password lifetime, and the password modification time.  All three numbers are displayed as they are found in the database.

Restrictions
       Only the super-user may obtain information about users with UIDs other than the real UID of the invoking process.

Diagnostics
       User not found in passwd data base.
       There is no entry in for the specified username.

       Cannot stat auth file.
       The database is missing (security features may not be enabled).

       Insufficient privilege.
       An insufficiently privileged user is asking for information about a username with a UID different then their current real-UID.

       An exit value of 0 indicates a successful operation, any other exit status indicates an error.

Files
See Also
       passwd(1), getauthuid(3), auth(5)
       Security Guide for Users

																	  shexp(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What happened to my user accounts?

Ahhhh!!!!!!!! All of my user accounts can no longer login. I suspected a corrupt passwd file, but everything looks OK and the passwd file works when I copy it to another system. All user accounts cannot login...they recieve a "No directory defined" error, but I can logon using root just fine. I... (13 Replies)
Discussion started by: jskillet
13 Replies

2. Shell Programming and Scripting

Filter passwd

Hello, I have to build a temp. passwd-file without looked passwd entries in the /etc/passwd. The looked passwd fields have an "*" in the passwd-filed (2nd field). I think, it's possible to solve this problem with a small awk, but I don't know how ??? Normal users lines should be still in... (11 Replies)
Discussion started by: Topsurfer
11 Replies

3. HP-UX

passwd file corrupted

Good Day Our HP box was hacked and the passwd file has been altered,there are only 2 user accounts active,and these dont have any administrative rights.I need to edit the passwd file to correct the su and root entries. Does any body have any suggestions as to how i can do this with out the root... (10 Replies)
Discussion started by: cantona7
10 Replies

4. Red Hat

forgot root passwd

hi i have a RHEL 4 and have forgot root passwd tried to boot in by singel user and then changing the passwd but it's not letting me do that ......throwing some weird error as .......manipulation i also tried to make a new user from CLI but even though it's not letting me in from that user as... (12 Replies)
Discussion started by: techbravo
12 Replies

5. Shell Programming and Scripting

Updating the comments field on /etc/passwd

Hi there, I have more that 300 servers that I need to updated the comments field on /etc/passwd for users that have a blank comments fields. The users have accounts on different servers. I have created a list of these users on a text file called update.txt check below. I need a script that... (11 Replies)
Discussion started by: Linux Duke
11 Replies

6. Shell Programming and Scripting

Expect passwd scripting

I am trying to write an expect script which will read information from a file that contains username and password, and change the password for each user accordingly. The list contains around 100 users. I am new to both Solaris and expect. I have successfully been able to set the first user's... (9 Replies)
Discussion started by: DoctorOctagon
9 Replies

7. Infrastructure Monitoring

need script for passwd , can't use expect tool

Hi , as others users here , i'm searching for a script which can automate "passwd" dialog . I saw threads about "expect tool" but on my platforms , "C" product isn't installed and i'm not the admin so i can't install it. is there another way to do it , with a "simple" shell script ??? ... (35 Replies)
Discussion started by: Nicol
35 Replies

8. Shell Programming and Scripting

need script for passwd , can't use expect tool

(35 Replies)
Discussion started by: Nicol
35 Replies

9. Solaris

Unable to change password for a user.

I am getting the following error message "passwd: User unknown: username" Permission denied error message when trying to change the password for that given user account. The user account is within the /etc/passwd file and I can also su to the account without any problems. This is sever is not... (11 Replies)
Discussion started by: eckmanb
11 Replies

10. Solaris

can't open /etc/passwd file

Hi all, Yet another problem on one of my nodes. I am unable to open my password file .It shows some junk alphabets. root@ecosdp26a>cat /etc/passwd... (10 Replies)
Discussion started by: vivek.goel.piet
10 Replies

11. Shell Programming and Scripting

reduce ssh calls / cleanup

all of our *nix systems are using local user accounts still, so i have come up with a management script to handle useradds / deletions / password resets etc. It is functional, but now i am trying to go through and reduce the number of ssh calls and clean up my messy coding. As it sits right now,... (11 Replies)
Discussion started by: tksol
11 Replies

12. UNIX for Dummies Questions & Answers

passwd - useradd issues

hi guys I'm having these problems with these commands and I have not idea why # passwd If 'passwd' is not a typo you can run the following command to lookup the package that contains the binary: command-not-found passwd -bash: passwd: command not found # useradd temp Warning:... (15 Replies)
Discussion started by: karlochacon
15 Replies

13. UNIX for Dummies Questions & Answers

List system users and..

Hello i need fast help... script which will list only human users from /etc/passwd and find out if they have something in home. Thanks (11 Replies)
Discussion started by: mentoscz
11 Replies

14. Shell Programming and Scripting

Find/replace in file from another file.

Dear Shell Expert, I have requirement of replacing passwd field in number of files based on username in them. The matching username and "new" password in available in a separate file. below is the sample for both. #sample of one of the file content, red highlighted field are username and... (20 Replies)
Discussion started by: KDDubai333
20 Replies

15. AIX

Decrypt ssha1 password

hi to all, i have an AIX6.1 machine and i want to decrypt an ssha1 password written on /etc/security/passwd. the reason that i want to do that is because i have some complains about a few users that cannot login and receive the message for invalid login. i suspect that they are entering wrong... (15 Replies)
Discussion started by: omonoiatis9
15 Replies