Sponsored Content
Operating Systems Linux Red Hat Cannot Get TMOUT (autologout) To Work For User Root Post 302506698 by jim mcnamara on Monday 21st of March 2011 05:05:07 PM
Old 03-21-2011
TMOUT has to be readonly:

Code:
readonly TMOUT=300
export TMOUT

 

10 More Discussions You Might Find Interesting

1. AIX

Tmout

I have the problem on the setting as I want to set all users to have TMOUT=600 and I set the value in /etc/profile. But certain users I don't want to have the TMOUT limitation. How should I set it? (2 Replies)
Discussion started by: kwliew999
2 Replies

2. What is on Your Mind?

How Many Computers Do You Have Root Access At Work?

Here we go again :D At work, where ever that is, on how many computers/servers/workstations do you have root access? Only count unix or linux boxes, thanks (no mainframes, windows or older macs, etc). (34 Replies)
Discussion started by: Neo
34 Replies

3. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

4. UNIX for Dummies Questions & Answers

Sudo to delegate permission from non-root user to another non-root user

I've been through many threads before i decide to create a separate thread. I can't really find the solution to my (simple) problem. Here's what I'm trying to achieve: As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user. The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies

5. Red Hat

sendmail doesn't work for root

I've created a Perl daemon that needs to send an email when an error/shutdown occurs. I use the Perl Email::Valid module and that uses sendmail. When I run the script as a regular user, the email is sent with no issues. When I run the script as the root user, I get the following message in... (1 Reply)
Discussion started by: OldManEd
1 Replies

6. UNIX for Advanced & Expert Users

Root and non-root user not able to delete the file

Hi!! one strange problem occurred with my RHEL 5 box. i'm having logs folder with ownership of non-root user. Created some files with root user under logs folder. here is the scene: -rw-r----- 1 root root 1048227 Feb 28 12:34 SystemOut_13.02.28_12.34.10.log -rw-r----- 1 root root ... (6 Replies)
Discussion started by: sukhdip
6 Replies

7. Shell Programming and Scripting

How to give root access to non root user?

Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal. I want to give some users a root level access. Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way Regards ADI (4 Replies)
Discussion started by: adisky123
4 Replies

8. Shell Programming and Scripting

TMOUT session

Hi guys, I need to set timeout for my sscript. I used TMOUT=30 at the begining of the script.I am having many read statements in my prog. So once the timeout occurs i get into next read statement if 30 secs over then coming to next read statement. But my requirement is i need to come out... (4 Replies)
Discussion started by: mohanalakshmi
4 Replies

9. Red Hat

Usermod doesn't work on root

Hi, I am root user. I need to add more groups to the account. I usse the below command but no apparent result # id uid=0(root) gid=0(root) groups=0(root) # usermod -a -G 302,301,303 root # id uid=0(root) gid=0(root) groups=0(root) # What can be the reason? (6 Replies)
Discussion started by: BearCheese
6 Replies

10. HP-UX

Su to another user from root doesn't work within shell script

Hello I have a shell script that is run as root. Script rins ok until the point where it have to switch to user "mqm" to run other commands. It just hangs at the point of this line in the script su - mqm -c "dspmq" I ran the same commands at the terminal and they run fine. Any thoughts. (6 Replies)
Discussion started by: mo12
6 Replies
rhsm-icon(8)						    Subscription Status Daemon						      rhsm-icon(8)

NAME
rhsm-icon - Periodically checks installed products against active subscriptions to check their status. SYNOPSIS
rhsm-icon [--check-period] [--force-icon=warning|expired|partial] [--check-immediately] DESCRIPTION
Red Hat provides content updates and support by issuing subscriptions for its products. These subscriptions are applied to systems (machines) and apply to the installed software products. On graphical X systems (systems with a GUI interface), a product status daemon runs every 4 hours to check the currently installed software against the applied subscriptions. If software is installed without a valid and applied subscription (such as a subscription expires or no subscription is available for the product), then the daemon triggers an icon and warning message to display in the notification area of the menu. rhsm-icon only runs on graphical (X-based) systems. Servers which do not have a GUI interface do not run or require the rhsm-icon daemon. OPTIONS
-c, --check-period Sets the interval to use between checks for the product subscription status. The value is in seconds. -f, --force-icon=TYPE Manually displays the given type of icon in the start menu. The TYPE can be warning, expired, or partial and uses a different icon for each type of message. --i, --check-immediately Runs the status check process immediately when the command is invoked. Otherwise, there is a four (4) minute delay before running the check. -d, --debug Shows debug messages for the daemon. USAGE
There are two reasons to invoke rhsm-icon manually: * To run the daemon on a new schedule (immediately or with a different frequency) * To view the status icons or messages regardless of the state of the machine Since X runs the daemon automatically and on schedule, it is not necessary to launch the subscription status daemon manually. The rhsm-icon command can change this schedule. For example: rhsm-icon --check-period 120 Administrators can also run rhsm-icon to view any immediate changes to the subscription status of the system. Using the --check-immediately option runs the check at the time the command is run; otherwise, running rhsm-icon has a four-minute delay before running the status check. rhsm-icon --check-immediately If you just want to know what the different subscription status messages look like, then use the --force-icon option. (Also use the --check-immediately option, or the scan will take the standard four minutes to run and display the icon.) rhsm-icon --force-icon=warning --check-immediately rhsm-icon --force-icon=expired --check-immediately rhsm-icon --force-icon=partial --check-immediately BUGS
This daemon is part of Red Hat Subscription Manager. To file bugs against this daemon, go to https://bugzilla.redhat.com, and select Red Hat > Red Hat Enterprise Linux > subscription-manager. AUTHORS
Deon Lackey, <dlackey@redhat.com>, and James Bowes, <jbowes@redhat.com>. rhsm-icon was written by James Bowes. COPYRIGHT
Copyright (c) 2010-2012 Red Hat, Inc. This is licensed under the GNU General Public License, version 2 (GPLv2). A copy of this license is available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. version 1.3 December 12, 2012 rhsm-icon(8)
All times are GMT -4. The time now is 03:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy