Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to reactivate expired account in Linux as a root user Post 302117221 by cy163 on Friday 11th of May 2007 11:08:20 AM
Old 05-11-2007
How to reactivate expired account in Linux as a root user

I am an administrator of a Red Hat Enterprise Linux system.

Now one account expired. I wonder how to reactivate the account.


Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Modify Root user account ?

How can I modify Root account ? (I want to change the default shell after logging in) Thanks (3 Replies)
Discussion started by: hitlermom
3 Replies

2. UNIX for Advanced & Expert Users

Root account is expired

Hi all, I am using redhat linux version 9 .I am unable to login to the system and i am getting a warninig sorry root account is expired . How can i activate the account. (2 Replies)
Discussion started by: mallesh
2 Replies

3. AIX

HMC User account expired - What now?

I've created an hmc user account for our developers and set a pawword expiry to 30 days. Trouble is when the password expires they are asked to change it in the WebSM gui but it returns an error "XXXX check log file /var/websm/data/....log" which doesn't exist. I've tried resetting the password... (0 Replies)
Discussion started by: backslash
0 Replies

4. Debian

password less login to root from a user account

hello friends, one user is created named "user1" I login as "user1" . Now when i do "su -" to be root user I have to give password for root . Is there any way through which we can skip giving the password to root. i.e. user1@work:~$ su - Password: xxxxxx work:~$ I don't want that... (1 Reply)
Discussion started by: pradeepreddy
1 Replies

5. Red Hat

startx by non-root user account in red hat linux kernel 2.6

How can I use the command "startx" by other user account such as "oracle" ?? I cannot startx by user account oracle ?? How to fix it ??? Any adivce ??? I use red hat linux kernel 2.6 $ startx Fatal server error: PAM authentication failed, cannot start X server. Perhaps you do... (0 Replies)
Discussion started by: chuikingman
0 Replies

6. Solaris

How to see the root information from user loging account?

Hi friends when ever user tried to loging to the server from the user account.we can see the from who -u command.this was fine shut@erpqas $ who -u ipadmin pts/1 Mar 18 16:05 old 157 (10.5.23.74) ipadmin pts/3 Mar 19 08:29 old 11076 ... (3 Replies)
Discussion started by: tv.praveenkumar
3 Replies

7. AIX

Cannot su to "root" : Account has expired.

I rolled out sudo (1.7.2p7) to my AIX system (6100-06-01-1043) some time ago. Because I was using "sudo su -" I did not update my root password before it expired as a result of maxexpire. Now I find that the root account has expired and I cannot find any way of "unexpiring" it. I have... (3 Replies)
Discussion started by: barrababa
3 Replies

8. Shell Programming and Scripting

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root user about the accounts. How can i achieve this in Linux? (1 Reply)
Discussion started by: mnmonu
1 Replies

9. Linux

Reactivate an account

Hello, I had this issue today. One of my co-workers accounts was looked due to inactivity. The passwd -u command didn't work. So I did what I posted below. I don't think this the proper way to do this. What is the right to reactivate an account in Linux? After I changed the inactivity to never he... (2 Replies)
Discussion started by: bitlord
2 Replies

10. Solaris

Solaris 11 user account login expired

Hi everyone Please i need urgent help... I have installed solaris 11 using live media.. then i installed sunray.. every thing is fine.. but after system reboot i am unable to login on server on GUI it gives account expired error or some time authentication failed... but i can log in through... (11 Replies)
Discussion started by: amk
11 Replies
RHNREG_KS(8)							   Red Hat, Inc.						      RHNREG_KS(8)

NAME
rhnreg_ks - A program for non interactively registering systems to Spacewalk Server, Red Hat Satellite or Red Hat Network Classic. SYNOPSIS
rhnreg_ks [options] DESCRIPTION
rhnreg_ks is a utility for registering a system with the "Spacewalk Server", "Red Hat Satellite" or "Red Hat Network Classic". It is designed to be used in a non-interactive environment (a kickstart style install, for example). All the information can be specified on the command line or stdin. OPTIONS
--profilename Specify the profile name that should be used as an identifier for the system in Spacewalk Server, Red Hat Satellite or Red Hat Net- work Classic --username The username to register the system with under Spacewalk Server, Red Hat Satellite or Red Hat Network Classic. This can be an exist- ing Spacewalk, Red Hat Satellite or Red Hat Network Classic username, or a new username. --password The password associated with the username specified with the --username option. This is an unencrypted password. --activationkey Specify/use a serial number to associate with the system. This is optional, but activation keys can really simplify the registration process. Learn more about activation keys in the online RHN documentation. --contactinfo This option has been deprecated. Please login to the server web user interface and update your contactinfo. --nohardware Do not probe or upload any hardware information. --nopackages Do not profile or upload any package information. --novirtinfo Do not profile or upload any virtualization information. --norhnsd Do not start rhnsd after completion. --force Register the system even if it has already been registered. --version Show the version of rhnreg_ks. --proxy Specify a HTTP proxy to use. --proxyUser Specify a username to use with an authenticated HTTP proxy. --proxyPassword Specify a password to use with an authenticated HTTP proxy. --sslCACert Specify a path to a SSL CA certificate to use. --serverUrl Specify a URL to as the server. -h, --help Show a help message and exit. FILES
/etc/sysconfig/rhn/systemid The digital server ID for this machine if the system has been registered onto "Spacewalk Server", "Red Hat Satellite" or "Red Hat Network Classic". This file does not exist otherwise. /etc/sysconfig/rhn/up2date The common configuration file used by RHN client programs. EXAMPLES
Register a new system to Spacewalk / Red Hat Satellite / Red Hat Network Classic: rhnreg_ks --profilename "example_profile_name" --username "someexampleuser" --password "foobar" SEE ALSO
rhn_check(8), rhn_register(8), rhnsd(8), rhn-profile-sync(8), rhnplugin(8), up2date(5). AUTHORS
See the AUTHORS file included with this software. This manual page was written by Adrian Likins <alikins@redhat.com> and James Bowes <jbowes@redhat.com> BUGS
Report bugs to <http://bugzilla.redhat.com>. COPYRIGHT
Copyright (C) 1999-2011 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Linux 2011 February 4 RHNREG_KS(8)
All times are GMT -4. The time now is 06:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy