Sponsored Content
Full Discussion: Need to change root passwd
Top Forums UNIX for Dummies Questions & Answers Need to change root passwd Post 302094428 by mayewil on Friday 27th of October 2006 12:58:18 PM
Old 10-27-2006
I've really got myself into a cluster..... . I switched to sys using su - sys. Don't ask me why . But now I can't get back to root without a password. And I don't know the password for sys. So what log files are you asking about? I'll need the specific name. The only thing left to do is a hardboot from the system switch and I don't think that's going to buy me anything. Sinc eI don't know the root or sys password I'm really jammed up here.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Preventing passwd root?

I knew it would happen sooner or later.... We have a requirement that specific individuals need "sudo root" authority. I knew it only a matter of time before someone decided to change the root password (at least they owned up to it). Now the question is how can I grant all rights except... (4 Replies)
Discussion started by: scottsl
4 Replies

2. UNIX for Dummies Questions & Answers

Dont have the root passwd for Solaris 8

Hello chiefs :) I have a SUN Enterprise 250, running Solaris 8.5 - I have managed to be able to connect a dumb terminal to the box via a standard straight-through rj45 cable, to my ibm laptop. OK so Putty can connect to the box via ssh - nice! But I dont have the password for root - or any... (1 Reply)
Discussion started by: congo
1 Replies

3. Solaris

Recover root passwd

Any body pls let me know the procedure to recover ROOT password in Sun Netra 20 Server..I forgot the password. (5 Replies)
Discussion started by: gini
5 Replies

4. Solaris

How to set new Root Passwd

I forget the Root Passwd of my Sun Netra 20 server and break the same by editing /etc/shadow.Now there is no passwd for Root. And How to set new root passwd?Pls help.... (2 Replies)
Discussion started by: gini
2 Replies

5. UNIX for Dummies Questions & Answers

hw to reterive root passwd

heyy i forgot my root passwd but i cant reinstall due to some reason can anyone tell me hw to reterive root passwd (10 Replies)
Discussion started by: mightypp.nits
10 Replies

6. UNIX for Dummies Questions & Answers

How to edit the /etc/passwd file not using root?

Hi All, Today I faced a problem trying to log in as root. The output error is cannot execute sh: No such file.... I doubted there is something wrong with shell interpreter which resides in /etc/passwd file for every user who logs in. I checked and the line for root account was... (4 Replies)
Discussion started by: elthox
4 Replies

7. 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

8. Red Hat

Root shell in /etc/passwd is corrupted

I accidentally changed root shell from /bin/bash to bash in /etc/password, then logged out from root. Now I can't login as root and got "No shell" error, although I have root password. "su -f -s /bin/bash" command does NOT work. There is no GUI interface for this system. My question: Do I have... (7 Replies)
Discussion started by: aixlover
7 Replies

9. HP-UX

Sudo entry required to set permission similar to ROOT without using password (PASSWD) change optio

Hi All I had installed sudo in HP UX 11.3 and it is working fine but not able to make entry required to set permission similar to ROOT without using password (PASSWD) change option for define user in /etc/sudoers file Please help if some know the syntex? :confused::wall: (2 Replies)
Discussion started by: deviltech
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 07:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy