General :: How Can The PAM Operation Be Logged
Jun 21, 2010
After I set to use some modules, say, pam_access.so, I want to know if there is a way for the administrator to check if any invalid attempt was happened and blocked by that module?
View 15 Replies
ADVERTISEMENT
Jul 12, 2010
How can I (as admin) find out when a certain user e.g. "karl" most recently logged in and most recently logged out of a system?
View 2 Replies
View Related
Feb 27, 2011
logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system
oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in
View 2 Replies
View Related
Jul 19, 2011
I was messing around with my drive trying some different arrangements of partition to get another one inside. overall the result doesn't differ much from the original but while messing with it I done a lot of steps. I thought GParted will do the minimal number of operations but it didn't. it just traced all my operations one by one. this gave it a few days worth of work. As I don't want to loose data I can't hit cancel but I don't want to wait few days for it. Is there any way to tell it to stop after completing the current operation? It's from natty ubuntu live cd.
View 1 Replies
View Related
Mar 10, 2011
I've the following input file (sorted.txt)
Code:
A 1
A 1
[code]...
View 6 Replies
View Related
Nov 4, 2010
I run SUSE on my machine for a year, but I'm really a newbie on Linux. In the system monitor it states:SUSE LINUX Release 11.2 Kernel Linux 2.6.31.5 -0.1 -desktop GNOME 2.28.0Last week when I rebooted my machine, I suddenly found my machine had no response to any click or typing. When the cursor move to any icons, they can be highlighted, but when I click them, no response at all. The weird thing is almost every time after I reboot the computer, it can work for a few minutes, then stop working. But if I press Ctrl+Alt+Backspace, it can be log out.
I think there must be something wrong with my GNOME, 'cause everything seems working fine when I login IceWM. recover the .config file in my home directory. But I don't have this file in my home directory.
View 4 Replies
View Related
Feb 21, 2010
I'm using fedora 11. I want to do some operation like after saving a file (moving ,copying,..) the system need to ask that "DO you want to encrypt?" . If yes I am able to run the crypt module (which I already implemented..). Is it possible to invoke a encrypt module which I implemented in c language.
View 2 Replies
View Related
May 19, 2011
What happen internally when we insert the floppy into the linux operating system? Who will take care of making the entry in the /etc/mtab, etc. Tell me whole internal operation of the kernel when we insert the floppy.
View 5 Replies
View Related
Feb 26, 2010
I am having a problem when I try to login as su.I type the command SU and then the password as normal and I get su: cannot set groups: Operation not permitted I am not sure what could of caused this error and how to fix it.
View 2 Replies
View Related
Jan 13, 2011
The command and error message:
gtwy ~ # ip rule add from 64.251.23.186 table t1
RTNETLINK answers: Operation not supported
Older article of the same problem, but it did not help me: http://forums.gentoo.org/viewtopic-t-696982-start-0-postdays-0-postorder-asc-highlight-.html
I have looked on google at great lengths to try to find a solution. It seems that my kernel configuration is missing something? My system/kernel is: 2.6.36-gentoo-r5 #3 SMP Thu Jan 13 10:49:06 EST 2011 x86_64 Intel(R) Xeon(R) CPU X3220 @ 2.40GHz GenuineIntel GNU/Linux.I am posting this on SuperUser since this system is used as a workstation and this problem is unrelated to specific tasks that are handled exclusively by servers.iproute2 is installed:
gtwy etc # emerge --search iproute2
Searching...
[ Results for search key : iproute2 ]
[ Applications found : 1 ]
[code]...
View 1 Replies
View Related
Sep 18, 2010
I'm writing a script based on dialog and one of it's functions is to perform a restore with dd, of which I would like to show the progress by means of the "gauge" option of the "dialog" utility. I wanted to do this by sending a USR1 signal from time to time to the dd PID, because this results into the amount of bytes already being dd-ed ont the console screen. A simple calculation based on the orginal size would result into a percentage that can be fed to the gauge function of dialog.
The challenge I'm facing now is to launch an external script (I guess with "&" to send it to the background) that sends, let's say every 5 seconds a USR1 signal to the dd PID. That would be no problem, but how do I capture the output of this "kill -USR1" to the original script? I tested this and the output is not sent to standard ouput, so it must be that it is sent to standard error. For now I don't see a way out.
View 5 Replies
View Related
Apr 12, 2010
We often require to find an equivalent text command for any GUI operation. Just as an example we click on a folder (say ABC) from the current directory in order to see the contents of that directory. The equivalent command for it to happen would be->
Code:
cd ABC ls Now the thing is that we often don't know what that equivalent command will be. So I want to know that is there any way out to find it. What I want to do is that I shall perform any operation using mouse in the GUI mode(whatever operation it could be) and then I can see a log file to see what I actually did last(rather what the command would have been if I have worked in the text mode)...
View 1 Replies
View Related
Jan 12, 2011
When I first received it (used) a few weeks ago, this only happened occasionally and it took a while for a pattern to develop. The 7 hr stretch was listening to music of WCPE.org, but the next day I only could get minutes from the same site It sems to get progressively worse, yet the outside of the case, near the fan or anywhere else,doesln't get uncomfortably warm. I had another unit from the same vendor. He took that back and sent this one after a 24'hour test, but will not answer further communication. Generally I get best results if it has sat shut down overnight, but this morning even that was good for only a few minutes. It does this running XP from the hard disk or Linux from CD. Actually I would like to split the hard disk and put Linux on the second half as the default boot. But it won't run long enough to install anything now!
View 1 Replies
View Related
Nov 8, 2010
I installed pyxattr to play around with, and when I try to set them it says that the operation is not supported. Does Arch Linux not support xattr, or how do I enable them?
View 10 Replies
View Related
Aug 9, 2011
I run a linux file server for my office and we user SFTP for remote partners to login and download files. Is there a way to see if there are any active connections or logins so I can know when it is safe to perform maintenance on the machine?
Since the machine is almost constantly serving large files, scheduled maintenance is often bumped off due to someone either upload
View 2 Replies
View Related
May 5, 2010
I am trying to login to a redhat server via VNC. This used to work until I reloaded the box. Although I had previously logged in directly to the box, then I could vnc to it remotely. The service is running, netstat states the ports are open and listening.I can ssh to the box, and ran the usual commands to start the services.So my question is. Do I need to have a local user logged in before I can VNC, if so how can I do that via the command line.If this is not required for a local user to be logged in, what am I missing. Other than VNC, which other services do I need to start.
View 7 Replies
View Related
Feb 26, 2011
I had only Fedora 13 on my Dell Inspiron 1545. I found that there is a harddisk named volgroup in my computer & one another disk on which Linux is installed. The problem is that I can't access that space of my harddisk. It cannot be mounted.
View 1 Replies
View Related
May 4, 2011
I 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 ..
View 1 Replies
View Related
Aug 6, 2010
I am having an issue with HTTPS certification using curl. My curl is configured with OpenSSL. If the certification verification is failed I dont want to terminate the operation, instead I want to continue by just putting a log message. For this I have used OpenSSL SSL_CTX_set_verify() function to set my static C callback function. During HTTPS transaction, my callback is also getting called with first parameter 0 or 1 (depending upon of the certificate verification is success or failure). But even if my certification verification is failure, I want to continue. So I have hard coded to return value as 1 always from my callback function. But still I see the certification error and I don't get the page.
View 1 Replies
View Related
Oct 14, 2010
I`ve been given a project to design a program that will interface with a hardware device through the parallel port.And so far it`s not going go. I managed to write the programe an compiled it, but when runing it the compiler says: 'changing ownership of'and then the file name then it continues to say, 'operation not permitted'.
View 9 Replies
View Related
Feb 16, 2010
I tried to move 2.7TB of data from my /var/webroot/ partition (4.5TB total in size). I left it to run over night, this morning when I came to check I saw that all data on / paratition is used up and no operations can be done because of the "no space left on device" message.
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p7 911G 911G 0 100% /
tmpfs 7.9G 0 7.9G 0% /lib/init/rw
[code]....
I freed up several hundred MB from / but still the usage is at 100% and I cant free up any more space or complete the transfer ?
View 1 Replies
View Related
Apr 19, 2010
I'm using CentOS 5.3. After booting up, where can I find the log file that contains if all services where successfully loaded or not? For example when computer boots you get a list of start services and they can be OK or FAILED. Is there a log file where this information is kept? I had a look in the following directory /var/log/ but not sure which one will contain the informaiton that I need.
View 2 Replies
View Related
Jul 31, 2010
When I'm logged on to another host (e.g via ssh), how do I connect to the XServer of that machine (same user is logged in and is running a desktop (gnome))?
You may ask way I wish to do that: There are commands that don't open an X-Window, e.g. xinput, xhost, etc.. and there are situations where you want to run them from remote.
View 3 Replies
View Related
May 3, 2011
Where's the log where I can read mounting errors?
View 1 Replies
View Related
Jul 22, 2011
I just logged in as root and used rm -r on a file directory, but is this the same thing as deleting it?
View 3 Replies
View Related
May 6, 2010
I wrote this little script and it runs very well, however when I setup a cronjob it only runs if I am logged in. I would like to have this script running even when I am not logged in. At the moment it runs but only when I am logged in. I logged as denis and in terminal (su root) and edited crontab as shown below, what do I need to change or setup to have this script run when no-one is logged in the computer. I run Fedora 12 (64 bit)
backup script:
cd /home/denis/Documents
tar -czvPf /home/denis/Backups/docsbackups_$(date +%Y%b%d_%HH%MM).tar.gz /home/denis/Documents
# above line will produce file with name in this format "docsbackups_date&time.tar.gz" in the /home/denis/Backups folder
[Code].....
View 4 Replies
View Related
Jul 24, 2011
When I do a ntpq -p on my machine I could see the ntp servers configured and it's status:
But when I telnet to ntp server "10.1.35.2" it says A remote host refused an attempted connect operation:
I know * here represents that the machine is in sync with ntp server. My question if the machine is in sync with ntp server, how does it work?why ntp port 123 is connection refused?
View 1 Replies
View Related
Apr 6, 2010
I run a small site and today I've discovered that my site is down. I found that cPanel has flagged the account suspended even though I haven't got any quotas on the account. I don't know what went wrong. I've tried to unsuspend the account in WHM but a certain part of the function failed.
Quote:
safe_userchgid: chown: /home/crocbits/public_html: Operation not permitted at /scripts/cPScript/SafetyBits.pm line 93.
After searching the internet someone mentioned that the problem might lie in the permissions of the public_html folder. I had a look at the permissions and the folder had no permissions d----- When I try to chmod the folder I get this error:
Quote:
chmod: changing permissions of `public_html': Operation not permitted
I have no idea what to do next. All the files in the directory are locked too. I tried to move them but this command isn't allowed either. I ran these commands under the 'root' user in SSH.
View 11 Replies
View Related
Aug 13, 2010
1. Given a string, row no. and col. no., I want to display it in the screen appropriately. how to do this?
2. How can I find the cpu processing time taken in carrying out the sorting task (any sorting program)?
View 4 Replies
View Related
Aug 23, 2010
I am usually sshed into different boxes and i forgot what ip I am logged into sometimes. Is there a command I can type to give me the ip on the box I am on.
cat /etc/*release
CentOS release 5 (Final)
this failed
ifconfig | more
bash: ifconfig: command not found
View 3 Replies
View Related