CentOS 5 :: Add A User In A Initscript?

Sep 16, 2010

For the RED5 Server is a Initscript available. But with this script the service runs as root. I am a novice with Scripting

#!/bin/bash
# For RedHat and cousins:
# chkconfig: 2345 85 85
# description: Red5 flash streaming server
# processname: red5

[code]....

View 3 Replies


ADVERTISEMENT

Debian Configuration :: Can't Find Dhcp Initscript On 6

Mar 4, 2011

I have installed dhcp3-server via apt-get install dhcp3-server, but I couldn't find any initscript. So, how can I start and stop it properly ?

For now , I have added "dhcpd" line in rc.local.

View 2 Replies View Related

Server :: Creating An Initscript That Chkconfig Identifies?

Aug 31, 2010

I'm on a CentOS server and for the past hours I have been trying to unsuccessfully make a script that will start a binary and keep it running if anything goes wrong with it.

This is what I have:

Code:
#!/bin/bash
# counter daemon
# chkconfig: 345 20 80
# desc: counter daemon

[Code]...

Does anyone know how I can make the script start my application?

View 7 Replies View Related

Slackware :: Setting Nofile Kernel Parameter Using Initscript

Jul 20, 2011

I'm trying to increase hard and soft limit of nofile kernel parameter by putting the following initscript into /sbin

Code:
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
# Increase the hardlimit for open files

[Code].....

But the limits still don't change as if the script is not run during startup.

View 5 Replies View Related

Networking :: User Internet In Centos 5 Using User Name And Password?

Oct 27, 2009

I windows xp. I install vmware on it and install centos 5. Now how to use internet in centos 5 using user name and password. Our internet provider give us user name and password.

View 1 Replies View Related

CentOS 5 Server :: View/monitor What A User Is Typing In Other Terminals In Centos?

Mar 11, 2010

how can i view/monitor what a user is typing in other terminals in centos?

View 1 Replies View Related

CentOS 5 :: Creating New CentOS 5.4 User With Specific Privilege?

Mar 23, 2010

I am looking to create a user to be able to do WinSCP or SSH into the system and only be able to see /var/www/html/joomla/ and that is it. I don't want them to be able to start or stop service but be able to upload and download files to the specific directory or change privileges of the mentioned directory. Is that possible? what commands should I run.

View 1 Replies View Related

CentOS 5 :: CentOS 5.5 To Run Startx As User?

Jun 24, 2010

Problem: The user wants to execute startx gets error message:[Tester @ asparanoix64 ~] $ startxxauth: creating new authority file / home/tester/.serverauth.17457Fatal server error:PAM authentication failed, can not start the X server.Perhaps you have not the console ownership?Question:How can I add a user to be able to run the X server?For debian / ubuntu is declared in the file / etc/X11/Xwrapper.config by assigning the following options: allowed_users =...

View 3 Replies View Related

CentOS 5 :: Gdm User Does Not Exist?

Nov 6, 2009

In my system(CENTOS) displays the "gdm user does not exist". I cannot typing any word except username and password. Try all virtual terminal but failed. and also try to connect the ssh but I can't.

View 1 Replies View Related

CentOS 5 :: Adding User To SSH ?

Jul 13, 2010

I've created a new user on the system and can login to the server with SFTP but can only add/remove files in the users folder and nowhere else on the server.

I've tried adding

AllowUsers username to sshd_config but that made no difference?

View 6 Replies View Related

CentOS 5 :: How To Create Ftp User Id

Aug 3, 2010

now how can i create ftp user id and password and allow them to access only specific directory under the wwwhtml directory.

ftp-0.17-35.el5
vsftpd-2.0.5-16.el5_4.1
lftp-4.0.5-1.el5.rf

actually i am having three different user and i want them to allow three different directory under www/html/user1 www/html/user2 www/html/user3

View 6 Replies View Related

CentOS 5 :: Allow A User To Chmod Via FTP?

Sep 29, 2010

I've got a Centos server setup as a web server and have no problems doing anything from the command line. Some users need to connect via FTP, and need to be able to chmod files and directories as they please. I've been able to allow the users to connect to the web directory via FTP, but can't work out how to allow them the ability to chmod anything within the folder. The files were originally uploaded by root user, however I want any user connecting via FTP to be able to edit permissions as they please.

View 1 Replies View Related

General :: Create User For CentOS W/ Ssh?

Oct 22, 2010

I've got a remote server running CentOS and I require a new user account who would have access to sftp & ssh functions.I've got a bit of a problem creating the user since whenever I try to login with the new account through ssh (putty) I keep getting access denied.I've made different accounts with userids above /below 500; even though I'm a complete noob so no idea how I'm supposed to go about this.

View 6 Replies View Related

General :: Create Ftp User Id In Centos?

Aug 1, 2010

i wan to create ftp user id and password in centos , so that i can provide access to various director in www folder.

View 7 Replies View Related

Server :: Delete A Ftp User On Centos 5?

Jun 11, 2011

How can i delete a ftp user on linux server centos 5 ?

View 3 Replies View Related

CentOS 5 :: User Database Cannot Be Read?

Mar 21, 2009

This situation after a mains power failure took server down.Log oonto server with root, go to Admin > users and get this message:" The user database cannot be read. This problem is most likely caused by mismatch between /etx/password and /etc/shadow or /etc/group and /etc/gshadow. The program will exit now."

View 2 Replies View Related

CentOS 5 :: Create A Super User?

May 16, 2009

I understand how to create a super user, but I do not understand how to create a password for that user. Can someone tell me how to please? Also when do I do this? Logged in as who?

View 1 Replies View Related

CentOS 5 :: Specific Uid And Gid For Default User

Jul 9, 2009

Because I keep a lot of data on a Netgear ReadyNAS which can be presented as a NFS server, I would like to have the default CentOS user have a uid and gid that match those for the user that owns the main NFS share. That way I can treat it as if it were a directory that I owned on the local machine. I'm probably going to install CentOS 5.3 over again to get a totally clean system. What is the neatest way to ensure that the default user has the desired uid and gid? Or is there a better way to work with the NAS? (Right now I'm running it with CIFS shares, but these are quirky and do not behave quite like a local file system, I'm hoping that NFS would be more consistent, but previously attempts to run NFS were hampered by different uid and gid values).

View 1 Replies View Related

CentOS 5 :: Adding User To System?

Aug 6, 2009

I've been trying to add a user to the system, so I can use it through samba to access the shares on the server. I'm using "useradd" but the command is not found... with a little search, I was able to find the command "/usr/sbin/useradd username" my question is can someone point me to a guide with basic administration task, I was checking out the wiki on Centos, but didn't find "adding user"; I know Centos has a gui for this, but I would like to stick to shell commands. By the way why some commands are only access through /sbin and others /usr/sbin. I know this probably has to do with your path, but how can I fix this so I don't have to type the whole path every time.

View 1 Replies View Related

CentOS 5 :: How To Create Nologin User

Oct 9, 2009

I want create no login ssh user for ssh tunnel with ssh.

View 4 Replies View Related

CentOS 5 :: Keybaord Not Working In X For One User?

Nov 10, 2009

I have about 30 regular user profiles on my system all of which are identical, except yesterday the keyboard stopped working for one when the user starts X both KDE and Gnome, seems like it dosen't even detect the keyboard as num/caps lock light is no longer on. It works on the command line just fine though. Was working fine Friday, no settings were changed at all over the weekend just stopped working come Monday morning.

Works for all the other users on the system. I've reset his profile from the /etc/skel directory still won't work.It's a network login through NIS so tried it on several machines (Centos5.3, Centos5.4, Fedora8, Fedora10, Fedora11 )throughout the building, no difference.Tried USB and PS2 keyboards, tried unpluggin it and pluggin back in during X see if it would detect it that way, tried running system-config-keyboard before logging in as this fixed a similar problem I've had before.Read similar stories where it was a setting in xorg.conf but i haven't tried these yet as the xorg.conf is machine specific (to my understanding) and the problem seems to be user specific.

View 2 Replies View Related

CentOS 5 :: Non Interactive User - Account Currently Not Available

Jan 11, 2010

I'm still quite wet behind the ears with CentOS/Unix. What I'm trying to do is to setup a non interactive user, where I login with an interactive user and su to the non interactive. I have set the non interactive with /sbin/nologin (through the GUI), but when I login with the interactive user and su to the non interactive user I get the following:
"This account is currently not available".

View 5 Replies View Related

CentOS 5 :: Set Up User Name And Pass For A Folder?

Jun 21, 2010

I have big folder I want to send it to my friend because it is over 20MB I can't send it by email so I want to put it on my website in a folder any time he wants to access it he should put uer name and passwod.I am completly new in that kind of stuff please let me know if any one know how to do it.

View 3 Replies View Related

CentOS 5 :: How To Kill A Tty / Pts User Session

Jul 22, 2010

is there a way to kill a pts/* or tty* user session from comman line, without knowing its process id.

View 1 Replies View Related

CentOS 5 :: Set Global Alias For All User?

Jul 23, 2010

How to set global alias for all user

View 3 Replies View Related

CentOS 5 :: Adding User More Than 30 Character?

Aug 9, 2010

Unable to add user name which contains more than 30 character in Centos 5.4. how to add user more than 30 character.

View 2 Replies View Related

CentOS 5 :: Use SCREEN To Pry On A Logged In User?

Jun 12, 2011

I want to give root access to someone for remote management but I want to see whatever they are typing. Can I use screen for that?

Do I have to tell them to use screen as well? or can I simply pry on the session?

View 6 Replies View Related

CentOS 5 :: Adding A User With Options?

Jul 8, 2011

I am adding a user with these options:

usernamen: evarie
path to home : /home2/evarie2
shell : same as standard users and root
group : evarie

How can is see all options i did choose? What is the default shell in CentOS? With which command can i see which shell i use now? becaus my new user have these wrong shell: -bash-3.2$

View 5 Replies View Related

CentOS 5 :: FTP User To Access To Root?

Jul 19, 2011

Hey I have made a user so that he is able to access my ftp files though filezilla.

However he does not have access to the root folder. How can I edit this?

View 2 Replies View Related

CentOS 5 :: Allow One User To Reboot System Only?

Sep 8, 2011

I was wondering if anyone knew how to add a user/pass and allow them to issue the reboot command. Ideally, I dont want them to be able to see files/directories or anything else for that matter.I was thinking something along the lines of a chroot jail that has a single script that would call the reboot.

View 2 Replies View Related







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