11-28-2006
manty times try to log on
Hello
I need to log in with my user on a server (red hat) but Its locked for many times to try to log on.
The command is passwd but I need the parameter to reset the times for log on.
I cant to try with the different parameters because its a production server.
I hope you can help me
Thanks
10 More Discussions You Might Find Interesting
1. AIX
Is there such location or command to know how many times did you reboot your server in that particular day?in AIX. (3 Replies)
Discussion started by: kenshinhimura
3 Replies
2. Shell Programming and Scripting
Hello,
I am working in Solaris 10 with a Bash script and trying to figure out how I can tell the script to look at the day of the week and the time and for example if it is Sat between 5:50am and 6:30am then just exit out of the script. Any other day or time keep running.
We have a... (3 Replies)
Discussion started by: LRoberts
3 Replies
3. Shell Programming and Scripting
Hi,
I need to read log file for the period between two time frame.eg all those logs between 3AM to 4M.
Any command to use for the shell scripting?
Ahamed (5 Replies)
Discussion started by: ahamed
5 Replies
4. Shell Programming and Scripting
Hi,
I have a file that looks something like this:
YPA124 NV
YPA124 NV
YPA124 V
YAR198 V
YAR198 V
YOB911 V
YOB911 V
YOB911 NV
YOB911 NA
So what i want to do is find out how many times each name on column 1 is represented by indicators on column 2.
So the output would... (4 Replies)
Discussion started by: phil_heath
4 Replies
5. UNIX and Linux Applications
I have fedora 13 installed on my home computer.
I am unable to ssh from my office to my home computer.
On trying to ssh to my home computer, I get the following response:
$ ssh -vvv username@129.X.XXX.XXX
OpenSSH_5.3p1, OpenSSL 1.0.0a-fips 1 Jun 2010
debug1: Reading configuration data... (6 Replies)
Discussion started by: arbitguy
6 Replies
6. Shell Programming and Scripting
Hello,
Im new to shell scripting and i am trying to write a part of my script
that will search for all files in any given folder
and write down all the names of the files and the atime, change time, and modtime of the files in one file as an output. I know that ls -l, ls -ul and ls -lc will give... (1 Reply)
Discussion started by: jnagda
1 Replies
7. Programming
Hello,
i'm trying to implement the times() function and i'm programming in C.
I'm using the "struct tms" structure which consists of the fields:
The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process.
The tms_stime structure... (1 Reply)
Discussion started by: g_p
1 Replies
8. What is on Your Mind?
Have you noticed that the Unix time right now starts with the combination "1337"? 1337 times indeed. ;-))
bakunin (10 Replies)
Discussion started by: bakunin
10 Replies
9. Shell Programming and Scripting
Hi,
I have a log file (log.txt) that which contains lines of date/time.
I need to create a script to extract a CSV file (out.csv) that gets all the sequential times (with only 1 minute difference) together by stating the start time and end time of this period.
Sample log file (log.txt)
... (7 Replies)
Discussion started by: Mr.Zizo
7 Replies
10. Red Hat
Hello all. Let me qualify my question by saying that I am struggling with how to ask the question I am semi green but have no issue reading up if pointed in the right direction. Please be gentle!
A RHEL server 6.2. Hosts a statistical application that has some web apps and batch programming... (0 Replies)
Discussion started by: rsheikh01
0 Replies
AC(8) BSD System Manager's Manual AC(8)
NAME
ac -- connect time accounting
SYNOPSIS
ac [-dp] [-t tty] [-w wtmp] [users ...]
DESCRIPTION
If the file /var/log/utx.log exists, a record of individual login and logout times are written to it by login(1) and init(8), respectively.
The ac utility examines these records and writes the accumulated connect time (in hours) for all logins to the standard output.
The options are as follows:
-d Display the connect times in 24 hour chunks.
-p Print individual users' totals.
-t tty Only do accounting logins on certain ttys. The tty specification can start with '!' to indicate not this tty and end with '*' to
indicate all similarly named ttys. Multiple -t flags may be specified.
-w wtmp Read connect time data from wtmp instead of the default file, /var/log/utx.log.
users ... Display totals for the given individuals only.
If no arguments are given, ac displays the total connect time for all accounts with login sessions recorded in utx.log.
The default utx.log file will increase without bound unless it is truncated. It is normally truncated by the daily scripts run by cron(8),
which rename and rotate the utx.log files, keeping a week's worth of data on hand. No login or connect time accounting is performed if
/var/log/utx.log does not exist.
FILES
/var/log/utx.log connect time accounting file
EXIT STATUS
The ac utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
Allow times recorded in modems to be charged out at a different rate than other:
ac -p -t "ttyd*" > modems
ac -p -t "!ttyd*" > other
SEE ALSO
login(1), getutxent(3), init(8), sa(8)
BSD
January 21, 2010 BSD