120 GB HDD. All ext4. Wanted to partition it into 60 gig ntfs, and 60 gig ext4 for dual install. Booted up the LiveCD. Clicked on the partition to modify. Selected /windows as mount point. Change took place. Now, my disk shows up as 57 GB FAT (almost all of which is free) and 60 GB of unallocated space. Any way to recover it? I'm sue the data is in the 60 GB of unallocated space. While I have a back up of some of the data, I'm going to be losing quite a bit if I can't recover this...
This netbook only has a user with non-administrative privs on it and root user but I do not have root's password.Is there a way that I can create a new administrative user of change the current user's group so that it can do sudo commands or have more privs?
I want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?
I am using mint 8 for a 2 weeks, I am noob to linux but I like Mint than any other linux distro which is great alternative to windows. I have a problem regarding password reseting.
1. My laptop automatically get logged in without asking user name and password.
2. I tried to change password for newly created user and root user using graphical way but it does not work.
2. I can perform administrator task using only OEM user which is default inbuilt user of mint.
How can make my laptop to ask password when mint get booted? How to change password for other users?
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.
I'm trying to install (L)ubuntu on an old AMD 1.66GHz based HP laptop, to dual boot with Windows XP. However I'm running into an issue that I haven't come across on any other machine before where after selecting "Install Lubuntu" from the main boot menu, it moves to the scrolling dots splash/loading screen and after ~30 sec or a minute it freezes. There is no error, it doesn't reboot or eject the disk even after several hours of sitting on that splash screen, with the dots frozen, no CD activity, and no HDD activity. I get the same result if I try to boot it as a LiveCD as well.
Can someone help diagnose whats going on? Is it possible changing some boot options will allow it to install? I'm not quite sure where to go with this one.
Is It possible to change a process running in root-user to non-root-user by setting suid / uid / euid / gid etc... I so please instruct how, when and wat to set in order to change a process running in root-user to non-root user
I often put together complete computers from spare parts. When I do, I put Linux on them and put my name as the root user. However, I don't build these to keep them for myself.....I usually end up giving them away to someone who needs one and can't afford to buy one. What I would like to do before givi9ng them away is to change the root user name to their name. How can I do that? CAN I do that?
I have a disk going bad and couldn't boot Lucid, so I used Virtualbox on Win7 to create a temporary Kubuntu machine to work getting data from my failing drive. Because it was a temp setup, I did not enable root login.
I logged into Linux at Virtualbox, plugged in my failing drive, and began working on moving stuff over using Konsole. The failing drive was mounted on /media/linux. At some point, trying to do some experimenting, I did a sudo chmod 0400 /media/linux. All hell broke loose. No commands would work. No access to /bin/mv or /bin/ls.....no ability to change directories. It was as though the chmod had been applied to the entire root folder. I double-checked my command...no spaces between / and media.
I figured Virtualbox had gone screwy, so I shut down the machine and re-booted. Cannot log in - cannot change to /home/<user>.
If this were a real disk partition, I would simply boot the Kubuntu CD and chmod again. But this is on the VM. I had already backed most of my stuff to the VM!
I tried both usermod as su and System->Administration->Users and Groups but I keep getting an error saying the user is logged in (which is true). so what am I supposed to do? I don't want to open another user just for that...
I installed Ubuntu 10.04 choosing, as administrator, a User Name and a User Short Name. Now, I would like to change those names and I manage to do it with the first, but not with the second, the Short Name. At the same time, I would like to give the same new name to my personal folder in /home. Is it possible to do all that?
After today's sudo upgrade on Karmic amd64, I am able to login only as root on my xubuntu system. Tried to change password on my user account but the result is the same.
Just intalled Ubuntu 10.4 but one of my partitions /media/extra is owned by root, i would like to chance the owner to my user. I've tried sudo chown -Rf username:usergroup /media/extra but i stil have no permissions.
I am having dificulting with www-data as the user for apache2. I would like to change the user to my desktop user so that I can limit access to one unknown users. I am also having problems with my wordpress website and the permalink settings. which file I should look at modifing and what I need to modify?
i have an admin-account and an user-account on a computer. It's automatically log in to the user-account, but I have forgott the passwordt. I want to change it, but to how change it? I need the precent. How do i do? I have the admin password.
In Ubuntu, I run Compiz/Metacity, but I also have wmii installed. I know how to change to wmii for a one-time log in, but I don't know how to make it default for specific user.
I have a uid that I need to change however I need to know the process of doing so as this user is a vital user that has ownership of several running pids on this server. (webserver)
This user (admin) has a uid of 1003 on this server (server-A). However, on all our other servers (server-B-G)the uid is 1001. The reason for changing the uid is that the nfs mount that is mounted on server-A and on all the servers does not work right due to the uid difference. We have diagnosed to this point.
My question ... admin is the owner of several running pids.
So in order to change the uid, do I need to: - stop ALL pids owned by admin - >usermod -u 1001 admin - then start back up the jobs that admin runs
I have verified that there are no files/dirs owned by uid 1003 but the ownership is admin.
I can run a find >find / -uid 1003 - to locate any orphaned files/dirs before I start back up any jobs that require admin ownership. Then >chown the file/dir.
Does this appear to be a viable plan to get this uid corrected?
I have installed tftpd on Ubuntu, but I think it not secure very much. So I read its manual, and it says: The server should have the user ID with the lowest possible privilege. I find the server has the root UID:
I installed Ubuntu Server and want to change the default user name to increase the difficulty of accessing the server.Is it possible to do this? If not, can I effect the same change by creating a new user and transferring over permissions, files, and etc.?
Just did a new netbook install of Lucid. Went through the setup, putting in my usual username etc. But I thought as it's a portable, I'd better select the encrypted home folder option. All went OK.
I have a home network with a NAS and I needed to change the UID to 1004 to match the rest of the network.
That's when it all when wrong. If I do that, I end up with no permissions on the user folder. A bit of a paradox, you can't change UID if logged in, but unless you're logged in, can't access the files.
My attempts to get around it by changing UID's back chowning, changing back etc. have screwed things up completely.
I have managed to open the encrypted folder and chown, but after a reboot it's all back to the original UIDs, but now I can't get in at all.
One of my users has a bit of a problem. I forced password change for this user, and the user thought that it was simply asking for the password again. I had to use my godlike powers to change the users password again. And here comes trouble.The user cannot log in. The system accept the password and we can see the background screen and some messages, but that is all.Quote:Could not update ICEauthoroty file /home/user/.ICEauthorotyQuote: There are problems with configurationsserver.(/usr/lib/libgconf2-4/gconf-sanity-check-2 exit with status 256)Quote:Nautilus couldn't create following folders necessary: /home/user/Desktop, /home/user/.nautilus.Please create these folders before you run Nautilus, or set permission so Nautilus can create them
I've decided to move this question into a new thread since i haven't received an answer for 3 days. This question was originaly posted here: [URL]... I've already searched in google, however i wasn't able to find an answer that solves my problem... How can i change the umask on a per user basis so that each user can have its own umask to fit his needs? For example: I have four accounts on my system ex.
-So now I want everything from the admin group to be by default set to 002 (so that every user that is in the admins group can have a full share (-rwx rwx r--) of everything that is created by the admins).
-Then the similar to the above managers shoud have 022 umask.
-And each of the regular users should have 002 or 022 or 077 it is up to the users choice.
I hope that i have provided enough info thorough the example.
I want to change my user name, pretty my replace my user name completely so that it is reflected all around the OS. What is the less dangerous and most secure way to do it? I guess I can create a new user copy stuff all over but if there is an easier way I am going to prefer it.