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.
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.
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.
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 =...
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.
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?
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.
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.
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."
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?
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).
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.
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.
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".
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.
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$
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.