Ubuntu :: 10.04 Lucid - Samba Only Works For Root User?
Jul 17, 2010
I'm new to Ubuntu and I'm pretty sure I'm just missing something simple. I want to use Samba to share my raid array to all of my machines, so I have...Installed Ubuntu and created a single user: mattMounted my ext4 raid set with fstab:
Code:
UUID=78d85398-d179-4640-bb1b-f770ba90abb1 /media/Data ext4 defaults 0 0
Installed Samba (real Samba, I haven't touched the Nautilus-Share right-click thing):
I just setup a debian OS(in emulator) and trying to use apt-get update. When I log in as root and do:
export http_proxy=http://proxy.com:9090 apt-get update works
If I use another user and ssh to this debian, sudo apt-get update will fail to work because it don't use the proxy. I try to do the export http_proxy stuff again but still not working. echo $http_proxy showing it already set correctly...
p/s: I have a workaround by adding this lines in the apt.conf ACQUIRE { http::proxy "http://proxy.com:9090" }
but I really don't want this solutions because I want to easily disable the http_proxy in command prompt (by unset it).
I cannot find a post that matches this scenario...the id created during the install (from CD) of Karmic has fully usable sound. However, users created from the Users and Groups app do not.
I have made sure that all users are defined to the audio, pulse, pulse-audio, and pulse-rt groups. No luck.
I have followed every step I have read having to do with the alsamixer. No luck.
I have verified that alsa and linux itself are at the latest versions.
I can't get a program (wbar) to run directly from my user account, it fails saying "Image not found -> maybe using a relative path?". But if I run su -c "wbar", it shows up and manages to load the image. I think it has something to do with ImLib2 or whatever loads the image. I checked permissions on libImlib2.so.1 and it's world-readable and executable. Can libImlib2.a be causing this problem, set to 644? What else should I be checking?
I have a very strange problem.ometimes, yes sometimes not all the time, I get a Destination Host Unreachable when I ping a computer on my network. If I switch to root using su I can ping that same computer. Here is a screen shot:
joseph@laptop:~$ ping 192.168.1.14 PING 192.168.1.14 (192.168.1.14) 56(84) bytes of data. From 192.168.1.9 icmp_seq=2 Destination Host Unreachable
I'm using fedora 12 and modified the user login options(normal and super user login). I've been using the accounts for a while but i've bumped into a problem - audio not working as a normal user but works when logged in as root. Also, i'm not able to use VLC as a root user.
I am trying to setup samba. when I run testparm as a user it says all is well. But when I run it as root (sudo testparm) I get the error rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
I entered the following line in "/etc/security/limits.conf":
I've got a custom compiled kernel, just built on Lucid 10.04 from the kernel sources.System works fine, except for sound.When I log in as normal user and try to play a wav file using.The sound file is being played, but I hear no sound.However, when I do "sudo -s" and become root, execute the same mplayer command then I can hear the sound.My Sound preferences shows no input device and only "Dummy Output" as output device.On the generic kernel as came with the Lucid 10.04 CD, sound preferences shows different devices.The strange thing is: when I compiled my custom kernel, I changed nothing to the sound options in the kernel config file.
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 was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?
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.
Take a physical user FRED. FRED is a linux user ( known by linux on his laptop ) FRED is a Samba user ( Known by samba on the samba pdc server ) When he logs locally (with username/password) on its standalone laptop (with no network), he is known as FRED:user. He access his data in /home/FRED/. When he logs through samba (with username/password) on the domain MY_DOM, he is known as MY_DOMFRED:MY_DOMdomain user. He access his data in /home/MY_DOM/FRED/. ) Is it possible that the human FRED has only one repository and have full access to its repository regardless of how it was connected. If yes, how to do it
2) If not, Is it possible that the human FRED has full access to /home/FRED/.............. and /home/MY_DOM/FRED/.
I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.
i used opensuse 11.1 ...there is option for root user to create password for root...but for ubuntu i did not find anything like that...so how can i create root password....or how can i use root
I installed Lucid several days ago, and have just noticed that SCIM no longer works. I need it for Japanese input, but cannot turn on Anthy. The manual is either nonexistent or extremely terse with a lot of presupposed knowledge.I've installed German, Russian and Spanish language support, along with CJK. I can't even get the SCIM tool to pop up now---except ONCE!Simply reinstalling using Synaptic overlays the existing problem(s), and does not resolve any issues.SCIM may be conflicting with the desktop Switcher applet? Actually, SCIM seems to be conflicting with other Gnome desktop shortcuts, as well
A friend of mine has told me to set a root password and use root (f.e. switching to su in terminal and work with root rights instead).Is there any way to unset the root password? I know how to use sudo now.
I am working on an Acer Aspire 5515 laptop. Installed UE 2.7. Need Skype working. Webcam works fine. Audio works fine. When I connect to a video call, the person I am calling can hear and see me, but while I can hear them, I can't see them.
i am having problems with privileges i have created a new user with my name, but i cant get root privileges on it. i need the same privileges as the root profile.
i just installed linux mandriva 2009. i set password for root and created a user account. when i try to login as root, after logging out as user, it does not allow me and gives the error "root logins are not allowed". even it does not show the root account. if i try to go to root from konsole terminal using su root, it allows to enter as a root but when i try to start the GUI with startx it gives error.not sure what to do and why i can't see my account in GUI mode
I have a laptop and a Desktop both systems only used by myself behind a router. Ubuntu Lucid on both and 64 bit systems. I have installed NFS with the desktop as server and Laptop as client. The NFS only works with the firewalls (UFW) disabled on both machines. My current setup on the desktop ufw is
I have a problem with Samba. I've already configured my SMB.conf file, but I can't connect to my Windows shares by their host name. for example: if I try to connect to GDEA73-PC-1 share = netshare, server connection fails. if I try to connect to 192.168.1.171 then share = netshare, it works. How do I fix this? When I run findsmb, I am on the GDEA73 NETWORK workgroup as I configured, but my local PC is the only one on it...
We just set up a vpn & samba server and are running into this problem.
we can log into the vpn and can ssh, http, ftp in the various servers on the internal network. however when trying to view Samba/Windows shares over any windows machine, they fail to connect. BUT we can vpn in on any android device and using a samba app view the Samba & Windows shares on any server we try.
If im logged in the network internally, there does not seem to be a problem. Only if we VPN in from the outside.
a customer is running an old DOS application to run their business using windows 98/XP workstations that run the DOS app. I configured a Redhat 7.1 samba server (with fault tolerant backup server) for them back in the early 2000s & its version of Samba 2.2, I eventually made it work with all of their systems for printing & secure file sharing ("secure" for them anyway). Fast forward to 2011 & they would like to replace the aging Redhat servers with Ubuntu 10.10. So I set that up & got the following components working with the default install + patches of Ubuntu (using apt-get install samba): Windows XP: 1.) Password protected share access. 2.) Can browse Samba from Network Neighborhood.
3.) Print from XP Windows to HP network printer through Samba. 4.) Print from XP DOS terminal to HP network printer through Samba. XP is pretty much ready to go. Now, Windows 98: 1.) Password protected share access. 2.) Can browse Samba from Network Neighborhood. (this was tough!). 3.) Print from XP Windows to HP network printer through Samba. Note: CANNOT Print from Windows 98 DOS terminal to HP network printer through Samba! When I setup the LPT1 from net use on DOS to point to the Samba share, I then test by running DOS Edit, typing test, & then File->Print. It states that it can't print to LPT1 and asks to Retry, Cancel or Exit. No errors are given on the Samba side & Windows 98 doesn't seem to have an Event Viewer to tell me what's wrong. The whole thing works with Redhat 7.1 Samba though. Good old Samba 2.2. SIGH. So what I did was use my VMware Workstation & built an Ubuntu 10.10 workstation with Samba, built an XP workstation & Windows 98 vm image. I didn't have network printing, so I setup CUPS-PDF to print to PDF files in Samba. As with the "production" installs of their business, I got everything working just fine except DOS LPT1 on Windows 98. So I can get the same error in a test environment basically & it's still puzzling....
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 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 have updated my laptop HP Pavilion dev7 to fedora 11. However, samba does not works properly. I can see share folders to mother machines, but not the shares in the laptop from other machines.The most annoying problem is that system-config-samba crashes. I run it as user, with sudo or su , but nothing.