12-18-2007
The default behaviour is to disable the account unless you include the password (using -p option) when setting up the account.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to set up an alias called "fire" that will allow me to pass an argument(s) along with the command.
#fire program1 restart
the fire alias should resolve to "/etc/rc.d/init.d/" and then stick the "program1" immediatly after the trailing slash so it appears as one command with one... (4 Replies)
Discussion started by: randyreese
4 Replies
2. UNIX for Advanced & Expert Users
Hi,
Is there any way to restrict directories with one type of file creation.
regards. (8 Replies)
Discussion started by: guguli
8 Replies
3. HP-UX
Hi,
I have searched the web and have come back with nothing that is satisfactory for what I require. SFTP is my corporations new file transfer standard. What I require is a method to lock down SFTP users to their directory (they may go to sub directories) while not restricting regular users. ... (2 Replies)
Discussion started by: Emancipator
2 Replies
4. Red Hat
Hi
Thanks in advance.
How to create a user without useradd command ?? (1 Reply)
Discussion started by: krish4linux
1 Replies
5. AIX
can i get a step b syep explanation in creating LPAR... i have searched for tutorials i couldn't find the right one.... (2 Replies)
Discussion started by: udtyuvaraj
2 Replies
6. Solaris
Hi All,
How to restrict the NIS users not to change their passwords in for NIS users??
and my NIS user is unable to login to at client location what could be the problem for this ?
Any body can help me. Thanks in advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies
7. Red Hat
Hi All,
I work in a multi user environment where my school uses Red Hat Linux server. When I issue commands such as "top" or "users", I get to see what others are doing and what kinds of applications they are running (even ps -aux will give such information). "users" will let me know who else is... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies
8. Shell Programming and Scripting
hi,
i am new to shell scripts
i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies
9. Shell Programming and Scripting
I am trying to setup my plex server to use symlinks rather than host the movie files.
in my storage directory, i have both movies(some in subdirectory of the name and some just in the parent directory) and tvshows, which have subdirectories for each season, which contains the episodes
i would... (3 Replies)
Discussion started by: bandion
3 Replies
10. Programming
hi all,
created a bash script to create an ftp account, its here -
#!/bin/bash
dir=/mnt/sftp
group=sftp_users
echo "Enter UserName:"
read user
if id $user ; then
echo "$user already exists as you can see above, please re-run the script"
exit
... (6 Replies)
Discussion started by: robertkwild
6 Replies
LEARN ABOUT DEBIAN
lchage
lchage(8) System Manager's Manual lchage(8)
NAME
lchage - Display or change user password policy
SYNOPSIS
lchage [OPTION]... user
DESCRIPTION
Displays or allows changing password policy of user.
OPTIONS
-d, --date=days
Set the date of last password change to days after Jan 1 1970.
-E, --expire=days
Set the account expiration date to days after Jan 1 1970. Set days to -1 to disable account expiration.
-i, --interactive
Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.
-I, --inactive=days
Disable the account after days after password expires (after the user user is required to change the password).
-l, --list
Only list current user's policy and make no changes.
-m, --mindays=days
Require at least days days between password changes. Set days to 0 to disable this checking.
-M, --maxdays=days
Require changing the password after days since last password change. Set days to 99999 to disable this checking.
-W, --warndays=days
Start warning the user days before password expires (before the user is required to change the password).
EXIT STATUS
The exit status is 0 on success, nonzero on error.
libuser Jan 12 2005 lchage(8)