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.

View 2 Replies


ADVERTISEMENT

Ubuntu Networking :: Usb-modem It Didn't Connect When Use Root Account

Jan 2, 2010

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 ??

View 1 Replies View Related

Networking :: Allow Remote Access To Server Running On User Account?

Jul 11, 2010

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.

View 8 Replies View Related

Networking :: Send Mail To The Root / Any Account Of A Remote UNIX Computer?

Mar 29, 2010

Sending computer runs linux. Recieving runs OS X.

View 2 Replies View Related

CentOS 5 Server :: Mount Cifs Does Not Work, But Smbclient Does. Empty Directory In First Case?

Feb 18, 2009

I am trying to mount a samba share using an fstab entry

//srv1/Corporate /winfiles cifs user,uid=0,rw,noauto,suid,credentials=/root/wnmount_credentials.txt 0 0

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

username=********
password=********

View 5 Replies View Related

Networking :: Run The Job Under A Root Account And Deny Read/write Access To A Normal User?

Jan 18, 2010

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?

View 1 Replies View Related

OpenSUSE Install :: Get Root Privileges On User Account Without Using Root Login?

Feb 5, 2011

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.

View 9 Replies View Related

Debian :: Running Same Process Multiple Times(from Another Account) / An Instance Of Newsbeuter Is Already Running Error?

Aug 6, 2010

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.

View 1 Replies View Related

Server :: Fedora Sending Mails From Root With Non-root Account?

Jul 14, 2011

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.

View 2 Replies View Related

Ubuntu Networking :: Smbclient Not Working With Windows 7?

Jun 4, 2010

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

Quote:

session setup failed: SUCCESS - 0

[Code].....

View 6 Replies View Related

General :: Using SSH To Log Into A Non-root Account Using Root Password

Feb 10, 2010

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.

View 4 Replies View Related

Ubuntu Networking :: Send Message Through Terminal With Smbclient?

Apr 26, 2010

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

Code:
amir@amir-laptop:~$ smbclient -M //MSHOME/MIRZA-SAAD/
Connection to //MSHOME/MIRZA-SAAD/ failed. Error NT_STATUS_BAD_NETWORK_NAME

View 7 Replies View Related

CentOS 5 Networking :: Smbclient Works Nautilus Doesn't Connect To Share?

Sep 20, 2010

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...

View 11 Replies View Related

Ubuntu Security :: Giving Root Permission To An Application But Without Running It As Root?

Jan 20, 2011

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.

View 1 Replies View Related

Software :: Use Root Account For The Ftp

Aug 31, 2010

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.

whats wrong whit my conf
vsftpd.conf:

Code:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022

[Code].....

View 10 Replies View Related

Programming :: Suid Disabled From Running All Scripts Or Just From Running Them As Root ?

Sep 4, 2009

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.

View 2 Replies View Related

Debian :: Using Root Account With Or Without Slash?

Sep 26, 2015

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.

View 3 Replies View Related

Ubuntu :: Can't Log Into Root User Account

Feb 5, 2011

I was changing my GUI settings in XFCE in my root user account on Xubuntu when suddenly I was logged out and the computer shut down.

(I have done this before with no such trouble...)

Now I can't log into my root account all I get is a blank screen for a few seconds then I'm back at the log-in screen, the other account works fine.

(This is on my Xubuntu 10.10 laptop BTW...)

View 5 Replies View Related

Ubuntu Servers :: FTP Without The Root Account?

Mar 3, 2011

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?

View 3 Replies View Related

General :: Broke Root Account ?

Oct 6, 2010

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......

View 14 Replies View Related

General :: Use Crontab -e To Set It Up Under The Root Account?

Jul 16, 2010

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:-)

View 3 Replies View Related

General :: How To Switch To Root Account

Mar 11, 2010

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.

View 5 Replies View Related

Software :: Run Pulseaudio In Root Account?

Mar 29, 2011

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.

View 1 Replies View Related

Slackware :: Root Account Recovery

May 7, 2010

anyone knowledgeable could follow this thread? [URL]

View 1 Replies View Related

Debian :: Activating Network - Root Account ?

May 13, 2010

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?

View 5 Replies View Related

Debian :: Change The Fonts In Gdm And Root Account?

Oct 1, 2010

how can i change the fonts in gdm and root account? Root login is disabled

View 4 Replies View Related

General :: Disposable Account With Root Access ?

Jul 12, 2010

I have a Web server issue for which I have hired a reputable local consultant (recommended by several people in our local Linux User Group).

For some of his tasks, he will need root access.

How do I build him an account, specifically for him that I can delete later, that will allow him both unprivileged and root access?

View 2 Replies View Related

OpenSUSE Install :: Can't Login To Account - Only As Root

Apr 11, 2010

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.

View 4 Replies View Related

OpenSUSE Install :: Can't Even Login To My Own Account Except For 'root

Aug 3, 2010

I was configuring usermod for vboxusers and reboot when suddenly I can't even login to my own account except for 'root'.

I had disabled user login before this. There is only 1 group when I checked in YaST which is 'users' and its group member is 'games'.

Why can't I login to home account?

View 4 Replies View Related

Ubuntu :: Enable The Root Account - For Login - In 9.10?

Mar 17, 2010

How can I enable the root account (for login) in ubuntu 9.10?

View 9 Replies View Related







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