Server :: Delete A Ftp User On Centos 5?
Jun 11, 2011How can i delete a ftp user on linux server centos 5 ?
View 3 RepliesHow can i delete a ftp user on linux server centos 5 ?
View 3 RepliesI configured LDAP. But added a user mistakenly, how can I delete that user account from LDAP. How to create home directory for LDAP users.......
View 1 Replies View RelatedI want to limit delete of a particular folder in the user's home folder and to restrict any add/change/delete on files in that restricted directory.
/home/myuser
/home/myuser/_protected //no delete
/home/myuser/_protected/1.txt //only read
How can I do that on Ubuntu server?
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 RelatedI accidently deleted /var of my server box on CentOS how can I recover it?
View 6 Replies View RelatedOne of our admins accidentally deleted the adm userin the following way,#userdel -r admi recreated the "user" from the /etc/passwd- & /etc/shadow- files and added to its groupand created the /var/adm directory but is there more that needs to be done ?Lot of files were written, so i have not yet tried debugfs or any file recoverybecause i couldnt get any google info on what adm does.OS Details:CentOS release 5.2 (Final)Can anyone scale the damage that could have occured?
View 5 Replies View Relatedhow can i view/monitor what a user is typing in other terminals in centos?
View 1 Replies View RelatedRecently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?
View 14 Replies View RelatedI have created a ftp user in centos 5,but it got all permissions to delete files in other location,view the entire directory and create any folder in every place. How to deny this permissions to the particular user.And please help me to give permissions only to a specified location given by the root.
View 4 Replies View RelatedI installed Centos 5.5 on a home PC to be used remotely.
All server daemons work fine but only start if the user is logged in.
How do I set the SSH server to start whenever the PC is turned on, rather than when the user is logged in? I read the chkconfig man page online but couldn't find anything.
Plus I put a script in my startup services to be run whenever the computer boots (I'm guessing when the users logs in). How do I go about setting that to run too whenever the system boots instead?
I have a user setup to receive email, which I would like automatically to be sent into a program that I'm writing. Should I be looking into procmail, or is there a shorter way in /etc/mail (for sendmail) to route all of a specific user's email into a program? I don't care whether the emails are ever written into /var/mail. CentOS 5.3, kernel 2.6.18-128.1.6.el5, sendmail 8.13.8
View 5 Replies View RelatedI am currently trying to replace my Windows Server with a CentOS 5.3 box running nfsd for file serving. I have it all up and running however I cant see anyway of securing user access rights to the shares as all you need to access them is just clone the User ID of a user authorized to access the share of any Linux system which seems a bit insecure to me? I was wondering if there was any advice on securing access to server shares in CentOS.
View 2 Replies View Relatedi have a server running on centos5, i have run vsftp and samba, and i need create a user through command line and set your default directory, i can do this through graphic interface, but i need do throug line command.
View 12 Replies View RelatedI just installed a MySQL server but for unknown reason im not able to set a root password.
CentOS 5.4 - 2.6.18-164.9.1.el5PAE
MySQL Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1
# yum install -y mysql mysql-server php-mysql
# service mysqld start
# mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
I am currently running a apache/postfix email service on my server. I am using aliases for two addresses for example:
trscookie@serverone.com
trscookie@secondserver.com
so the emails no matter which domain receives the email trscookie always will receive the email.
However I am unable to work out how to 'reverse' this process, for example.
If i was to go to secondserver.com/webmail I would like the emails to get sent from trscookie@secondserver.com however they are currently all coming from serverone.com. Is it possible to configure this so that it is sent from the correct domain?
Here is my main.cf:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
[Code].....
I work at a small animation studio with a server box running Cent OS. We have no IT guy... I happen to know a little bit of programming so I got assigned to look after this server box. I'm still in the process of learning basic linux using VMware at home at themoment.There are few things requested from me that are really beyond my knowledge at this time and I really need some advise or pointer to get started.Current set up- We have 2 servers. A windows server 2008 and a Cent OS. They don't work together... They are only acting like a central "hard drives" so to speak.
- Cent OS was a new addition to our team. It was recently requested by our client. They set up RSync for us to get files from over sea and they want our file structure to match theirs.- We have 15 work stations. Not set as domain yet. We boot into Windows 7 for projects stored on windows server, and boot into Fedora for projects stored on Cent OS.What I was asked to do- Centralize user accounts. My boss wants both windows and fedora to log in using the same account. What would be the best approach to do this? We want the accounts to be managed via the Cent OS box. Permission to access hard drives on the server should be controlled as well.- Maximize Rsync. This one is really beyond my knowledge. The Rsync process from our clients sometimes doesn't go through. They want to make sure the process works as smooth as possible.
why no matter what email I send to a user I get this error relay1 postfix/local[4023]: 75941291D4: to=<username@domainname.com>, relay=local, delay=0.14, delays=0.07/0.02/0/0.05, dsn=5.1.1, status=bounced (unknown user: "username")
View 2 Replies View Relatedfor create an user I put:
useradd username
passwd username
I am attempting to configure vsftpd to allow anonymous users to PUT files into a shared incoming directory. This would be like a dropbox for my customers. Ideally, the incoming directory's contents would not be viewable by the users.
I believe that refused connection is due to the PAM configuration for vsftpd.
May 4 08:03:16 WSVM-S1-1 sshd[1512]: Invalid user anonymous from xxx.xxx.xxx.xxx
May 4 08:03:16 WSVM-S1-1 sshd[1513]: input_userauth_request: invalid user anonymous
May 4 08:03:16 WSVM-S1-1 sshd[1512]: pam_unix(sshd:auth): check pass; user unknown
[Code].....
I've had a server setup working perfectly for the last 2 years. Today we installed a newer version of postgresql and recompiled apache/php.
Postgresql will not start now.
"service postgresql start" = /var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first. To initdb we need to be as user postgres.
"su - postgres" = "no file or directory"
In /etc/passwd = postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash
how i can login as postgres user and enter these commands?
Running a server using CentOS 5.5 (yum updated, x86_64), found that when using /usr/sbin/useradd to create system user, the quota for the user will default set to 5M soft and 10M hard (on /var/spool/mail partition). As remember the default setting for user quota should be both zero when create a new user.
man useradd and quota related command and no help, had any idea how to change/set the default quota when create user.
I've got Samba server running on CentOS box. Everything works fine when I use "path" parameter, but I think Samba should create /home dirs for clients automatically. It should look like this:
comment = Home Directory of '%u'
valid users = @"Domain Group"
browseable = no
writable = yes
[Code]....
When I explicitly declare "path" param, it works ok. But I need PERSONAL home dir for every user separately, not one dir for everyone.
My all production PC r running under ADC windows2008 server. Recently I implement a file server in CentOS 5. Now I want to integrate Samba (File sharing) using Active Directory so that all access permission to file server comes from AD's permission.
View 2 Replies View RelatedI updated bind to version bind-9.3.4-6.0.3.P1.el5_2 today, and then I started getting "Starting named: named: user 'named' unknown" messages. Selinux is enabled.
ID named shows:
uid=25(named) gid=25(named) groups=25(named) context=root:system_r:unconfined_t:SystemLow-SystemHigh
3 partitions (in order): Windows 7, CentOS and shared data partition.
I need to increase the size of the Windows 7 partition (c:windowswinsxs seems to be something not easily remedied).
GParted didn't work in moving things around (bad sector) so I wiped out its partition (# 2 out of 3) and I was able to increase the size of the Windows 7 partition (I can reinstall CentOS easily and not much work lost).
Except ... no more grub menu (unsurprising). This incantation does allow me to boot into Windows 7.
Is there any way of rebuilding the grub menu short of reinstalling CentOS (5.5)?
i want to authenticate user (client) via switch to the radius server(CentOS)Can anyone tell me the authentication/authorization configuration that should be made in the switch (huawei) and the radius server(centos).Esp. the main files under /etc/raddb/ in the Server& the configuration to be made under the radius server template "test"( as of my case)...
View 1 Replies View RelatedI have installed the Apache Directory Server (ApacheDS) Now I need a iniscript that startining the App as Root, so that it can use the Port 389. After them a unprivileged User (apachds) should run the Service. The same solution I am searching for Glassfish. What can I use for them? RHEL and compatibles doesn't have a start-stop-daemon like Debian.
View 3 Replies View RelatedI am trying to delete the user name I used to originally install Ubuntu. Every time I restart the computer the entry has returned.Is it undeleteable?
View 4 Replies View RelatedI am having a problem with my login labeled "mysql" with the command # groupadd mysql# useradd -g mysql is is of course all within the confines of being super user. What I am having trouble with is that I cannot delete the user through the terminal using the command userdel but to no avail, it states that the user mysql is still logged in even though I have restarted the computer and logged in only to my root account.Whenever I try to log into mysql account it gives me multiple error messages something about the ICE authority and nautilus and when i get past these and onto the home screen, there is nothing, the wallpaper is there but there are no icons and no tool-bars, I cannot shutdown or get to a terminal while on the dysfunctional user. I cannot delete the user because it states I am logged in even though I am not.
View 3 Replies View RelatedI Have Configure Samba server in Centos, I need give permission like for some user(5User) can able to read and write the particular folder, and again i need give some another user(6user) can only read permission for same folder.
View 1 Replies View Related