05-19-2009
change root password automatically
Yes, I am a system administrator but not for a long time. My systems are Suse LInux 9 and 10
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to create a script that logs into a list of several servers 50+ and changes my password all at once.
Every 60 days we are required to login to each system and change our passwords or else they expire and our login account is deleted.
I have an idea on how I could do this but... (4 Replies)
Discussion started by: darthur
4 Replies
2. Shell Programming and Scripting
I want to write a script which will automatically take password
sequentially from a file after every 10 days.
i.e the passwd command should be executed automatically every 10 days and it should take the input from the password file sequentially.
Has any1 got a solution?????????????? (1 Reply)
Discussion started by: rahulrathod
1 Replies
3. HP-UX
Hello!
I forget the root password and I need to change it. I've read others threads about it in this forum, but it seems it's necessary to modify /etc/passwd file. In my HPUX Systems this passwd file have only "read" permissions ant its owner is the root user, so how can i modify this file, if I... (4 Replies)
Discussion started by: kaugrs
4 Replies
4. HP-UX
Hi, we have a HP-UX server of model 9000/800/rp4440. We have been trying to reset the root password but are in vain.I used the following command and also are the outputs which i have received.
# passwd
Changing password for root
New password:
Re-enter new password:
Unexpected failure.... (3 Replies)
Discussion started by: angelofhell
3 Replies
5. Solaris
Hi All,
I would like to find out when the root password changed last time..! :p Please guys help me Out (2 Replies)
Discussion started by: bullz26
2 Replies
6. Shell Programming and Scripting
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
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. Ubuntu
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
9. UNIX for Beginners Questions & Answers
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
LEARN ABOUT HPUX
convertfs_hfs
convertfs(1M) convertfs(1M)
NAME
convertfs - convert an HFS file system to allow long file names
SYNOPSIS
[special-file]
DESCRIPTION
The command converts an existing HFS file system supporting the default maximum file name length of 14 characters into one that supports
file names up to 255 characters long. Once an HFS file system is converted to long file names, it cannot be restored to its original
state, since the longer file names require a directory representation that is incompatible with the default HFS directory format. Since
this is an irreversible operation, prompts for verification before it performs a conversion.
forces the system to reboot if the root file system is converted. When converting the root file system, the system should be in single-
user mode, with all unnecessary processes terminated and all non-root file systems unmounted. Except for the root file system, requires
that the file system to be converted be unmounted.
If invoked without arguments, interactively prompts the user with a list of the HFS file systems from One or more or all of the listed file
systems can be selected for conversion. Typically, it is desirable to convert all of the file systems in to avoid inconsistencies between
two file systems mounted on the same system.
can also be invoked with an argument of either a block or character special-file name for a file system to be converted. Only the block
special file should be specified for a mounted root file system.
As part of the conversion process, performs an on each file system (see fsck(1M)).
Options
Do it quietly.
will perform the conversions without querying the user. Normally prompts the user before converting a file system.
RETURN VALUE
returns the following values:
Success.
Either successfully converted the file system, or the file system already allowed long file names.
Failure.
was not able to convert the file system due to some failure in processing.
AUTHOR
was developed by HP.
FILES
Default list of file systems to check.
SEE ALSO
fsck(1M), mkfs(1M), newfs(1M), fstab(4).
convertfs(1M)