Server :: Usage Of Adduser Scripts Directives In Samba
Mar 8, 2011
I am a bit fuzzy about the usage of adduser script directives in the smb.conf. I pressume they give you the ability to add users directly from windows machines... or not? And how can I use them?
View 8 Replies
ADVERTISEMENT
Dec 4, 2010
How can I limit printer usage by SAMBA server?
View 6 Replies
View Related
May 28, 2010
I have searched google for a while and searched the httpd.apache.org official site, but i cant find any information on which of the apache directives are being processed before other directives. If you have a large httpd.conf you need to know this, but amazingly i cant find this documentation anywhere which i find pretty unbelieveable. I currently have a situation where i have an apache module that is being run before another module and i need to find out why.. in addtion to that i need have complete control of the configuration, so i need to find out in which order the different directives are being processed.
View 1 Replies
View Related
Mar 3, 2010
I've got a dedicated server using whm/cpanel and there is a particular domain being hosted which contains a very elaborate .htaccess file which is full of mod_rewrite rules, among other things. I've been asked to try and get the contents of this .htaccess file into the httpd.conf (or some appropriate include file) to improve performance.
I've been reading this page and it's really confusing me: [url]
In the file usr/local/apache/conf/httpd.conf I see that there are two VirtualHost sections that appear to be relevant for my domain (which I'll call mydomain.com). The first listens on port 80 and the second is on 443. Seems to me that my apache directives in .htaccess would belong in this section. In the first section I see this:
Code:
In the second section I see this:
Code:
The problem with both of these is that the directory /usr/local/apache/conf/userdata does not exist, much less the full path to either of those files.
View 1 Replies
View Related
Aug 6, 2010
I've come across a really strange issue with one of my RHEL servers. The "free" command shows that 7019 MB of memory are actually in use by my system, but when summing up the actual usage (or even virtual usage like the example below) it doesn't add up - the sum is far less than what is reported by "free":
Code:
[root@server1 ~]# free -m
total used free shared buffers cached
Mem: 12011 7946 4065 0 4 23
-/+ buffers/cache: 7919 4092
[code]....
View 2 Replies
View Related
Feb 8, 2010
I need to know is there any way to record or tracking or make logging if when user samba delete files or folders i can know that, cause sometimeon samba server some users complain they lost files, though i have daily backup and i can restore their files, i just want to know if or maybe some other users in one group accidentally move or delete the files.
View 1 Replies
View Related
Feb 21, 2011
I'm trying to improve the functionality of my mouse in my installation of Ubuntu 10.10 desktp 64-bit running inside a VMware workstation VM running on a Windows 7 64-bit host. I stumbled upon some instructions suggesting changing a xorg.conf directive (specifically, change the mouse protocol from "imps/2" to "explorerps/2") which I'd like to try out. However there is no xorg.conf file in Ubuntu 10.10. I tried using Xorg -configure to generate the file and placing it in /etc/X11/xorg.conf, but it seems to make no effect. Using "xinput list" the mouse is still listed as imps/2 even after I changed the xorg.conf file and rebooted. It seems Ubuntu 10.10 ignores the xorg.conf file completely? If that's the case, is it possible to manually specify this setting that used to belong to xorg.conf at all?
View 2 Replies
View Related
Feb 15, 2011
I am installing some SSL certificates on my web server, however I have a couple questions, as I'm not familiar with this process
1) I'm not sure which directory to put them in? What is good practice? Is /var/www/secure a good location so long as I restrict access to the secure directory?
2) I am told to edit the following in my ssl.conf file of apache2
SSLCertificateFile
SSLCertificateKeyFile
SSLCertificateChainFile
However, I cannot find this file, ssl.conf. Nor can I find the above directives in my main apache2.conf file. Where is the ssl.conf file? Or alternatively, could I just add the above directives to my apache2.conf file?
View 2 Replies
View Related
Dec 1, 2010
i know some UNIX commands and some centos/linux commands anyway i need help setting up my centos VPS. I recieved the server the today and i wax given a SSH login which i quickly figured out how to use however for many actions including opening SFTP i need to have a non root useraccount form which i have none, so i preceeded to create a new account(adduser username, passwd username) however now if i try to log into SSH, SFTP with the new account i get a message Access is Denied. I need some help and the company hosting the server seems to be pretty useless for actual support, i think they assume VPS owners to have a reasonable amount of linux knowledge.
View 8 Replies
View Related
Jul 29, 2014
Just upgraded to wheezy from squeeze, and trying to resolve a few problems that appeared.
I get an error when installing pulseaudio (and a few other packages). Looks like the install script can't find 'adduser':
Code: Select allSetting up pulseaudio (2.0-6.1) ...
/var/lib/dpkg/info/pulseaudio.postinst: 22: /var/lib/dpkg/info/pulseaudio.postinst: adduser: not found
dpkg: error processing pulseaudio (--configure):
subprocess installed post-installation script returned error exit status 127
If I 'sudo su -' then 'adduser' is on the path, so why can the install script not find it?
View 1 Replies
View Related
Feb 1, 2010
I am attempting to add a user via the adduser command. However, I get an error/warning message after entering the following: (note I am following a HOWTO, and this is the line it says to enter).
Code:
adduser renderNode
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
adduser: Please enter a username matching the regular expression configured
via the NAME_REGEX[_SYSTEM] configuration variable. Use the `--force-badname'
option to relax this check or reconfigure NAME_REGEX or NAME_REGEX_SYSTEM.
I don't quite understand how to check/configure locale settings or variables,
View 3 Replies
View Related
Aug 4, 2010
Proftpd is installed and running fine on 8.04 server. I want to streamline the process of adding users. Adding a ftp user with USERADD fails (user is created but connection fails when trying to connect with ftp client).
Code:
useradd -d /ftp/ftphome/myuser -g ftp -m -p mypassword -s /usr/sbin/nologin myuser
But, ADDUSER works:
Code:
adduser myuser
usermod -d /ftp/ftphome/myuser -g ftp -m -p mypassword -s /usr/sbin/nologin myuser
It's a bother because I want to automate the process, and ADDUSER has all those prompts and asks for the password twice.
View 2 Replies
View Related
Jun 10, 2011
I was being stupid, and didn't read the manual properly... shame i can't delete the thread!
View 1 Replies
View Related
Feb 12, 2011
/usr/bin: No such file or directory and I cannot run any adduser commands from root of my new install of Slackware 13.1. This is my first time every installing a Linux distro and I am confused as to why I cannot do anything from the root command that I have been reading in Linux forums?
View 2 Replies
View Related
Oct 8, 2009
I have to rename a group of machines in my little samba domain (tbd backend) but there is an ugly bug that makes this impossible. have set 'rename user script' variable corectly, also checked all configurations.When i change computer name in my windows box, it shows an error saying something like "Error calling remote procedure"Looking on server side, username for the machine gets correctly changed in /usr/passwd, and also in samba database.But samba log says:
===============================================================
[2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1)
[code]....
View 3 Replies
View Related
Oct 20, 2010
I would like to configure an access to folder
/fileserver
for two services : Samba and VSFTPD
How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.
My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)
View 1 Replies
View Related
Sep 23, 2010
I'm having some trouble getting samba to work properly. I'm following this tutorial [URL] when I run
Code: sudo smbclient -L localhost I receive the following: Code: Enter root's password: Anonymous login successful Domain=[SAMBA] OS=[Unix] Server=[Samba 3.4.7]
tree connect failed: NT_STATUS_END_OF_FILE I'm lost!
View 3 Replies
View Related
Feb 2, 2010
Last weekend i've set up my first headless ubuntu home file server and torrent downloader with ubuntu 9.10.Very cool but CPU is way too fast for a home server: P4 HT 2.8Ghz, unfortunatly it has only 256Mb of ram, so no X server and no VNC (old HP office pc) At the moment memory usage is only 40Mb without X server. Besides SSH works just fine Few questions i can't seem to find answers to on google:What is a good CL network monitoring program?mething similar to htopUbuntu 9.10 has a lot, about 20-30, console-kit deamon instanses running after boot each using some memory that i can't spare.
View 2 Replies
View Related
Jan 27, 2011
I am looking to probably make a home server act as a backup for most of my data but also as a media server. I want to host all my music and videos for the most part on the server and then regardless what computer I'm using I could listen or watch. (Another question would be could I have itunes find my music on the server and play it).
But anyway, from people with home media servers, what kind of bandwidth usage do you go through a month? Comcast (ISP) limits me to 250GB and I'm thinking this is enough for moderate usage, I just want to make sure before I start the project.
View 1 Replies
View Related
Jul 20, 2011
I have got a nagios server running on my network, The configuration seems to be okay but each time there is a service alert notification, and an e-mail is sent to the contact group, Nagios continuously sends e-mail over and over again. Do anyone know of a way to set Nagios directives to only send one e-mail per alert without it flooding mail boxes.
View 3 Replies
View Related
Mar 15, 2010
I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.
View 14 Replies
View Related
Dec 10, 2010
I'm running into a problem where my system is running out of disk space on the root partition, but I can't figure out where the runaway usage is. I've had a stable system for a couple of years now, and it just ran out of space. I cleaned some files up to get the system workable again, but can't find the big usage area, and I'm getting conflicting results.For example, when I do a df it says I'm using 44GB out of 58 GB:
Code:
[root@Zion ~]# df -h
Filesystem Size Used Avail Use% Mounted on
[code]....
View 5 Replies
View Related
Nov 15, 2010
Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!
View 2 Replies
View Related
Oct 30, 2010
I'd been using Directadmin on my Debian 5.0 machine earlier . I had 1GB ram and a lot of memory was used up. Sometimes even the OS crashed as the programs couldn't allocate memory. I increased my RAM to 3GB but still the RAM usage sometimes just flow up to 1GB although normally DirectAdmin doesn't use more than 200MB . Restarting the server fixes the issue but then it climbs up again and comes down to a 200-400MB again by itself. Cached Memory was also being too much and sometimes even Swap Partition gets used up .Just to be sure that it's not the Bugged OS, today I installed the latest Debian 5.0.6 Net-inst on my machine . I allocated just 128MB of ram to it because it was just a testing machine. I installed it without the swap partition since I thought I will make a swap-file if it is required. I did not even update the OS rather I just installed Openssh-server and everything else was default as in Debian 5.0.6 . When server started, only 20MB ram was being used .
I just logged into my server afer about 5 hours and saw 112 MB ram being used out of which 91MB was cached. I haven't installed anything so why is this happening ?Why is this happening when I just installed the default Operating System and didn't even run an apt-get update on it.I think my previous operating system with Directadmin was also having similar issues.
View 9 Replies
View Related
Mar 27, 2011
I'm getting DDoS attacks on my server, and I need to block all the attacking IPs.But for that I need to know which IPs are attacking me.I was thinking that I should log the bandwidth usage per IP so I can tell which IPs are using excessive bandwidth.How can I achieve this? I'm using Ubuntu 10.10.
View 3 Replies
View Related
Apr 26, 2010
I wanted to know how can I use apache log files for trouble shooting ( I know how to see inside them) I mean what key word should I search in each of them when it fails ,as you know just getting cat of each of them is very time consuming , what should I search in them what should I look for in each log file.
View 2 Replies
View Related
Jun 13, 2011
Can anyone explain this output? I'm not sure what to make of it. 36% usage and no files??
root@host:/backups# ls -la
total 8
drwxr-xr-x 2 root root 4096 Mar 8 20:12 .
[code]....
View 3 Replies
View Related
Mar 8, 2011
In my server java based application is running and java usage showing some time 300% of usage in top command. on that time java application is getting some types errors. at that time i checked vmstat and sar commands also but they showing the free CPU. My server configuration as given below
Quote:
Processor Intel(R) Xeon(R) CPUX5670 @ 2.93GHz
No fo Cores 8
Ram :64GB
[code]....
View 2 Replies
View Related
Apr 11, 2010
I want to install a ShoutCast Server on Ubuntu, but I coudn't decide qualities of the server. I am planning to have 5,000 listeners continuously with 32kbs bit-rate. How would be usage of CPU and RAM ? I have 99MBit bandwidth, I think it is enough.
View 2 Replies
View Related
Aug 5, 2010
i am pursuing rhce... i amn't get the concept of yum..
View 1 Replies
View Related