Ubuntu :: Sudo: Pam_sm_authenticate: /home/bob Is Already Mounted

Jun 1, 2010

Quote:

Jun 1 12:15:42 desktop sudo: pam_sm_authenticate: Called
Jun 1 12:15:42 desktop sudo: pam_sm_authenticate: username = [bob]
Jun 1 12:15:42 desktop sudo: pam_sm_authenticate: /home/bob is already mounted

what's causing (at the root?) of this?

Maybe this is related:

Quote:

desktop gdm-session-worker[1396]: pam_succeed_if(gdm:auth): requirement "user ingroup nopasswdlogin" not met by user "bob"
Jun 1 09:25:46 desktop gdm-session-worker[1396]: pam_unix(gdm:session): session opened for user bob by (uid=0)
Jun 1 09:25:46 desktop gdm-session-worker[1396]: pam_ck_connector(gdm:session): nox11 mode, ignoring PAM_TTY :0

View 2 Replies


ADVERTISEMENT

Ubuntu :: Home Partition Cannot Be Mounted

Apr 22, 2010

When I powered-up my computer today I received the message that the home partition listed in /etc/fstab cannot be mounted and to press ESC to go to the recovery shell.

My computer is dual-boot, with Windows on the first hard disk (sda) and Ubuntu 9.10 on the second hard disk (sdb); I am using Grub version 1.97 beta4. The home partition is thus on sdb2 and the file system is ext4.

The /etc/fstab file contains all the partitions and has not changed since last October. Also, when issuing the command fdisk l, all partitions are correctly displayed, including the home that cannot be mounted.

Finally, the command fsck /dev/sdb2 quickly returns the result that /dev/sdb2 is clean!

View 6 Replies View Related

Ubuntu :: Setting Home Folder On Mounted Partition?

Jan 6, 2011

I'm dual booting on a laptop with an 80gb hd. I've set up the partitions so windows xp has 20gig, ubuntu (edit: 11.4?) has 7 gigs, 3 gigs swap space, and the rest is formatted as FAT32 that I'm looking to use as shared space between the two OSes. The ubuntu live install partition tool suggested (possibly demanded?) that the fat32 be mounted as /windows or /dos, and I chose the former. Everything's running fine, both OSes see the partition, but I can't set my home folder to exist in this shared space.

I've been in system > admin > users and groups- I try setting the home folder as /windows/home/chris. (I had a home folder backed up that I have already copied to this location) The dialog recognizes that there's a folder there already, asks if I want to use those new files or copy old ones. I say use new files, and close the window. Nothing changes though- in fact if I open users and groups immediately after, it's already reverted to /home/chris . I've tried changing from a different user account as well.

View 3 Replies View Related

Ubuntu :: After Reboot Get An Error Saying The Disk /home Could Not Be Mounted?

Jun 12, 2011

I tried to change my /home to another partition, but after reboot I get an error saying the disk /home could not be mounted..fstab:Quote:

e# /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options>

[code]....

View 3 Replies View Related

Ubuntu :: Prevent Display Of Mounted Home Folder On Desktop ?

Feb 9, 2010

I recently changed linux distros and switched to Karmic. In my earlier setup /home was on a separate partition.

After switching to karmic I added the following line to /etc/fstab to mount my /home partition which was on /dev/sda6 (ubuntu is on /dev/sda7) /dev/sda6 /home ext3 nodev,nosuid 0 2

After rebooting I saw that while earlier I had an empty desktop now my desktop shows the content of my home folder.

On googling I found out about how I could change the nautilus preferences.

I used gconf-editor to change: apps>nautlius>preferences>desktop_is_home_dir to false

I also changed: apps>nautlius>desktop>volumes_visible to false.

However on rebooting I still see all the contents of my home folder on the desktop.

What do I need to do to show the Desktop as blank (as in point to ~/Desktop rather than point to ~)?

View 2 Replies View Related

Fedora :: Back Up Files From Home And From Another Mounted Directory On System?

May 28, 2010

I am using back in time to back up files from home and from another mounted directory on my system (ntfs). The back-ups are occurring automatically and appear to be complete; but, I cannot delete old back-up snapshots in the backintime GUI Also with sudo nautilus or as root in terminal with (rmdir) I cannot delete the snapshots. My drive is filling up and rather than uninstalling back in time, I would like to simply delete the unneeded snapshots. How can I delete these files? Is there an rsync file that I should configure to delete these? My expectation of backintime was that it would back-up at the requested frequency and not create complete duplicate copies of the files, but, use symbolic links to unchanged files. How can I verify if this is the case? Does the cron file control this>

View 1 Replies View Related

General :: Way Of Organizing Directories In Network Mounted User Home?

Jul 9, 2010

I work on machines with different architectures, all of which share the same home directory(what is the technical term for it -- network mounting ?). Since I don't have admin privileges on these systems, I have installed programs in /home/<my_id>/bin. A program compiled for one architecture doesn't work when I login into another system. I'm thinking of creating architecture specific directories which would contain inaries/libraries specific to that architecture and creating a softlink to it t /home/<my_id>/bin. The only problem with this solution is that I can't work on two systems at the same time.

View 1 Replies View Related

Ubuntu :: Use The Sudo Command To Edit Anything Out Side The Home Directory?

Jan 29, 2011

I am here with a troublesome question about my new Ubuntu set up. Well as I've found out that you have to use the Sudo command to edit anything out side the home directory. Well I am using L.A.M.P. Server on my computer so I can host a small forums. Well for example like lets say I install Word press Blog onto my lamp server and I want to install a theme well when i go to install a theme i can not because WPB can't install the theme because of the security stuff on Ubuntu!

Well I want to know if there is some kind of command or program i can use that will get rid of all the security stuff were i can edit stuff nice and easy. Like something that can give me FULL control over the OS so no more commands because I am going to be running a Vbulliten forums which needs themes and plug ins, well i want be able to install them because this OS will not let me!

View 6 Replies View Related

Ubuntu :: Home Network - Media Drives Are Automatically Mounted To Allow Access If The Admin User Is Not Logged In?

Jul 9, 2010

This is the set up I have: PC downstairs by a tv, with 3TB of storage containing my media, connected to the tv too. HTPC upstairs by another tv and connected to it. A few laptops and other desktops around the house which are windows based

I want the downstairs pc to act as a file server and to run my torrent client, it is running Ubuntu desktop version and has xbmc installed too for use with the tv. The upstairs htpc has xbmc live on and will access the media from the file server. What I am looking to do is to be able to log into my ubuntu machine remotely from a laptop running windows so I can manage the files and add torrents for download etc, but for this to be a complete remote session, rather than taking control over what is already being shown on the downstairs pc, like VNC does in windows.

I have two user accounts set up on the main ubuntu machine, the admin account and a media user account which is set to go straight to xbmc after log in. Also how can I make sure that the media drives are automatically mounted to allow access if the admin user is not logged in?

View 9 Replies View Related

Ubuntu :: Back In Time To Backup Home Directory To A Second Hdd That Is Mounted At /media/backup?

May 18, 2010

using Back In Time to backup my home directory to a second hdd that is mounted at /media/backupThe trouble is, I can do this using Back In Time (Root), but not using Back In Time without the root option. This is definitely a permissions issue - it can't write to the folder, but when I checked by right clicking on the backup directory and looking at the permission tab, it said I was the owner

View 2 Replies View Related

Ubuntu :: Can't Cd To Root Acount /home In Terminal - Sudo Cd /root Fails?

Jul 25, 2011

can't cd to root acount /home in terminal - sudo cd /root fails?

View 3 Replies View Related

Security :: Sudo For Users But Only +r On Other /home/users Ubuntu 10.04 ?

Nov 1, 2010

We are trying to set up a classroom training environment where our SIG can hold classes for prospective converts from Microsoft/Mac. The ten machines will have /home/student01..10 and /home/linsig01..10 as users. We want /home/student01 to be able to explore and sudo so they can learn to administer their personal machines at home. We don't want them to be able to modify (sudo) /home/linsig01. I've seen the tutorial on Access Control Lists but I'd like other input so we get it right the first time.

View 3 Replies View Related

Ubuntu :: Sudo Ifconfig Eth0 Down Vs Sudo /etc/init.d/networking Stop

Jun 10, 2010

explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?

Code:
sudo ifconfig eth0 down
sudo /etc/init.d/networking stop

View 3 Replies View Related

Software :: Pam_start Error 26 \ Use Sudo Su And Add An Account To A Group What's Allowed To Use Sudo?

Jan 2, 2011

I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:

Code:
ldd /usr/bin/passwd
and

[code]....

View 4 Replies View Related

Fedora Security :: Cannot Open /var/db/sudo After Sudo Package Upgrade?

Sep 16, 2010

A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.

View 1 Replies View Related

Ubuntu :: Make Sudo Act More Like The Debian Sudo?

Jul 2, 2011

I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password

View 8 Replies View Related

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

Jan 6, 2011

Kernel 2.6.21.5, Slackware 12.0

Code:

Code:

On the other hand

Code:

So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.

View 3 Replies View Related

Fedora :: Where SUDO File At / Add Myself As A SUDO'er?

Oct 11, 2009

Where is the SUDO file at, and remind me how do I add myself as a SUDO'er?

View 3 Replies View Related

General :: What's The Difference Between Sudo Su - And Sudo -i

Jun 19, 2011

It is my understanding that they do the same: they ask for my password (if I am allowed in /etc/sudoers), and give me a login shell as root.

Is there any difference between them?

sudo su -
sudo -i

Also, what's the difference between

sudo su
sudo -s

I think that they both ask for my password, and give me a shell with my old environment variables.

View 1 Replies View Related

Server :: Sudo - Command Can't Run By Sudo

Jun 18, 2010

I am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.

View 8 Replies View Related

Fedora Security :: Terminal Equivalent Of "sudo" Is It Still Sudo/KDEsudo

May 29, 2010

I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.

The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo

I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?

View 14 Replies View Related

Ubuntu :: Home Folder Icons Don't Update When Change The Home Directory

Sep 22, 2010

I have a dual-boot macbook with an OS X partition and an ubuntu partition. When I first installed ubuntu, I changed my home folder to my OS X home directory to synchronize all my files from both. My home directory is now /media/sda2/Users/username/. In a regular home folder, the icons for Documents, Music, Pictures, Movies, etc. are different (not just with emblems, but actually different icons). But when I changed my home folder, these subfolders' icons stayed the same as regular folder icons and I can't figure out a way to change that default setting. I know how to change the icons for each folder manually, but these changes don't appear everywhere (i.e. nautilus, places, etc). Furthermore, every time I change my icon theme, I would have to manually reassign icons for these folders. Is there a way to globally change the folder icons for these folders?

View 2 Replies View Related

Ubuntu :: Install 64bit Home Over Previous 32bit /home?

Sep 26, 2010

I was previously running 10.04 32bit. Recently upgraded my cpu/ram, so figured I'd try 64 bit. On my previous setup, I had / in one partition, /home in another, plus a few other partitions (/backup, etc).

I did the install of 64 bit, but was too scared to point /home in 64bit to the previous /home. After the install, now all those previous partitions/mounts are on /media. I'd like to just point /home at the previous partition. Should I mess with /etc/fstab to do this or will it cause problems? Is the easiest thing to do reinstall, then point the new install to use the pre-existing /home? Wasn't sure if that would cause problems or not. I've backed up most of the previous /home area, so worst case, if it gets blown away, I should be alright.

View 2 Replies View Related

Ubuntu Servers :: Set Home Directory Path Different From LDAP's Home?

May 24, 2011

I need to specify a different path to home directories on a particular server than what LDAP contains for the users, besides using a symlink. E.g. "/Users/jdoe" vs "/home/jdoe" I don't want to change the actual LDAP attributes, just want a particular server to point them in the right direction (Ubuntu 10.04).

I'm assuming it's something I could probably set in pam configurations?

View 1 Replies View Related

Ubuntu :: Using Old Home Backup In Separate Home Partition

Mar 28, 2011

recently i made a backup of my home directory in 10.10 before reinstalling 10.10. again.This time I chose to manually define the partitions (50GB Root, 25GB Swap, 325GB Home)Now i wish to migrate the old home into the newly installed home, which is on a separate partition.I have found the following documentation URL...Still, as a beginner I am not quite sure about the necessary steps to perform.As the new home is located on a separate partition is it possible to simple delete all directories there and copy all directories from old home to new home with rsync?

Do I have to install all the software that corresponds to the old home first followed by migrating home or first migrating home followed by installing the software such as thunderbird, Texlive2010 etc.Guess that migration should take place at a later stage. Otherwise my old profile files from firefox and thunderbird will be overwriten by new ones?

View 1 Replies View Related

Ubuntu :: Move / Home To Existing / Home Partition?

Jul 1, 2011

Been digging around and not finding anything that quite works.

Background: I had an existing 10.10 install and 10.04 on another partition. When I installed the 10.04 I told it to use the existing /home partition which is also being used by the 10.10 install. All good, both users have directories with all their data in the same /home partition.

Issue: So, as the 10.04 was 32bit (experimenting but another story) I decided I would replace with 10.04 64bit. All went well except when I did the manual partitioning I screwed up and instead of setting the existing /home partition to 'use but don't format' - which I think is what I must have done last time - I left it as 'don't use and don't format'. So, obviously, now the new 10.04 install has its /home inside /, which I don't want. I want it on the existing /home partition as it was with the previous 10.04 install.

Question(s): Is there any simple(ish) way of doing this without a reinstall? Not a major problem as I have only just installed and can do it again without losing anything but time, but I would like to figure out a way to do it without if possible.I want to essentially move the /home/user directory (rather than the /home) and make it /media/home/user inside the existing partition. Seems easy enough on the surface but becomes involved as I investigate.Ubuntu 10.04 minimal install with Xfce DE.

View 8 Replies View Related

Ubuntu Installation :: Using SD Card As /Home - Or An Extension Of /Home?

Jul 1, 2011

I have installed Ubuntu Lucid Lynx to dual boot with Vista Business on a Toshiba Port�g� R500. Everything seems to be working great out of the box, but I have a problem with available space on the rather modest (but spectacular performance) 64GB SSD.

1) Current Partitions:

Toshiba includes three partitions on the new 64GB system, to which I have added one primary Linux container partition, enclosing two logical partitions.

- /dev/sda1 TOSHIBA SYSTEM VOLUME: 1.6GB, Partition type "Unknown (0x27)
- /dev/sda2 Windows Vista Business: 49GB, NTFS
- /dev/sda3 HDDRECOVERY: 6.5GB, Hidden HPFS/NTFS (0x17)
- /dev/sda4 Linux Container for sda5 & sda6: 7.6GB, Extended
- /dev/sda5 Ubuntu Filesystem: 6.6GB, ext4
- /dev/sda6 Swap Space: 1.0GB, Linux swap

I'm sure I'll remove Vista eventually, but in the meantime, (along with MS Office) it requires a whopping 32GB just to admire itself, after all the updates and security upgrades have been applied. I shrunk the partition to 49GB to leave space for future updates and upgrades.

Right now, Ubuntu only occupies 2.4GB of it's allocated partition, leaving 3.6GB free (I know, that doesn't add up to 6.6GB, but that must be something to do with GiB vs. GB, ... or magic, maybe). Swap is only 1.0GB, with 2.0GB of RAM, but I don't use Hibernate.

2) Installing /Home on SD Card

Well, I tried this first, since I have a nice 8GB, Class 10 SD Card, and a built in SD Card reader. With the SD Card inserted during installation, I was able to select it and designate it as /Home, but when I tried to restart after insallation was complete, I got an error message before the Ubuntu login screen could appear.

I think what is happening is that it doesn't mount normally when booting. It's not listed as a bootable device in BIOS, but there is a Toshiba Bootable SD Card utility included with Windows, which needs a bootable floppy or something to work. There must be something that allows the BIOS to recognize it as a floppy during boot, or whatever, but any Toshiba Utility isn't going to work with a Linux file system. Puppy doesn't like it either for the Puppy sfs saved user file (although it will usually work if I copy them there manually, rather than allow them to save automatically).

3) Extending /Home to the SD Card

I thought I'd just have to copy stuff to the SD Card manually, as extra storage, when /Home got too crowded and cosy. Then I noticed that as soon as I inserted the SD Card it immediately got added to the total space avaialable shown by the Disk Usage Analyser accessory (which just happened to be open at the time). So now I see 10.8GB total, which is plenty to start out with for me. I assume this is because the SD Card had been formatted to mount as /Home when I first tried that solution, and got recognized as soon as it was inserted in the slot.

Questions:

a) Will this work? Will /Home really use the extra space, or is it just "pretending"?
b) Is there anything special I might need to do?
c) What do I do with the three folders already on the SD Card, obviously put there during the failed attempt to install /Home on the card? (The third folder is hidden: ".ecryptfs".)?
d) Is it acceptable to leave swap with just 1.0GB, since I don't need to hibernate?
e) Anything else I need to consider?

View 9 Replies View Related

Fedora :: Using SSH - Could Not Chdir To Home Directory /home/adahaj: Permission Denied

Jul 21, 2009

I have a strange problem when I do SSH to a FEDORA9 based Linux Server.

[Code]....

When I login using "adah" username in TELNET I am automatically directed to my home directory at location "/media/disk-1/home/adah". But when I use SSH to login using the same username I get the following message Code: Could not chdir to home directory /home/adahaj: Permission denied

View 7 Replies View Related

General :: 'Could Not Chdir To Home Directory /home/[user]: Permission Denied'

Jan 6, 2010

I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -

Code:

login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$

Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.

View 14 Replies View Related

General ::anything Special About Home Directory Before Users' Home Directories Are Stored There

Jun 19, 2010

Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.

Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?

View 10 Replies View Related







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