Author Topic: Ubuntu: Remove password requirement  (Read 3492 times)

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Ubuntu: Remove password requirement
« on: February 20, 2009, 06:44:56 PM »
When i install new software, activate drivers, etc it requires me to enter the password. I never really cared too much, but its getting annoying. And everytime i reboot i have to enter the password to use the shared drive.

I removed the need for me to login, how can i stop it from checking my clearence? Nobody uses my computer im tired of typing my long ass password.
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Ubuntu: Remove password requirement
« Reply #1 on: February 21, 2009, 10:31:37 AM »
It supposed to do that. That's why you dont have crappy worms & viruses like on windows.

>>And everytime i reboot i have to enter the password to use the shared drive.

Depends on how you mount it. If you mount it with CIFS you can specify a credentials file that has your username and password. Make that file read only and only allow root to access it and your fine

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Ubuntu: Remove password requirement
« Reply #2 on: February 22, 2009, 10:25:12 AM »
I dont know how its mounted, ubuntu did it for me. And i know its supposed to do that, i just want it to stop doing it.

Also i thought i dont get any virus's because of the os architecture :dunno:
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Ubuntu: Remove password requirement
« Reply #3 on: February 22, 2009, 12:47:28 PM »
I think this relates to the same issue. Some programs lice VLC and NVU/Kompozer cannot navigate to the shared drive in the "open" dialog. They cant see beyond "/" and its annoying. Now other programs like music box or whatever its called have no issues navigating to it at all.
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Ubuntu: Remove password requirement
« Reply #4 on: February 22, 2009, 01:33:15 PM »
Fresh example. I just installed limewire, and i cant choose my shared drive to select the limewire folder as my download location. No way to navigate to that drive...
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Ubuntu: Remove password requirement
« Reply #5 on: February 23, 2009, 01:48:30 AM »
Nautilus can access drives over SMB, but they are not mounted and so not visible to other apps. Learn to mount them properly and you will be able to access the drive from any app


http://rockpenguin.wordpress.com/2008/05/21/ubuntu-and-mountcifs/

VBprogrammer

  • Back on GMT thank god
  • Jackass IV
  • Posts: 747
  • Karma: +13/-21
Re: Ubuntu: Remove password requirement
« Reply #6 on: February 23, 2009, 10:49:02 AM »
I don't think its a SMB share Dumah, I think he means his shared NTFS partition.

Your shared drive should be mounted in /media/sda1 or something to that effect, if a drive is properly mounted then any linux app should be able to access it.

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Ubuntu: Remove password requirement
« Reply #7 on: February 23, 2009, 10:53:44 AM »
It's FAT32, and it is mounted properly. Off memory it is sda3 (with sda1 being vista ntfs, and sda2 being ext3 ubuntu) and my swap is at sda4. App's can see it, for example GIMP and RythmBox both show it on their left side pane, but vlc and limewire cant see it under browse....its odd.

let me take a screenshot to show what i mean.
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Ubuntu: Remove password requirement
« Reply #8 on: February 23, 2009, 10:58:36 AM »
shit i cant im in vista i cant reboot. so here is one from vista, and i will use paint to explain what i mean....

First up is GIMP. Notice the "Shared" on the left pane, this is correct in linux as well. Ryhtmbox has the same open dialog layout and therefore it works.

Next is limewire. In Ubuntu there is no left pane, simply a drop menu, same with vlc. In this menu i have "/" and all the directories below it. But no way to get "above" "/" to see other drives.....
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

VBprogrammer

  • Back on GMT thank god
  • Jackass IV
  • Posts: 747
  • Karma: +13/-21
Re: Ubuntu: Remove password requirement
« Reply #9 on: February 23, 2009, 11:00:27 AM »
I know what you mean. Look at the output of the 'mount' command.

Quote
/dev/sda2 on / type ext3 (rw,noatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /media/sda1 type fuseblk (rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)

If you look through that you'll see where your FAT32 drive is mounted. You can see that mine is /media/sda1.

FYI '/' is the root directory, there is nothing above it! The things in the left hand pane are just short-cuts to different areas of the file system.

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Ubuntu: Remove password requirement
« Reply #10 on: February 23, 2009, 11:40:17 AM »
I thought / was top level, but where under it does it list the drives? lol...

I will be back in linux in about 20 minutes and i will grab thayt info
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

VBprogrammer

  • Back on GMT thank god
  • Jackass IV
  • Posts: 747
  • Karma: +13/-21
Re: Ubuntu: Remove password requirement
« Reply #11 on: February 23, 2009, 11:45:26 AM »
Your still thinking Windows. Unix does things differently, drives are mounted to a certain place on the file system (called a mount point), so there is no list of drives.

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Ubuntu: Remove password requirement
« Reply #12 on: February 23, 2009, 11:53:33 AM »
Yea but i mean where under "/" am i going to find my target location?

mount:

Quote
steve@Reaper:~$ mount
/dev/sda5 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-11-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/steve/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=steve)
/dev/sda6 on /media/Storage type vfat (rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000,utf8,umask=077,flush)
steve@Reaper:~$
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

VBprogrammer

  • Back on GMT thank god
  • Jackass IV
  • Posts: 747
  • Karma: +13/-21
Re: Ubuntu: Remove password requirement
« Reply #13 on: February 23, 2009, 12:07:27 PM »
/media/Storage

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Ubuntu: Remove password requirement
« Reply #14 on: February 23, 2009, 12:39:07 PM »
Sweet! :)

Thanks man.
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?