Startup Script Run As Particular User
Aug 20, 2007I'm putting in a script in /etc/rc.d/rc.local, so that once the system starts up it runs.
However, I'd also like the script to run as a specific user, and not root. How do I do this?
I'm putting in a script in /etc/rc.d/rc.local, so that once the system starts up it runs.
However, I'd also like the script to run as a specific user, and not root. How do I do this?
how to organize a colo startup if I manage to get a cage with 2-3 cabinets in a Peer1 datacentre.
From my knowledge, Peer1 handles firewalling, BGP, etc on their end so I probably won't need it.
But how can I organize it, what do you guys do when you get a new client?
Have cables readily dangling in the racks or something so you can connect it to the clients right away?
What kind of reboot privs do you give out?
Monitoring traffic, etc?
I am working on a fresh Windows 2003 server with PHP5.2.1 and MySQL 5.0.27.
I am trying to load the curl, ldap, and mssql extensions for a project I am working on here for a client. (I use linux only for the most part)
I have set:
extension_dir = "C:PHPext"
However I get the following on only these 3 of the several I am trying to load.
Code:
[27-Mar-2007 16:14:42] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_curl.dll' - The specified module could not be found.
in Unknown on line 0
[27-Mar-2007 16:14:42] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[27-Mar-2007 16:14:43] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_mssql.dll' - The specified module could not be found.
in Unknown on line 0
My PHP.ini file is as follows:
Code:
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; This file controls many aspects of PHP's behavior. In order for PHP to
; read it, it must be named 'php.ini'. PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory. The
; path in which the php.ini file is looked for can be overridden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple. Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
; foo = ; sets foo to an empty string
; foo = none ; sets foo to an empty string
; foo = "none" ; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
;
;
;;;;;;;;;;;;;;;;;;;
; About this file ;
;;;;;;;;;;;;;;;;;;;
; This is the recommended, PHP 5-style version of the php.ini-dist file. It
; sets some non standard settings, that make PHP more efficient, more secure,
; and encourage cleaner coding.
;
; The price is that with these settings, PHP may be incompatible with some
; applications, and sometimes, more difficult to develop with. Using this
; file is warmly recommended for production sites. As all of the changes from
; the standard settings are thoroughly documented, you can go over each one,
; and decide whether you want to use it or not.
;
; For general information about the php.ini file, please consult the php.ini-dist
; file, included in your PHP distribution.
;
; This file is different from the php.ini-dist file in the fact that it features
; different values for several directives, in order to improve performance, while
; possibly breaking compatibility with the standard out-of-the-box behavior of
; PHP. Please make sure you read what's different, and modify your scripts
; accordingly, if you decide to use this file instead.
;
; - register_long_arrays = Off [Performance]
; Disables registration of the older (and deprecated) long predefined array
; variables ($HTTP_*_VARS). Instead, use the superglobals that were
; introduced in PHP 4.1.0
; - display_errors = Off [Security]
; With this directive set to off, errors that occur during the execution of
; scripts will no longer be displayed as a part of the script output, and thus,
; will no longer be exposed to remote users. With some errors, the error message
; content may expose information about your script, web server, or database
; server that may be exploitable for hacking. Production sites should have this
; directive set to off.
; - log_errors = On [Security]
; This directive complements the above one. Any errors that occur during the
; execution of your script will be logged (typically, to your server's error log,
; but can be configured in several ways). Along with setting display_errors to off,
; this setup gives you the ability to fully understand what may have gone wrong,
; without exposing any sensitive information to remote users.
; - output_buffering = 4096 [Performance]
; Set a 4KB output buffer. Enabling output buffering typically results in less
; writes, and sometimes less packets sent on the wire, which can often lead to
; better performance. The gain this directive actually yields greatly depends
; on which Web server you're working with, and what kind of scripts you're using.
; - register_argc_argv = Off [Performance]
; Disables registration of the somewhat redundant $argv and $argc global
; variables.
; - magic_quotes_gpc = Off [Performance]
; Input data is no longer escaped with slashes so that it can be sent into
; SQL databases without further manipulation. Instead, you should use the
; function addslashes() on each input element you wish to send to a database.
; - variables_order = "GPCS" [Performance]
; The environment variables are not hashed into the $_ENV. To access
; environment variables, you can use getenv() instead.
; - error_reporting = E_ALL [Code Cleanliness, Security(?)]
; By default, PHP suppresses errors of type E_NOTICE. These error messages
; are emitted for non-critical errors, but that could be a symptom of a bigger
; problem. Most notably, this will cause error messages about the use
; of uninitialized variables to be displayed.
; - allow_call_time_pass_reference = Off [Code cleanliness]
; It's not possible to decide to force a variable to be passed by reference
; when calling a function. The PHP 4 style to do this is by making the
; function require the relevant argument by reference.
;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;
; Enable the PHP scripting language engine under Apache.
engine = On
I am working on a fresh Windows 2003 server with PHP5.2.1 and MySQL 5.0.27.
I am trying to load the curl, ldap, and mssql extensions for a project I am working on here for a client. (I use linux only for the most part)
I have set:
extension_dir = "C:PHPext"
However I get the following on only these 3 of the several I am trying to load.
Code:
[28-Mar-2007 13:41:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_curl.dll' - The specified module could not be found.
in Unknown on line 0
[28-Mar-2007 13:41:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[28-Mar-2007 13:41:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_mssql.dll' - The specified module could not be found.
in Unknown on line 0
I have restarted IIS several times and have also placed the three above extensions in the c:windowssystem32 folder.
My php.ini file is:
Code:
[php]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; This file controls many aspects of PHP's behavior. In order for PHP to
; read it, it must be named 'php.ini'. PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory. The
; path in which the php.ini file is looked for can be overridden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple. Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
; foo = ; sets foo to an empty string
; foo = none ; sets foo to an empty string
; foo = "none" ; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
;
;
;;;;;;;;;;;;;;;;;;;
; About this file ;
;;;;;;;;;;;;;;;;;;;
; This is the recommended, PHP 5-style version of the php.ini-dist file. It
; sets some non standard settings, that make PHP more efficient, more secure,
; and encourage cleaner coding.
;
; The price is that with these settings, PHP may be incompatible with some
; applications, and sometimes, more difficult to develop with. Using this
; file is warmly recommended for production sites. As all of the changes from
; the standard settings are thoroughly documented, you can go over each one,
; and decide whether you want to use it or not.
;
; For general information about the php.ini file, please consult the php.ini-dist
; file, included in your PHP distribution.
;
; This file is different from the php.ini-dist file in the fact that it features
; different values for several directives, in order to improve performance, while
; possibly breaking compatibility with the standard out-of-the-box behavior of
; PHP. Please make sure you read what's different, and modify your scripts
; accordingly, if you decide to use this file instead.
;
; - register_long_arrays = Off [Performance]
; Disables registration of the older (and deprecated) long predefined array
; variables ($HTTP_*_VARS). Instead, use the superglobals that were
; introduced in PHP 4.1.0
; - display_errors = Off [Security]
; With this directive set to off, errors that occur during the execution of
; scripts will no longer be displayed as a part of the script output, and thus,
; will no longer be exposed to remote users. With some errors, the error message
; content may expose information about your script, web server, or database
; server that may be exploitable for hacking. Production sites should have this
; directive set to off.
; - log_errors = On [Security]
; This directive complements the above one. Any errors that occur during the
; execution of your script will be logged (typically, to your server's error log,
; but can be configured in several ways). Along with setting display_errors to off,
; this setup gives you the ability to fully understand what may have gone wrong,
; without exposing any sensitive information to remote users.
; - output_buffering = 4096 [Performance]
; Set a 4KB output buffer. Enabling output buffering typically results in less
; writes, and sometimes less packets sent on the wire, which can often lead to
; better performance. The gain this directive actually yields greatly depends
; on which Web server you're working with, and what kind of scripts you're using.
; - register_argc_argv = Off [Performance]
; Disables registration of the somewhat redundant $argv and $argc global
; variables.
; - magic_quotes_gpc = Off [Performance]
; Input data is no longer escaped with slashes so that it can be sent into
; SQL databases without further manipulation. Instead, you should use the
; function addslashes() on each input element you wish to send to a database.
; - variables_order = "GPCS" [Performance]
; The environment variables are not hashed into the $_ENV. To access
; environment variables, you can use getenv() instead.
; - error_reporting = E_ALL [Code Cleanliness, Security(?)]
; By default, PHP suppresses errors of type E_NOTICE. These error messages
; are emitted for non-critical errors, but that could be a symptom of a bigger
; problem. Most notably, this will cause error messages about the use
; of uninitialized variables to be displayed.
; - allow_call_time_pass_reference = Off [Code cleanliness]
; It's not possible to decide to force a variable to be passed by reference
; when calling a function. The PHP 4 style to do this is by making the
; function require the relevant argument by reference.
;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;
; Enable the PHP scripting language engine under Apache.
engine = On
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = Off
; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = On
; Allow ASP-style <% %> tags.
asp_tags = Off
; The number of significant digits displayed in floating point numbers.
precision = 14
; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
y2k_compliance = On
My first ever post on WHT and I am happy its a positive one. These are a few words I have to say in favor of people at LimestoneNetworks.
I ordered a Intel Core2Quad Q6600 dedicated server with them with upgrading most of the resources to the topmost at about 6 AM CST this Friday. They recently included a Fraud Check in their TOS which I was not aware of but only became notified once I had signed up. It involved uploading the CC images and a Govt ID.
Btw: their new control panel Rockware actually Rocks !
I uploaded the docs promptly and since chat was offline I called them up and got connected with a Support rep. He told me that a Sales rep will check on it at 8 AM CST. At 8 AM, one of the sales rep promptly acknowledged the ticket for verification and it had the comments of a 24-hour turnaround, which scared me a little.
Wonder ! Wonder ! Since all my stuff was verifiable and without any issues... I got reply within 20 mins stating my server was being sent for provisioning.
Another wonder ! another 20 mins and my server was showing the server in my Rockware CP as being built. I was pressing F5 like crazy and everytime I saw something new in my CP regarding my server. Which is like the most rapid updates I have seen ever !
Overall, even after the verification delay, I got my server in 4 hours !
Subsequently I had to open some tickets to them for issues that were from my side and 100% (yes 100%) of the time, someone responded within 5 mins.
Hoping to post a similar (if not more) positive review after couple of months.
<<signature to be set up in your profile>>
how long an average a dedicated server from CoreNetworks.net takes?
I need a solution by tonight and I thought if I ordered it early this morning (1 AM) that it would be up by midnight, but not yet.
I've run a pure-ftpd-server privetley and haven't bothered to chroot the enviroment since I only used it myself when I needed files remotley. Now on request of my school and work buddies I've started hosting a website which they are to manage and through my ftp-server add / remove the site's different files.
I know how to start it with chrooted enviroment but everytime I reboot it, which I usually don't need to anyway, it starts unchrooted so I manually have to kill the ftp-daemon and start it with my customised parameters.
Is there a way to change the init.d/pure-ftpd-conf or something to start with my customised options? i.e with the chroot-option turned on.
I am very interested in getting in the web hosting business and have been investigating a lot in the internet. My question is what would be the recommended hardware to start, taking in consideration the costs.
What processor?
How many cores 1,2 4...?
How many RAM?
I was thinking 2 250 GB SATA drives in RAID 1.
I have a perl shell script usr/bin/ken.pl
this script need to run whenever the server starts and must never stop running,
I am currently starting it as follows
./nohup /use/bin/ken.pl
does anyone know how to make this script at startup?
I have 2.4.3 (Win-64) installed and running. When it starts up, I get a command prompt window that has messages in it, but the window closes so quickly, I can't read the messages. They don't appear in the log. I have tried to manually start the server, but when I do, the messages do not appear!
How can I get that window to stay open or where can I see those messages?
I have supybot, and I want to make it startup at bootup, in the background. The command is
supybot some.conf
Anytime I reboot I want it to do that, but as a background process,
to have assp run on system startup, since my server seems to be suffering from random reboots.
I need to run the command perl /usr/share/assp/assp.pl when the system turns on, so that it will receive mail and I can send mail..
I am troubleshooting a problem where the php5 package was replaced and caused lots of psa/plesk packages to be removed. This system details are;
# cat core.version
11.5.30 Ubuntu 12.04 115140407.17
# lsb_release -a
Description: Ubuntu 12.04.2 LTS
Codename: precise
# uname -a
Linux my.host.name 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
The plesk panel is up, the websites are running, and the email services are running, but there are many errors like so;
==> error.log <==
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so' - /usr/lib/php5/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
I also get the following error when inspecting the json module:
root@vps:/etc/php5/mods-available# php -i|grep -i json
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so' - /usr/lib/php5/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
/etc/php5/cli/conf.d/20-json.ini,
[Code] ....
What I need to install to get that json.so file back?
I have made a fresh plesk 12 install on a cent os 7. all is working fine except the SSL 443 port. on startup the following error message is thrown:
Code:
nginx.service - Startup script for nginx service
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Tue 2015-06-30 17:55:37 CEST; 6min ago
Process: 800 ExecStartPre=/usr/sbin/nginx -q -t (code=exited, status=1/FAILURE)
Process: 797 ExecStartPre=/usr/bin/test $NGINX_ENABLED = yes (code=exited, status=0/SUCCESS)
Process: 788 ExecStartPre=/bin/echo Starting nginx service (code=exited, status=0/SUCCESS)
[code]....
I thought I knew enough about my .htaccess stuff to do this, but I can't seem to work it out. What I want to do is if a user visits domain.com/folder, we check to see if the folder exists. If so, show as normal (IE domain.com/support)
If a user visits domain.com/dynamicusername (dynamicusername is not a physical folder), redirect to dynamicusername.domain.com
using a guide found at: [url]
I installed freenx and the client on the server, then downloaded the client on my windows pc.
The Server is running CentOs 5.0, cpanel 11, and I also had GNOME installed.
The problem is, I don't think GNOME is setup, or running.
When Connecting I get this:
Quote:
"NX> 203 NXSSH running with pid: 5812
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 72.223.50.10 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.5.0-60 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: crewxp
NX> 102 Password:
NX> 103 Welcome to: 10.40.213.72.static.reverse.ltdomains.com user: crewxp
NX> 105 listsession --user="crewxp" --status="suspended,running" --geometry="3840x2400x32+render+fullscreen" --type="unix-gnome"
NX> 127 Sessions list of user 'crewxp' for reconnect:
Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: crewxp
NX> 105 startsession --link="adsl" --backingstore="1" --cache="16M" --images="64M" --media="0" --session="CrewXp.com" --type="unix-gnome" --geometry="3840x2400" --fullscreen="1" --kbtype="pc102/en_US" --screeninfo="3840x2400x32+render+fullscreen"
NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX> 700 Session id: 10.40.213.72.static.reverse.ltdomains.com-1000-ABB92BE2A15206F134F0AB649A63DF70
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 3d231db82ebaad182c25969704ceaf15
NX> 702 Proxy IP: 70.241.9.129
NX> 706 Agent cookie: 3d231db82ebaad182c25969704ceaf15
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 0
NX> 1009 Session status: starting
NX> 710 Session status: running
NX> 1002 Commit
NX> 105 /usr/bin/nxserver: line 1190: 31685 Terminated sleep $AGENT_STARTUP_TIMEOUT
NX> 1006 Session status: running
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.
Can't open /var/lib/nxserver/db/running/sessionId{ABB92BE2A15206F134F0AB649A63DF70}: No such file or directory.
mv: cannot stat `/var/lib/nxserver/db/running/sessionId{ABB92BE2A15206F134F0AB649A63DF70}': No such file or directory
NX> 1006 Session status: closed
NX> 1001 Bye.
Killed by signal 15
"
I'm not sure why this is happening, but i think its because gnome isn't configured or something. I just had the server installed, and asked for gnome to be installed.
I've searched for an answer for a week, but no one's came up with anything. I can't start my new server to run my business on without this.
I have Plesk 12 panel on Debian 7 server.
When I try to add service to auto start using command:
# update-rc.d nginx defaults
update-rc.d: using dependency based boot sequencing
I got error:
insserv: warning: script 'kavehost' missing LSB tags and overrides
#
when I find the subscription from the admin side of PPA, if I select "Login as user" I've noticed that it is different from actually logging in as the user - for example - "add domain alias" is missing when I login as a customer - but not as an admin... I need my customers to add their own aliases and manage them - how do I add that feature to the client login side?
View 9 Replies View Relateduse "nobody" is using 2much cpu on my server ... can someone explain me how is this possible ?
[url]
I already have checked
"Prevent the user "nobody" from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)"
In tweak settings.
when I run top command I should see who user are running and I see only my root and no body
2840 mysql 15 0 181m 78m 4568 S 22 1.0 1102:41 mysqld
4078 nobody 16 0 37128 17m 3300 S 5 0.2 0:00.99 httpd
4032 nobody 15 0 37600 18m 3364 S 5 0.2 0:00.35 httpd
3541 nobody 17 0 38200 18m 3300 S 4 0.2 0:00.73 httpd
3598 nobody 16 0 41744 21m 3288 S 4 0.3 0:01.26 httpd
3738 nobody 15 0 39820 19m 3276 S 3 0.2 0:00.63 httpd
4052 nobody 15 0 38436 18m 3376 S 2 0.2 0:01.63 httpd
3428 nobody 15 0 37040 17m 3388 S 2 0.2 0:00.60 httpd
3806 nobody 17 0 38404 18m 3316 S 2 0.2 0:00.70 httpd
4036 nobody 15 0 38408 18m 3300 S 1 0.2 0:00.52 httpd
4072 nobody 15 0 44216 24m 3424 S 1 0.3 0:01.03 httpd
3402 nobody 15 0 38296 18m 3320 S 0 0.2 0:01.05 httpd
3437 nobody 15 0 41632 22m 3616 S 0 0.3 0:01.25 httpd
3505 nobody 15 0 37412 17m 3428 S 0 0.2 0:00.89 httpd
3523 nobody 15 0 41432 21m 3252 S 0 0.3 0:00.30 httpd
3542 nobody 15 0 42720 22m 3388 S 0 0.3 0:00.88 httpd
3581 nobody 15 0 37464 17m 3272 S 0 0.2 0:00.40 httpd
3602 nobody 15 0 38472 18m 3420 S 0 0.2 0:00.31 httpd
3643 nobody 15 0 37788 18m 3308 S 0 0.2 0:00.50 httpd
3644 nobody 15 0 35120 15m 3000 S 0 0.2 0:00.03 httpd
3645 nobody 15 0 41816 21m 3276 S 0 0.3 0:00.52 httpd
3647 nobody 15 0 42908 23m 3408 S 0 0.3 0:01.20 httpd
3723 nobody 15 0 36260 16m 3408 S 0 0.2 0:00.85 httpd
3805 nobody 15 0 37512 17m 3272 S 0 0.2 0:00.44 httpd
4046 nobody 15 0 39596 19m 3284 S 0 0.2 0:01.41 httpd
4567 root 15 0 2452 1224 796 R 0 0.0 0:01.04 top
7826 root 15 0 0 0 0 S 0 0.0 0:06.21 pdflush
10001 root 15 0 12920 8528 1292 S 0 0.1 0:18.65 lfd
1 root 16 0 2060 636 544 S 0 0.0 0:12.09 init
2 root RT 0 0 0 0 S 0 0.0 0:01.15 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.14 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT 0 0 0 0 S 0 0.0 0:00.63 migration/1
6 root 34 19 0 0 0 S 0 0.0 0:00.09 ksoftirqd/1
7 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
8 root RT 0 0 0 0 S 0 0.0 0:01.29 migration/2
9 root 34 19 0 0 0 S 0 0.0 0:00.18 ksoftirqd/2
----------------------
and I can't know who are runing in my server
which user should i use when you doing work on the server? I've been login as root when i need to do work on the server (i know this is really bad.)
Should i create another user to ssh in and when i need to do crital stuff i will use su ?
What groupid should i set this user to?
I am currently looking for a new IP KVM. Right now I use a mix of HP and Raritan KVMs and I'm honestly not super happy with either of them. The main feature I'm looking for is the ability to setup multiple users and only allow them to access certain ports/devices on the KVM.
What would be the best IP KVM to look at for this?
I basically have a script that uses passthru when people login with FTP so it can connect users from multiple interfaces.
Thing is, it uses the default php.ini file so, to get this script to work I have to enable passthru in the default php.ini file, affecting all users with an account. I am currently running SuExec and can change the php.ini file each user uses from httpd.conf. But as far as I am aware the FTP user isn't in httpd.conf.
What user does FTP run under and how can I use a custom php.ini file just for the FTP daemon. Also, as a side note, what are the effects of passthru and can it be used for malicious intent if wanted?
Is it possible to create user aliases on linux?
I have webmin and virtualmin running on my server, but it's set up to create usernames in the form name@domain.tld.
Is it possible to create an alias, say myname that points to myname@mydomain.tld, so that I am able to have certain users to login via SSH using a shorter name?
i want to create a vps for tunnel ip for some user that use socks proxy.
how can i do it ?
our os is Centos
when I tried to reboot my VPS via Hypervm Enterprise I got this error:
===========
Alert: The vps myvps.vm is locked by another user. This would also be because you had interrupted an earlier activity that would take long time to complete. HyperVM has waited 15 seconds for the other process to finish. Please try after sometime.
===========
and memory usage going crazy it's going from 400MB "natural usage level" to 1024MB then the vps and all sites going down.
How to list how many inodes is using some user or all users for a Linix system?
View 4 Replies View Relatedhow i can make an FTP account for my clients to upload files to
but when they upload a file they dont see it after. I want to just make 1 ftp user / pass to give to my clients but after uploading they dont see the file or any other files in the folder.
Maybe a way for the file to auto move to another folder after uploading?
I have CentOS 5.1, and I can create a new user to be added to the wheel, however it will not let me login directly through SSH.
The only way I can login as that user is to su - from the root account. I have checked, and the user is added to the wheel, and it does recognize the password when I su -.
Does anyone know what could be causing this? Is there some mundane step I missed?