General :: Using RHEL 4.0 To Find Expired Account?
Oct 22, 2010me know how to find expired account in linux. I am using RHEL 4.0
View 1 Repliesme know how to find expired account in linux. I am using RHEL 4.0
View 1 Replieshow to find expired account
View 6 Replies View Relatedtwo days before I have formatted my / partition and everything seems to working fine. Next day I came to office and try to login as root through ssh. I am getting the error: [sunheer@svn ~]$ ssh root@192.10.10.23
root@192.10.10.23's password:
Permission denied, please try again.
root@192.10.10.23's password:
I thought the password were wrong and I rebooted the server in to run level 1 and reset the password and it started to work. Again on next day the account got same problem.his started to happen after formatting the / partition
We have one ftp server. Number of users are using it remotly. My requirement is that suppose any user is not connecting to the server using FTP for 15 days then account should get expired/locked automatically. Is it possible?
View 5 Replies View RelatedI've got a server running CentOS 4.8 (binary compatible RHEL 4.8 clone) that's decided all the accounts are expired.I've tried this on multiple accounts so far, to no avail.chage -l <username>Shows that the account never expires. In this case the problem was first noticed with the root account, then I tested it with my user account, and got the same answer, the account never expires.For the test I added a crontab to my account, and to roots, ever minute run "whoami"In the log I get (once for each crontab):rond[]: User account has expiredRecycling crond doesn't help, and I can't recycle the box itself as I've got users on it (pounding away at the poor box at that).
Several searches so far have only turned up that locked root accounts (ala debian/ubuntu) can cause this, and check or correct the age of the account using chage.Comparing entries in /etc/shadow to other boxes where everything is kosher doesn't seem to help either: the important bits are identical.
Working box:
kschmitt:$1$QykLetnt$ynSZ.7uKQSRnS3lsYe01w1:14613:0:99999:7:::
Screwie box:
[code]...
I have a startup script placed in /etc/init.d wherein I make the following call:
nohup sudo -u myuser $CATALINA_HOME/bin/startup.sh 2>&1
This causes Tomcat to be run as myuser, which is expected. However after issuing the reboot command the system starts up and root is now the owner of this process. How can I force the process to be started off as myuser on reboot?
Do you know where I can find rhel 5.2 iso?
View 4 Replies View RelatedWhere can I find the documentation for RHEL 5.4 kernel 2.6.18?
View 1 Replies View Relatedfind out the primary interface on RHEL Linux. I came across [URL]. Is this the best way?
View 3 Replies View RelatedWhere I can find a legitimate 3rd party repository that provides rpm packages for RHEL 5? My trial subscription to the Red Hat Network has expired and I want to be able to test installing packages so that I can prepare for the RHCT examination.
View 3 Replies View RelatedAll my statements are prefixed with an * ----before my text.*re's the story so far.....I've got a third party software that I'd like to upload to my dreamhost account. It prevents people stealing your download links, and it demands an IonCube loaderfor it to work.*---I'm new to all this and I don't understand when to write what commands in Shell tget an IonCube loader in my dreamhost account.
1. Which operating system you are using?
=>Linux
2. Which PHP version you are using?
[code]...
During the installation of RHEL it asks that you may enter the installation number to get packages , updates .....etc, now my server is up and running and i need to get the number that I added during installation
View 2 Replies View RelatedFound the below from RedHat Knowledgebase
The Completely Fair Queuing (cfq) scheduler in Red Hat Enterprise Linux 5appears to have worse I/O read performance than in version 4. It appears as though the Completely Fair Queuing I/O scheduler (cfq) has a regression and thus exhibits reduced read-side throughput which can affect performance for both local and NFS mounted file systems.
One way to mitigate this is to set the cfq's slice_idle parameter to zero. To change this value, execute the following command echo 0 > slice_idle in the /sys/block directory appropriate for your situation, as shown below:
echo 0 > /sys/block/hda/queue/iosched/slice_idle
We are using NFS file systems in RHEL 5.3. I would like to know how to find which /dev/Device is being used by the NFS file systems, so that I could try setting the slice_idle to '0' to see if there is any difference in performance? In /etc/fstab I only see the actual NAS volumes for the NFS file systems.
Is there a non-root shell command that can tell me if a user's account is disabled or not? note that there is a fine distinction between LOCKING and DISABLED:
LOCKING is where you prepend ! or * or !! to the password field of the /etc/passwd file. On Linux systems that shadow the passwords, this marker flag may be placed in /etc/shadow instead of /etc/passwd. Password locking can be done (at a shell prompt) via password -l username (as root) to lock the account of username, and the use of the option -u will unlock it.
DISABLING an account is done by setting the expiration time of the user account to some point in the past. This can be done with chage -E 0 username, which sets the expiration date to 0 days after the Unix epoch. Setting it to -1 will disable the use of the expiration date.
The effect of locking to to prevent the login process from using a supplied password to hash correctly against the saved hash (by virtue of the fact that the pre-pended marker character(s) are not valid output character(s) for the hash, thus no possible input can ever be used to generate a hash that would match it). The effect of disabling is to prevent any process from using an account because the expiration date of the account has already passed.For my situation, the use of locking is not sufficient because a user might still be able to login, e.g. using ssh authentication tokens, and processes under that user can still spawn other processes. Thus, we have accounts that are enabled or disabled, not just locked. We already know how to disable and enable the account - it requires root access and the use of chage, as shown above.To repeat my question: is there a shell command which can be run without root privileges which can output the status of this account expiration info for a given user? this is intended for use on a Red Hat Enterprise 5.4 system.The output is being returned to a java process which can then parse the output as needed, or make use of the return code.
Is there a command to see what user accounts are set to expire or expired.(OS = Red Hat)
View 1 Replies View RelatedI was observing the following behaviour:
py script:
os.mkdir(path) #all OK
operations_that_take_10hrs_to_complete()
os.mkdir(path) # permission denied
like I lost my sudo rights after some time ..
I am trying to open one site.When i open at home or internet cafe or at my friends place it opens properly but when i try to open it in my office i get this error and some other page opens "This domain is parked, pending renewal, or has expired.Please contact the domain provider with questions."
View 1 Replies View Relatedcan not ping from host (RHEL 6) to RHEL 5 in (virtual)? I have stopped iptables on both machines. But still not able to ping from host machine to virtual.
View 1 Replies View RelatedHow to find rhel installation type like is it workstation,basic server,web server etc.I have installed but not getting what kind of installtion tye.
View 4 Replies View RelatedI am trying to download RHEL 5.4 AS version for testing..But under [URL] There is no specific link for AS version or ES version..How can I detect which iso is for AS and which one for ES..? There are separate links for AS and ES version for RHEL 4.x version but why is it not available for RHEL 5.x versions?
View 3 Replies View RelatedI'm looking for a script that can do two things: (1) determine the shortname of the user with the largest account in /Users and (2) look up their full/long name. I'm going to use this script to help identify who the user on a computer and while I know that's possible that a sometime-user may have a larger account than the normal-user on any given computer, the results of a script should be sufficient in most cases for my needs.I'm not sure the best way to around this. I know that can use "du -m -d1 /Users" as root:
root on torchwood
[ ~ ]$ du -m -d1 /Users
157 /Users/admin
[code]...
Does any body have a script handy to detect unused disks on a Linux Server? I have a bunch of RHEL 4 and 5 Servers with a number of unused EMC disks hanging in there. I just want to make use of these disks or return these disks to the SAN Pool after confirming that they are unused.
View 2 Replies View RelatedWhen I first installed Karmic, I created a dummy Ubuntu1 account to play around with and have long since forgotten everything about it. Now I am attempting to setup a real account and I cannot find a way to modify the account settings for the client software. Is there a way or do I have to purge it?
View 6 Replies View RelatedI had configured a gmail account in evolution and used it successfully until recently when after a restart evolution asks me again to configure an email (Evolution setup assistant wizard) again.I already have my email configured but something must be preventing evolution to find my email account. What can I do to recover all that?My .evolution/mail folder still has all the data for example (got there some hundreds MB still). and I also have there other folders: addressbook, calendar..etc
View 8 Replies View Related<<mod edit: no longer relevant after moving post to new thread>> I'm currently trying to find which web cameras RHEL desktop 5.x supports. Does anybody have a list? (I was searching through hardware.redhat.com, but it is mainly oriented to server and workstation elements)
View 2 Replies View Relateddifference between rhel 5 and rhel 6 - basic difference.
View 3 Replies View Relatedi have old RHEL 3 system which has kernel 2.4 installed into it. I wasnt to upgrade it to RHEL 5.x so i downloaded a kernel 2.6 package but was not able to compile it.
View 1 Replies View RelatedI am trying to find the dyanmic heap size and stack size of a running process in rhel5.5 and rhel6.I read that the 23rd parameter in the file /proc/pid/stat gives the heap size.Can you elaborate more on this.Also is there any other way to do this?
View 5 Replies View RelatedDoes anyone know where I can find RHEL compatible rpms for Bind 9.7 and DHCPD 4.1?
View 1 Replies View RelatedAs of 27/03/2011 it seems. I assume a renewal is pending?
View 1 Replies View Related