Is there a way I can list all open files by a user? I found the command lsof but it the command lists too many files some of which are not used directly by the user. What I want is to view only the files that are currently open like text files, documents, pictures etc and not other system files.
I want to know how much damage a user can do on my system if he decides to delete everything (or write to in case of corruption).What command or script might i use to check this?
Code: sudo apt-get upgrade Lots of text (Reading database. dpkg: unrecoverable fatal error, aborting: unable to open files list file for package `grub-common': Input/output error E: Sub-process /usr/bin/dpkg returned an error code (2)
I realise KPDF is quite old now but as this issue may recur when I move to a newer distro (well, newer than Hardy) with Okular I thought I'd better ask.I use Gnome, but prefer KPDF to evince when viewing PDF files. However, KPDF's "Open Recent" list behaves very oddly - there's no apparent way to clear it, and items which were on the list one day aren't on it another day (coinciding with old items reappearing on the list).
Is there any way to clear this list?Similarly, is there any way to clear the list of recently opened files in the "Location" drop-down box in File-Open? (which also seems to mysteriously lose list items inbetween reboots).
I am trying to get this script to work. The purpose is to download a list of modules from the slax.org the list consist of a list of module numbers. What I am trying to do is Download the file or the file name corresponding to the number in the list.the list is comma delimited. this is what I have done so far and I am a stand still.
#!/bin/sh # Wget script to retrieve modules from slax.org modules # # ----Begin of user defined values ----- # Path to wget
I have an init script running as a special build user which performs an automated build that fails with (Too many open files).I updated /etc/security/limits to allow the special user more open files, but that didn't work - the init script still isn't allowed more open files.Here's a demonstration of the problem;
That is my problem:First i use Ubuntu 10.04 LTS with Gnome.Wen i select file and pres right mouse button on it an select Ubuntu 10.04 LTS "Open with other Application" I see very long list and some Application their don't work
Server - Ubuntu 10.04.1 lts Client - Kubuntu 10.10
When I try to open any nfs-mounted file using OpenOffice, I get a pop-up window titled "Document in Use". The text of the message is:
"Document file 'abcde.odt' is locked for editing by:
Unknown User
Open document read-only or open a copy of the document for editing." I then have three options - <Open Read-Only>, <Open Copy>, & <Cancel> If I cp any of these files from the mounted directory to my home dir (not mounted), I can open them without problem.Also, my firefox & thunderbird date are in this mounted directory as well (sym links to ~dan/.mozilla & ~dan/.thunderbird). Both of these apps hang when trying to open, leaving two processes behind that need to be manually killed. Again, cp'ing the data out of the nfs-mounted dir onto a local dir resolves the issue, so I am 100% confident there is nothing missing or corrupted in the firefox &/or thunderbird data...
relevant entry in /etc/fstab: server:/nfs/dan/Documents /home/dan/Documents nfs defaults 0 0 relevant entry in server's /etc/exports: /nfs/dan/Documents client(rw)
ps ax shows all the running processes. I want to do something similar, but instead of the names of the actual processes, I want the window names listed instead. What Linux command will do this?
I want to know if there is any way that one could remove the user list from the login screen requiring the user to type in their user name. I am not quite sure why this feature is not implemented and it is one of the very few things I don't like about Lucid but hopefully there is a fix for it.
My girlfriend has a Toshiba Satellite Athlon64 laptop, and she can't get it to go past the user list dialog before it logs all the way in. We've tried her username and password, but every time we enter it, the screen blanks for a moment and then returns to the user list dialog. I've reset the password by booting to terminal, but it still won't let us past the dialog. I'd hate to have to reinstall her system. Is there any way we can get past this? And, why is it not accepting the password? I couldn't find an open bug on this issue.
Also, we had just installed OpenShot Video Editor during the same session. She said she got it from the Synaptic Package Manager. I'm not sure if this messed with her video settings. We can see X trying to start after we put the password in, but it keeps going back to the user list dialog. Actually, I uninstalled OpenShot and gnome-screensaver from the root prompt, just in case they were causing the issue. I had noticed that the laptop was buggy coming in and out of hibernation. I wonder if that's causing X not to start properly? I did check the startup logs and I didn't see any errors there either.
In Ubuntu 9.10 I was able to remove the user list from gdm. However in 10.04 I am unable to do this. I searched the forums with no luck. I opened gconf-editor using sudo and went to apps>gdm>simple-greeter. I then checked disable_user_list. After complete shutdown, I was still placed in the list screen. I checked gconf-editor and the disable_user_list was still checked.
Every time I log into my Ubuntu machine I have to enter my username (manually type it in)as pete@domain-name.net then put in my password.I can see local users are displayed on the welcome page, how can I add my domain user to the pick list, so I can just select it then tap in my password?
i accidently got rid of the panel on top, so i deleted the bottom one, and started a new one on the bottom. now whenever i open a program, there used to be a "list" of all the open program/windows on the bottom, now that is goneso once i minimize a program, the only way for me to get back to it is to press alt+tab.
I have a while(1) loop, and the error is: glibtop: open (/proc/stat): Too many open files This error occurs after about a half hour to an hour of running. I've tried running this multiple times, both with using glib_close() at the end of the loop, using glib_init() and glib_close() at beginning/end, and just using glib_init(). The strange thing is these have no effect on the actual glib_get functions.
I cant open xls files in a shared folder using open office 3.1. Its all started when i install a new open office version. when im using open office 3.0.8 i can open all the files but now i cant even open it. Its always display untitled documents.
I want to see the users list and the permissions of the users when i logged in a root and how to change the permissions of the users. 2.How to change the permissions for the commands. example:when i logged with my other user account(not with root user) i dont have a permission to use the move(mv) command. #mv filename /backup my error : Permission denied. I need to know how we can set the permissions for the commands even.
I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.
I have installed a lot of CLI applications and it would be usefull if I had another one of these that lists and organizes ;in different ways ,what has been installed without a GUI. I tried this (rpm -qa | less) and it was lack luster and enormous. Is there a GUI or a CLI application that will list User installed CLI application and allows ways to list them , alphabetically or otherwise etc?
My version of linux has a bunch of GUI icons on the left hand side of the screen (vertical). Most are links to programs.You click the GUI icon and the program opens. When I mount my internal hard drive it adds a GUI icon for the drive. The problem is when I click on this new GUI icon it automatically loads K3b and gives an error message instead of giving me a list of what is on my drive. I deleted the program K3b and tried un-mounting then re-mounting the drive. I then tried the new GUI icon for the drive and now it automatically opens Dragon Player.
When i installed the new version of debian on my laptop to try it out, i noticed that i can't sudo as my main account is not in the sudoers list and i cannot put me in because i'm not sudo.
Code: cesar@debian:~$ groups
cesar cdrom floppy audio dip video plugdev netdev powerdev scanner bluetooth I have to enter as a root account but don't know how, plus i forgot my root password.
note. i dualboot with ubuntu 10.04 and grub is managed by it.
I'm looking for a Linux command that can change ownership of all files belonging to a given user,preferably in a targeted directory, to another specified user. My dream command would look something like this. chuser -R --olduser tom --newuser jerry
This is my scenario... I have a backup file (.tgz) with user and group information preserved in it. It was taken from a web server running Apache and MySQL. The files in the backup are from across the system and contain files from several different users and several system type accounts and it is key that when restored on the new server the settings are not lost. The problem is that the users on the machine the files are being restored to don't match the ones in the backup file. For instance both machines had a MySQL user but they have different user ids and there are several user ids that existed on both machines that belong to different users. This means there is no way to sync the users on the new machine to the ones on the old machine. I can find all the users files with the find command like this...
find /decompressed-backup-dir -uid 1050 or find /decompressed-backup-dir -user tom
If, as I suspect, there is no way to do what I want with a single command then perhaps there is a way to pipe the results of the find command to another command to handle the ownership change?
I could do this with a PHP script but there are 4GB and tens of thousands of files in the backup so I don't want to use PHP or Perl but I would be happy with a shell script that could handle it.