Sponsored Content
Special Forums Cybersecurity Root password lifetime default Post 302126713 by veccinho on Thursday 12th of July 2007 12:28:00 PM
Old 07-12-2007
Root password lifetime default

Hello everyone!
Could someone tell me where and how can I change the default value for root password lifetime. Now it is 30 days and I want to increase it on 90.
The passwd -x doesn't help because after 90 days it will again go to default value. The OS is Tru64 5.1 and enhanced security is turned on.
Tnx in advance!
 

10 More Discussions You Might Find Interesting

1. Answers to Frequently Asked Questions

Lost root password / Can't login as root

We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies

2. Linux

how to access root priveliges if root password is lost

wish to know how to access root password it root password is forgotten in linux (1 Reply)
Discussion started by: wojtyla
1 Replies

3. UNIX for Dummies Questions & Answers

I need it to prompt me for a root password, so I don't have to log as root

Hi folks, I'm trying to install a program, and I want to place some of the executables into /usr/bin so that they can be executed from any folder on the computer. I've been giveng the root password, but told never to log in directly as root. Instead, I can wait for a password prompt. However, I... (2 Replies)
Discussion started by: lunchtime
2 Replies

4. Linux

root password

Hi everybody: I have a problem. How does it possible that when I type the root password on terminal, later write: su password: ****** System recognize the password, but when a I use the GUI environment, the system does not recognize it. Any suggestion. :o Thanks in advance. (2 Replies)
Discussion started by: tonet
2 Replies

5. HP-UX

Root Password

Hi all, I am changing the root password periodically from eg: password01 to password02. However, I can still use password01 after it is changed, it seems that it only authenticates up the first few characters. Please can someone let me know how I can fix this. Thanks Ryan (1 Reply)
Discussion started by: macgre_r
1 Replies

6. Shell Programming and Scripting

how to change root password using shell script with standard password

Hi Friends. I am new to scripting now i want to change the root password using the script with standard password. which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies

7. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

8. Solaris

Lost Root Password on VXVM Encapsulated Root Disk

Hi All Hope it's okay to post on this sub-forum, couldn't find a better place I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies

9. Ubuntu

Root access that can't change root password?

We are having a little problem on a server. We want that some users should be able to do e.g. sudo and become root, but with the restriction that the user can't change root password. That is, a guarantee that we still can login to that server and become root no matter of what the other users will... (2 Replies)
Discussion started by: 244an
2 Replies

10. UNIX for Beginners Questions & Answers

Can a root role change the root password in Solaris 10?

i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet. and do i have to use the # chgkey -p afterwards? i need to patch is why i am asking. thanks (1 Reply)
Discussion started by: goya
1 Replies
passlen(3)						     Library Functions Manual							passlen(3)

NAME
passlen - Determines minimum password length (Enhanced Security) LIBRARY
Security Library - libsecurity.so SYNOPSIS
#include <sys/types.h> #include <sys/security.h> #include <prot.h> int passlen( time_t life_dur, time_t login_delay, int alphabet_size); PARAMETERS
Specifies the password lifetime duration for an account (in seconds). Specifies the amount of time (in seconds) between login attempts. Specifies the number of distinct characters that can be used in a password. DESCRIPTION
The passlen() function takes the password lifetime duration life_dur for an account and the login_delay between login attempts, both values in seconds, and the alphabet_size of distinct characters, and returns the minimum password length according to the algorithm in the DoD Password Management Guideline (the Green Book). The parameter that specifies the probability of guessing a password is fixed to the value of 1 chance in a million. NOTES
If the life_dur or prob_guess parameters change in the protected password database for this account (or for the system default if those values are used in an account), it is a good idea to invalidate the password in case the new parameters require a longer minimum password length. Programs using this function must be compiled with -lsecurity. delim off RELATED INFORMATION
Functions: randomword(3), exp(3), floor(3). Commands: passwd(1). delim off passlen(3)
All times are GMT -4. The time now is 06:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy