Ubuntu :: Main User Disappeared After Changing UID And GID

Sep 20, 2010

I run both Mac OS X and Lucid. I backed up my OS X partition in preparation for a restore. I also moved over important work documents to Lucid. Restored OS X using timemachine. Updated OS X with patches and moved over some files from external hard drive. After moving the files over, timemachine backed up system. I went into Time machine to transfer work documents over but the previous back up was deleted for the new one. I had the documents on Lucid. I just needed to switch it over to OS X. Therefore, I tried to enable read/write from Lucid to Mac OS X partition.

1. sudo usermod -u osx-uid ubuntu-username # change Ubuntu UID to 501
2. sudo umount /osx # UNMOUNT OSX PARTITION FIRST!!!
3. sudo find / -uid old-ubuntu-uid -print0 | xargs -0 chown osx-uid # change file permissions

OS X was unmounted prior to entering commands and performed the steps above under a different user. During step 3 I received an error stating you do not have sufficient privileges and the process stopped. I logged out of my temporary account and tried logging back into my main account. Main account was not present on the login screen. So I followed these steps to change my UID and GID from 501 back to 1000. Login appeared. I tried to login but there was an error about ICEauthority and Nautilus. System doesn't load up and only shows wallpaper. I haven't deleted anything and I expect that I just need to point my UID back to wherever my home folder is.

View 2 Replies


ADVERTISEMENT

Ubuntu :: SSH X Forwarding Works For Main User, Not For Secondary User?

Oct 24, 2010

I can SSH to my own box using "ssh -X arancaytar@localhost" and run graphical applications. When I try the same using "ssh -X chris@localhost", I get an error message saying

Code:
chris@enki:~$ gedit
X11 connection rejected because of wrong authentication.

[code]....

View 4 Replies View Related

Ubuntu :: Desktop Had Disappeared While Changing Some Value In Compiz?

Jul 6, 2011

right now am posting this from ubuntu safe mode, when i login normally what i get is just a plain space without desktop alt+f2 also not working there, only thing i can do from there is ctrl+alt+del and a window came without borders and i can restart or shutdown pc.

i had installed compiz configuration window and tried to enable cube desktop and it showed some conflict with other plugins and i had pressed disable this plugin and all tick mark in that configuration window gone after that this problem occurred

View 2 Replies View Related

Ubuntu :: Changing Main Menu Background?

May 1, 2010

But i found one annoying thing, when we change background of the top panel, it does not change background of the menu (Applications Places etc).Actually I have shifted the top panel to left, It doesn't look good due to repeating background image vertically

View 3 Replies View Related

Ubuntu Installation :: Dell 8400 - Screen Displaying Main Menu And Not Changing

Jan 31, 2010

I my trying to install Ubuntu onto a new 1 TByte Sata HDD on my Dell 8400. The computer has no other OS installed as the old HDD containing Windows XP has being removed. The new hdd has being fully formatted and is set up as a NTFS with a single partition of 1 TByte. I downloaded the latest version of UBuntu and burned it to a cd as a ISO file. When I boot my computer up from this cd I am asked to enter my language of choice and then I get the main menu screen. On this screen I choose option (2) - Install Ubuntu. After a few minutes during which time you can hear the cd being accessed the screen just displays this main menu and never changes. I have tried twice using this install option but after 45-50 minutes the screen still never changes. No progress information is given. If it is normal how long does the installation generally take?

View 2 Replies View Related

Security :: Changing Home Directory Permission In User Management After User Created In Suse(KDE)?

Feb 2, 2011

created a user but i forgot to change the home directory permission.so after user created when i go to the user and group mangement i cant see that permission filed related to the home permission directory.my purpose is to stop accessing other user to my home directory,how it can be possible??

View 4 Replies View Related

Debian Configuration :: Wireless Only For Main User?

Mar 24, 2010

I don't exactly know what happened but for some reason only the main user has access now to the networkmanager and is able to connect to internet. If I switch to another user, the networkmanager reports no connectivity and the PCMCIA card dies. Does anyone know what to do? It seems like an access feature, related to permissions or something.

I checked but the user is added to the netdev group...

View 1 Replies View Related

Ubuntu :: 11.04 - User Interface (UI) Disappeared + Compiz & OpenGL - Cannot Control Anything Anymore

May 19, 2011

I blew my UI (Unity) and dont know how to get it back. I wanted to set my Desktop cube using Compiz and selected OpenGL, but this blew my whole UI away and I cannot control anything anymore. From the empty screen I opened the application console using crtl + F2 There, a Login shows up but I do not know how to login (yeah LOLing here too). Username and my Password didnt make it. I could also not setup any new root password there. What data is needed here? Root, Username? Ubuntu 11.04 ubuntu ubuntu Login:

View 1 Replies View Related

Ubuntu :: Main User Account Not In Sudoers List Debian 6.0 Squeeze

Feb 23, 2011

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.

View 1 Replies View Related

Ubuntu :: Deleted User Main Folder - How To Restore Using Root Shell

Apr 14, 2011

I have system that was cloned from another system hence the user was same in both computer. I changed the computer name - to TANU. Then I added another user - BANU. I gave admin rights to second user. Logged out the first user DON- who is now only the desktop user. Before deleting the account through users and groups - I deleted the folder DON from home folder. I restarted the comp. unable to login. I had created automatic login for both users. How to restore the folder DON while using root shell.

View 2 Replies View Related

General :: Can Root And Main User Account Share Same Home Directory?

Feb 13, 2011

Or would this sacrifice security in some way? I've been using root only, and am ready to have a seperate account now. It's the dotfiles for GUI apps that I'm concerned about:

Code:
-rw------- 1 root root 98 Feb 13 16:23 .Xauthority
-rw------- 1 root root 6392 Feb 12 18:13 .bash_history
drwx------ 5 root root 4096 Jan 13 17:47 .config
drwxr-xr-x 4 root root 4096 Dec 29 21:36 .fvwm
drwx------ 4 root root 4096 Nov 7 19:55 .mozilla
-rw------- 1 root root 218 Jan 26 10:04 .recently-used.xbel
-rw------- 1 root root 98 Feb 13 16:23 .serverauth.17096
drwxr-xr-x 2 root root 4096 Dec 25 12:42 .tuxcmd
drwxr-xr-x 2 root root 4096 Feb 12 17:25 .xine

View 11 Replies View Related

Ubuntu :: 10.04 - Changing Full Name Of User

May 2, 2010

Earlier this morning I made my girlfriend an account on my Ubuntu desktop, I entered all the information, (username, full name etc.) and it worked fine. When I went to GDM I noticed that it displays both her full name, and username, but I seem to have my first name only as both my full name and user name (it just says "luke" twice).

I hadn't really paid attention to this before, but now it looked really odd with my girlfriend's full name, but only my first name. So I went to change it. Where to do that? I tried System->Preferences->About Me and System->Administration->Users and Groups, but I can't see "Full name" anywhere. In the end I used chfn on the command line to do it, but surely Ubuntu 10.04 isn't missing graphical a way to change a users full name is it?

View 2 Replies View Related

Ubuntu :: Changing Ext Hd Ownership From Root To User

Apr 17, 2010

I just got a 1.5 terrabyte Western Digital My Book 1110 external usb 2 drive. I used Gparted to reformat the drive to ext3. The problem I have is I can't change the file permissions for the drive because it says the drive is owned by root. I can't back up my files into the drive because it won't allow me to. I am using Jaunty Jackalope and got this drive to back up my files so I can feel comfortable in upgrading to Karmic Koala in case there are major problems with the upgrade.

I know someone out there in the community can tell me the commands to use in the terminal to let me gain ownership of this external drive from root so I can copy my files into it. the entire drive itself is seen as /dev/sdb One meg of the drive is unallocated and the part of the drive that I reformated is seen as /dev/sdb1 my personal files are owned by the name of dave

View 6 Replies View Related

Ubuntu :: Changing User Login Photo?

Jan 30, 2011

I'm wanting to have a personalized photo on each user on the login screen, but am having difficulties figuring it out. I've done some searching here on the forums but haven't come up with anything yet. I'm using Pinguy OS 10.10.

View 4 Replies View Related

Ubuntu :: Changing Icon And Setting User Permissions?

Oct 29, 2010

I tried to place a mono icon in usr/icons/etc but I didn't have the permission to do so. I tried to change my user profile to Admin, thinking I could go back to custom, but that hasn't and it isn't allowing me to go back to my previous setting.

Within minutes of being an Admin user I noticed I couldn't even unmount something. I really need to figure out how to change my profile back to default.

After that has been dealt with, I would like some guidance on how to gain root access to put my icon where it needs to be.

View 1 Replies View Related

Ubuntu :: Bash: User Prompts And Directory Changing?

Mar 2, 2011

Basically I'm trying to create a bash script that'll ask for a folder name and then change into that folder.

Code:
Not real code but bare with me!

echo "Enter the desired folder and press [ENTER]
read $folder
cd $folder
pwd
/home/<user name>/<whatever the user entered>
Is this possible with bash or am I chasing a pipe dream?

View 1 Replies View Related

Ubuntu :: Cannot Login To One User After Changing Window Manager?

Mar 13, 2011

I was playing around with the window managers (in XFCE) by clicking each one to see what each one looks like, then screen went black and kicked me the login screen. Now I cannot login to that user, after inputting password it just kicks me back to the login screen. I can login to another user and the terminal. How can I return to the default window manager using the terminal or is there a file I can delete that will automatically return to

View 3 Replies View Related

Debian :: Changing Default User

Mar 22, 2016

I'd like to know if there's a reliable way to change the default user in Debian: when I installed testing starting from Jessie, I used rsync to set up a duplicate stable installation and then upgraded it to testing, as a result I now have the same username for both installations, which is sometimes kinda confusing.

Reading around a bit, looks like you can indeed change your username with relative ease, but then there will be always something left behind somewhere still pointing at the old username: is that the case?

View 10 Replies View Related

General :: Changing User To Root?

Sep 17, 2010

I tried to make my account root by editing etc/group:

root:x:0:oneat
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:oneat
...

But it didn't succeed.What can I do more?

View 4 Replies View Related

General :: Changing User For Apache / PHP?

Oct 25, 2010

I have to develop a php script, that acts as a man-in-the middle for a db-like-software and a webshop. This should run on a server within a DMZ, behind two firewalls, that should filter every request from other sources, than the eshop, and any other protocol than HTTPS. This server is a debian-machine, with a apache 2.2 and php 5.3. I've installed apache and php without any problems, installed openssl, generated a certificat and installed it. I tested the connection successfully. The eshop-server can connect to the server inside the DMZ without problems and receives a correct answer.

The db-like-software (called "netbasic") generates a csv-file in a fixed directory. this csv-fils has an owner called "netbasic". The file-access-rights are: -rwxr--r-- (I've some problems to interpret this. I know, r stands for read and w for write, x for both and the order is for different usergroups). My problem is now, that my php-script tries to read the file (successfull), generates output (successfull) and then deletes the file (failed -> permission denied). I figured out, that the problem is, that apache (or, I don't know, just php) don't runs as root and has therefore no write-permission. Because the server is already secured with the firewalls, we, my workmates and me, don't see a problem, to change the apache-user to root. but I don't know how this is done and don't know, what to search for.

View 7 Replies View Related

Ubuntu :: Stop A User Changing The Network Proxy Setting?

May 31, 2011

im looking at changing the computer systems over to Ubuntu, at a scout campsite im staff at. i have sorted some filtering out with dansguardian.

but how do i limit the powers of users, so remove all the administrative side and most importantly stop a user changing the network proxy setting.

i have used ubuntu before but not for a while, so im a bit of a newbie atm.

View 8 Replies View Related

Fedora :: Restricting User From Changing Own Password In 10?

Jul 16, 2009

I hope I am in the right forum. I have a question about restricting users from being able to change their own passwords in Fedora 10. In Fedora 6, I was able to do this by using passwd with -n and -x flags. If I would set the -n value greater than the -x value, then the user would not be able to change his/her own password. If I do this in Fedora 10, this no longer works

View 4 Replies View Related

General :: Changing Primary Group On A User?

May 18, 2010

Does anyone know how to change the primary group on a user without changing the password? I've tried updating the /etc/passwd and running usermod -g group userBoth of those does change the group but somehow it messes up the password so the user cannot get in with the same password.

View 5 Replies View Related

Ubuntu Servers :: Changing User From Www-data To Asterisk Broke Zarafa?

Jun 6, 2010

I currently have Zarafa and I am going to install MythWeb for MythTV.To solve the permission problem for installing amportal (FreePBX), I have to change Apache's user and group to Asterisk instead of this, which I've commented out:User ${APACHE_RUN_USER}Group ${APACHE_RUN_GROUP}Once FreePBX is installed completely, I checked to make sure FreePBX is working and it worked. I used the latest version of Asterisk from the SVN trunk, so I used ./install_amp --my-svn-is-correct.However, I want to use Zarafa AND FreePBX, I just don't like having to change the Apache User and Group to asterisk.Here is a couple of examples of instructions when installing FreePBX:Is there a workaround? I really want to change it back to what it was before while FreePBX can still access their own directories.

I did not know if this question has been asked, but I thought I'd ask here. I've added "zarafa" and "mythweb" to the tags list my thread.Update: I changed my apache configuration file back to www-data for User and Group and I do have /var/lib/asterisk/agi-bin and /var/www/asterisk (where FreePBX PHP pages are installed in /var/www/asterisk) owned by asterisk:asterisk. But I get this:

Code:
Retrieve conf failed to copy file(s) from a module's agi-bin dir: copy(/var/lib/asterisk/agi-bin/directory): failed to open stream: Permission denied

[co0de]...

View 1 Replies View Related

Debian Multimedia :: Gdm3 Hangs After Changing User Name?

Jan 15, 2011

I changed my user name with the following commands:usermod -l $newname $oldnamegroupmod -n $newname $oldname usermod -d /home/$newname -m $newnameAlso replaced every instance of /home/$oldname ith /home/$newname in ~/.config.Now gdm3 hangs with a black screen and wristwatch icon. (I can move the icon with the mouse.) This worked fine with gdm. I've looked for gdm3 files that have /home/$oldname in my home and in /etc and couldn't find anything significant.Anyone have any ideas or suggestions on how to fix this or where to look? For now, I've disabled gdm3, and I'm using startx. This is an installation in virtualbox. I just tried using ctrl-alt-F1, but it dropped me to console in the host system. (Nice rush of adrenaline came with that.)

The only errors in Xorg.0.log are there even with a successful startx. (EE) Failed to load module "xboxvideo" (module does not exist, 0)(EE) open /dev/fb0: No such file or directoryCouple more bits of relevant information - this was a live-build that I installed using refractainstaller. I also changed /etc/inittab to disable auto-login. Here are the changes, original lines commented out, new lines look like the inittab in my regular squeeze install, but I don't think this is the problem (see below.)

#1:2345:respawn:/bin/login -f user </dev/tty1 >/dev/tty1 2>&1
#2:23:respawn:/bin/login -f user </dev/tty2 >/dev/tty2 2>&1
#3:23:respawn:/bin/login -f user </dev/tty3 >/dev/tty3 2>&1

[code]....

View 4 Replies View Related

General :: Changing Default User Start Directory?

Jul 4, 2009

I would like to change the start directory, the directory at which ftp/shell points to when the user logs in.

View 1 Replies View Related

OpenSUSE Hardware :: Changing Permissions From Root To User

Jun 6, 2010

I recently got a new external drive and backed all my files up on the new external: movies, music, docs, etc. Now all my files have permission rights to the root only. I was able to change this by open up nautilis from a terminal in root and change the permission on the whole drive to my current user so I can access the files, copy & delete the files. I wanted to change some music file information in Kynamo this morning and was not able to since all the individual files still belong to the root. How can I change this permission issue without having to change each individual file?

View 8 Replies View Related

OpenSUSE Install :: Changing Password User That Is Not Logged In?

Apr 15, 2010

I'm looking for a user-friendly way to change the password of a user that is *not* currently logged into the machine. We have a machine that is used by a number of users with a low level of tech savvy. The machine gets logged in as a generic user which works for most purposes, but due to a management requirement, we need Firefox to be run under an account set up for the individual user. I've gotten that bit to work fine, but what I can't figure out is a friendly (GUI) way to allow users to change their own password while the machine is logged in as the generic user. I would like to use gnome-passwd, but I've been unable to figure out how to get it to run for a user other than the logged-in generic user.

View 7 Replies View Related

General :: Changing User And Running Commands Inside Of A Script?

Feb 22, 2011

My current script is as followed:

Code:

#!/bin/sh
su et
cd "media/ET"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.

[code]....

I want ET to be run as the user "et" and for some reason, I can't directly su/sudo to run the file without being in the user "et" and the "/media/ET" directory.

View 2 Replies View Related

Server :: Changes Happened In /etc/shadow File, When User Changing Password?

Jan 24, 2011

I want to know, how does changes happened in the encrypted password in /etc/shadow file , when user changing password . because user doesnot have access on that file

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved