I'm trying to add an expiration to all of the local logins, but everytime I do the:
usermod -e <date> <login>
command, I get a error msg "usermod error <date> is not a valid expiration date. CHoose another"
I've tried 6/26/06, June 26, 2006, 26/6/06, 6/26/2006 everything I can think of.
... (1 Reply)
Hi, I put an expiration on a few id's that I want to remove now. From the man page
-e expire Specify the future date on which a login can no
longer be used; after this date, no user will be
able to access this login. This option is useful
... (0 Replies)
Hi,
I would need to modify my machine name :
When i give "w" command, i am getting following message
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
krishnag pts/59 gunasekar 1:25pm 25:15 0.03s 0.03s -csh.
My questions is, i need to change FROM (i.e... (1 Reply)
Hello,
I'm a bit confused by the usage of those two commands. I have 2 freshly installed systems and the behaviour is different from one system to another.
root@systemONE rolemod -G mygroup postgres
UX: rolemod: ERROR: Users most be modified with ``usermod''.
root@systemTWO usermod -G... (6 Replies)
Hello All,
Could you please let me know if the usermod command works in AIX? If yes, on what versions? We have a situation in which we need to change the UID of few users who have the same UID as root. We have changed it in /etc/passwd for now but want to use usermod in future. The syntax is as... (2 Replies)
Hi, I am root user. I need to add more groups to the account. I usse the below command but no apparent result
# id
uid=0(root) gid=0(root) groups=0(root)
# usermod -a -G 302,301,303 root
# id
uid=0(root) gid=0(root) groups=0(root)
#
What can be the reason? (6 Replies)
i install Solaris 11.2 , Oracle Corporation SunOS 5.11 11.2 April 2015
and make 2 zones for Oracle RAC
non-global zones : rac1, rac2
in zones i create group's and user's
/usr/sbin/groupadd -g 1000 oinstall
/usr/sbin/groupadd -g 1020 asmadmin
/usr/sbin/groupadd -g 1021... (2 Replies)
Discussion started by: penchev
2 Replies
LEARN ABOUT LINUX
mkpasswd
MKPASSWD(1) Debian GNU/Linux MKPASSWD(1)NAME
mkpasswd - Overfeatured front end to crypt(3)SYNOPSIS
mkpasswd PASSWORD SALT
DESCRIPTION
mkpasswd encrypts the given password with the crypt(3) libc function using the given salt.
OPTIONS -S, --salt=STRING
Use the STRING as salt. It must not contain prefixes such as $1$.
-R, --rounds=NUMBER
Use NUMBER rounds. This argument is ignored if the method chosen does not support variable rounds. For the OpenBSD Blowfish method
this is the logarithm of the number of rounds.
-m, --method=TYPE
Compute the password using the TYPE method. If TYPE is help then the available methods are printed.
-5 Like --method=md5.
-P, --password-fd=NUM
Read the password from file descriptor NUM instead of using getpass(3). If the file descriptor is not connected to a tty then no
other message than the hashed password is printed on stdout.
-s, --stdin
Like --password-fd=0.
ENVIRONMENT
MKPASSWD_OPTIONS
A list of options which will be evalued before the ones specified on the command line.
BUGS
If the --stdin option is used, passwords containing some control characters may not be read correctly.
This programs suffers of a bad case of featuritis.
SEE ALSO passwd(1), passwd(5), crypt(3), getpass(3)AUTHOR
mkpasswd and this man page were written by Marco d'Itri <md@linux.it> and are licensed under the terms of the GNU General Public License,
version 2 or higher.
Marco d'Itri 21 March 2008 MKPASSWD(1)