Re: change the time for authorization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2004-12-28 at 21:47 -0400, Jorge Fábregas wrote:
> On Tuesday 28 December 2004 8:52 pm, Jim wrote:
> > can i chnge the default time i'm able to run as root in my user
> > account the default is like 5 minutes.
> > if so how and where do i make this change
> 
> 
> You can set this setiing by using an environment variable called TMOUT.
> Just modify your root account's .bashrc and set it there. Like this:
> 
> export TMOUT=300
> 
> Put this in /home/root/.bashrc
> 

What fedora version are you using that has root's home directory
as /home/root?

On all mine it has been /root

> 
> After that, whenever you switch to root (using "su -") you'll get kicked out 
> after 5 minutes of inactivity.  Remember to use "su -" because if you don't , 
> the shell won't read root's initial environment files (.bash_profile, bashrc 
> etc...).
> 
> HTH,
> Jorge
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux