Networking :: Running SMBClient From Root Account Does Not Work
Jan 2, 2010
I reinstalled Slackware lastnight and was configuring Samba today and when I tested the config (I had just copied over my working smb.conf) I kept getting an NT_LOGON error when I run:
PHP Code:
smbclient -l MYSERVER
from the root account after entering root's password.
I can log in through konqueror if I pass the credentials of the only user defined in smb.conf after I'd run smbpasswd for that user, and if I bring up a full terminal session for that user smbclient works fine, but it seems odd that root can't access the shares on the machine. I may have just never noticed this before because I usually test from a user account, but is this normal since I specifically only define one user where samba is concerned? I'm mainly asking because I was getting some unexpected write errors last night while I was installing the multilib libraries for Slack64 as root and I'm trying to verify everything.
I have a problem in my usb-modem it didn't connect when I use Root account I use : HUAWWI E1550 HSDPA USB Stick System : Ubuntu 9.10 64 bit any one could advice me with the solution I couldn't do with mu root account ??
In the past, I've installed Internet services as daemons and as xinetd.d with no problems. Those approaches do not meet my needs. And, perhaps, nothing will.
- the service was converted from VB-6 to wxPython. It has a GUI which is accessed with either "remote desktop" or VNC. - the wxPython service works on Windows and can be accessed from other hosts on my LAN - the wxPython service works on CentOS and Fedora, but can only be accessed from within the server host. Even from other user-ids. But, I cannot get to it from other hosts. - ipchains AKA firewall ports are marked for INPUT. - The server host uses autologin to fire up a useid in group "user". I do not want it running as "root". the .bash_profile fires the service up. - the service is heavily mult-threaded, and supports devices connected to serial ports asynchronously with the ephemeral port threads (all this works).
There are some programming solutions that I would rather not develop. - a proxy service that runs under xinetd.d. - separate the GUI code from the Internet and serial port code. Allocate a "control" port for remote GUI control. a'la SAMBA & SWAT
Is there any hope, that I can run it as is, by doing some network configuration stuff.
The mount appears to complete cleanly, however when I browse the directory /winfiles it is always empty.The smbclient command works properly using the same credentials.The /root/credentials file looks something like this
I'm setting up Ubuntu Karmic on my sister's old computer for my nephew, he's quite young so my sister asked to install some content filtering. I'll first setup an OpenDNS account and I've installed and managed to get dansguardian and squid working on a virtual machine to try it out. so far it's working pretty well, but I need to secure it form the inside out.
I was thinking of blocking specific outbound ports so he could not bypass the proxy. because by default the firefox configuration can be easily changed. so I have a couple of questions.
1. is it possible to block outgoing ports on Ubuntu? 2. is that the best method? 3. is there anything else I should be aware of to prevent subversion?
lastly, this question is probably unrelated to this board but I've set up a cron job to update a dynamic ip with OpenDNS, the problem is that the password is in clear text in the user's crontab, can I play with permissions? is it possible to run the job under a root account and deny read/write access to a normal user?
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.
Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.
I've started to get emails that would typically come from [URL] as [URL]. These emails come from services that send out emails (backup programs) directly, or from cronjobs. I've logged in as the non-root account and either sudo su - or su - to root and the restart the service at one point or another. If I login directly as root and bounce the service or cron the emails come across as from root. I don't see anything in my environment variables after I su to indicate what would cause this. I'm not sure where else to look? A pam setting? This seems to have happened between Fedora 10 and 14 (did a bunch of overdue upgrades recently) I've only got Fedora so I don't have anything to compare to. In Fedora 10 I did not have this problem.
I have been using Ubuntu for a while now and have never run into something like this that I haven't been able to find on the forums. My problem is quite similar to this post [URL]
Description:
I have a Windows 7 x64 machine and a Ubuntu 10.04 Server machine. I also have a share called "stuff" on the Windows machine. I can run the following command and it mounts the share successfully :
Code: sudo mount -t cifs //windows_machine/stuff -o user=usr,password=pswd /path/local/folder However, if I run smbclient it fails with this error
I am trying to log into a server with a particular account. Let's say I don't know the password for that account. Can I do this using ssh? I am wondering if it is possible to do it in one command, instead of logging in as root and running su.
i am trying to send message through terminal with smbclient, i have searched the net and found this command
Code: smbclient -M <hostname> now i am confused on hostname, which i open the network folder i see to icons 1. is my laptop 2. Windows Network
when i enter Windows Network folder i see 2 more icons 1.MSHOME 2.WORKGROUP
and when i enter MSHOME folder i see one icon 1. MIRZA-SAAD this is the computer which has xp in it i want to send message to it with smbclient now how when i write this command i see this error
I can use smbclient -U name //ip.adresss/"My Place" to connect with no errors, but nautilus will not open the folder. nautilus discovers the computer but not the folder. maybe I need some debugging info from nautilus...
want to run VirtualBox with root permissions. Trouble is that only when run as root i can access attached USB devices inside of a virtual machine, otherwise, these a greyed out).Now running VirtualBox as a root user also changes the configuration folders, making all my virtual machines already defined disappear. I also don't want to copy all to the root configuration folders. Is there a way to give the VirtualBox root permissions but without actually running the application as a root user. Is it possible to do without changing the permissions of the non-root user, i.e. i don't want my user to have all root permissions, due to security considerations.
I'm trying to use my root account for the ftp. Now, he can connect but when i come in the map "home" its empty (in the ftp) but he can't get the information.
Is suid disabled from running all home made bash scripts or just from running them as root or:
Who would know for sure.
I googled several combinations of Mandriva Linux how-to suid disabled setUID etc... so far all I found was "many distributions are disabling suid for security reasons" nothing specific.
I came to debian from fedora so there I used ( su - ) to become root user. So my question is that in debian, is it same using ( su ) and ( su - ) or here also using ( su - ) is preferred with slash or without slash. What is the correct and secure way in debian with full root status.
One more question relating gedit sources.list
I use as root account : gedit /etc/apt/sources.list (and then enter and sources file in gedit open)
Is this correct method or any other way as when save after changing entries inside it says error.
I try to use FTP to put new files and catalogs on my server and I always run into problems that I have not the right to create catalogs and files in the named catalogs and so on, it is very annoying.Is there a way around this problem or do I have to activate root account to not run into these problems all the time? I have worked with different UNIX-versions and variants for the last 15 years at least and have always had access to root account, why is it so dangerous to have access to root account in ubuntu?
I deleted the root line in passwd and shadow and then tried to copy the backup and was able to put it all back to normal from rescue mode. However when i get to my login screen i can not login as root anymore or even after logged in as another user i can not su - or su root, it tells me that root user does not exist......
I have set up my crontab and whilst Im logged in and it works (It runs my shell script), however when Im not logged in, the script does not run. Initially I set the time/date to 0 0 * * * (Midnight every day), as this did not work, I tested it with to 0 * * * * (every hour) whilst logged in and the script starts.
I use crontab -e to set it up under the root account..Im sure you dont have to be logged in for it to run?, but maybe im missing a step or just overdosing on Linux and need a holiday:-)
I want to add a new user. For that purposeI switch to su and give root passwd. There I gave a command " useradd ". [smith@localhost smith]#adduser when i press enter key by typing adduser command it say me "Command not found" .Then i log off from my own account and login again from root account. The command "useradd" is then accepted.is there any way that without logging off from normal user account I may enter my roor accout and work as a root account instead to log off from normal user account.
What file needs to be modified so that Pulseaudio starts automatically when in the root account? Currently, it is necessary to start Pulseaudio from the "Run" dialog when in the root account. I recall there was a file that prevents Pulseaudio from being run as root and that particular line had to be deleted in order for it to work.
I prefer to run my computer from the root account. If not, do not preach about the "dangers" of running as root.
How do I activate networking? (I am currently logged in from Ubuntu on another computer). I installed Debian Squeeze on an iMac 7.1 (which works perfectly well with ubuntu) from the netinstall CD (today's daily build), and of course I deactivated root login, coming from ubuntu. Now I find I have to enter my root password (login password will not do) to activate networking! Is this a joke? I had the network configured with DHCP during install! So how do I activate the root account, or, more to the point, how do I get by in Debian without activating root login?
I have a dual-boot system with windows xp and suse 11.2. The last time tried to enter to suse i couldn't login to my account ,only as root. I tried to solve this through suse dvd repair option andit detected a problem in grub. i repaired it but still nothing.Also the /home partition exists and i can access it when i login as root.