Sponsored Content
Operating Systems Linux Red Hat How to add a new users in proftpd server? Post 302784261 by verdepollo on Thursday 21st of March 2013 09:34:31 PM
Old 03-21-2013
If your filesystem supports it, you can also use ACLs to granulate user access to specific files/folders.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Migrating all users from one linux server to another...

Hello, I've been tasked with migrating users from one linux server to another new linux server. This is how I was thinking of doing it: 1.) Open up an NFS connection between the two servers, cp -Rp /home/ to the new server and then append the old /etc/group & /etc/passwd to the existing... (2 Replies)
Discussion started by: vancouver_joe
2 Replies

2. UNIX for Advanced & Expert Users

Add users on OSX server with SSH

Hi Is it possible to add users on a Mac OSX server from a unix system with ssh? If it is what file to alter? brg Nicke (3 Replies)
Discussion started by: nicke30
3 Replies

3. UNIX for Dummies Questions & Answers

Users locked out of Server

hiya all, I have Fedora core 3 installed - as a server - onto an old PC. Root u/n and psw lets me in However, all the other accounts no longer worked. They use to work until yesterday... I now get the error at the login screen: "AUTHENTICATIONFAILED" I hope this is a common... (12 Replies)
Discussion started by: marty 600
12 Replies

4. UNIX for Advanced & Expert Users

2 users on the same server (rexec)

Hi, all. Could some one help me please with one problem? In one process (on aix) I should run some remote scripts on other server via rexec. Some scripts should be run on server1 under useridA, and some scripts should be run on the same server under useridB. I specified in .netrc... (10 Replies)
Discussion started by: Anta
10 Replies

5. Red Hat

when users ftp to server the timezone reflected is UTC but the server is set to TZ in localtime

Guys, Need your help coz my server runs in local time GMT +8, but when client use ftp and login, the resulting timestamp seen in each file is in UTC format. We need to set that the time should be the same as GMT +8 when in ftp session. I am using RHEL 5.3. root@]# ll total 1740... (2 Replies)
Discussion started by: shtobias
2 Replies

6. Linux

users can't sftp into my server

I am running a fedora core 13 server and I am having trouble with sftp. My users can connect to the server using SSH both using public key and password authentication. For some reason they are not able to connect using sftp. I'l not sure what's going on. I ran sshd in debug mode and here's... (6 Replies)
Discussion started by: emildiego
6 Replies

7. UNIX for Advanced & Expert Users

Sending Messeges To Users on a Server

I am in the process of doing testing on a backup script that will backup everyones home directories. When I run a "who" I can see the users that are logged on. How can I send these users, let say an instant message other then email to alert them that I am about ready to kick of a test backup? I... (3 Replies)
Discussion started by: metallica1973
3 Replies

8. Shell Programming and Scripting

Redirecting Users to New Server

I am new to shell scripting. I urgently need a script on a backup server that will ping the main server to check if the server is up. If the main server is down- the script should transfer the IP of the main server to the backup server. Once the main server is up again the backup server will... (7 Replies)
Discussion started by: sanmiogun
7 Replies

9. Red Hat

Script for Creating more users like 50 in one server

Hi friends could you please share me the script to create more users in one server except newusers, is there any option to change secondary group and how to print passwd and changing the age all these things how can i edit in newsers.. please help me (0 Replies)
Discussion started by: indiankrish
0 Replies
CHACL(1)						       Access Control Lists							  CHACL(1)

NAME
chacl - change the access control list of a file or directory SYNOPSIS
chacl acl pathname... chacl -b acl dacl pathname... chacl -d dacl pathname... chacl -R pathname... chacl -D pathname... chacl -B pathname... chacl -l pathname... chacl -r pathname... DESCRIPTION
chacl is an IRIX-compatibility command, and is maintained for those users who are familiar with its use from either XFS or IRIX. Refer to the SEE ALSO section below for a description of tools which conform more closely to the (withdrawn draft) POSIX 1003.1e standard which describes Access Control Lists (ACLs). chacl changes the ACL(s) for a file or directory. The ACL(s) specified are applied to each file in the pathname arguments. Each ACL is a string which is interpreted using the acl_from_text(3) routine. These strings are made up of comma separated clauses each of which is of the form, tag:name:perm. Where tag can be: "user" (or "u") indicating that the entry is a user ACL entry. "group" (or "g") indicating that the entry is a group ACL entry. "other" (or "o") indicating that the entry is an other ACL entry. "mask" (or "m") indicating that the entry is a mask ACL entry. name is a string which is the user or group name for the ACL entry. A null name in a user or group ACL entry indicates the file's owner or file's group. perm is the string "rwx" where each of the entries may be replaced by a "-" indicating no access of that type, e.g. "r-x", "--x", "---". OPTIONS
-b Indicates that there are two ACLs to change, the first is the file access ACL and the second the directory default ACL. -d Used to set only the default ACL of a directory. -R Removes the file access ACL only. -D Removes directory default ACL only. -B Remove all ACLs. -l Lists the access ACL and possibly the default ACL associated with the specified files or directories. This option was added during the Linux port of XFS, and is not IRIX compatible. -r Set the access ACL recursively for each subtree rooted at pathname(s). This option was also added during the Linux port of XFS, and is not compatible with IRIX. EXAMPLES
A minimum ACL: chacl u::rwx,g::r-x,o::r-- file The file ACL is set so that the file's owner has "rwx", the file's group has read and execute, and others have read only access to the file. An ACL that is not a minimum ACL, that is, one that specifies a user or group other than the file's owner or owner's group, must contain a mask entry: chacl u::rwx,g::r-x,o::r--,u:bob:r--,m::r-x file1 file2 To set the default and access ACLs on newdir to be the same as on olddir, you could type: chacl -b `chacl -l olddir | sed -e 's/.*[//' -e 's#/# #' -e 's/]$//'` newdir CAUTIONS
chacl can replace the existing ACL. To add or delete entries, you must first do chacl -l to get the existing ACL, and use the output to form the arguments to chacl. Changing the permission bits of a file will change the file access ACL settings (see chmod(1)). However, file creation mode masks (see umask(1)) will not affect the access ACL settings of files created using directory default ACLs. ACLs are filesystem extended attributes and hence are not typically archived or restored using the conventional archiving utilities. See attr(5) for more information about extended attributes and see xfsdump(8) for a method of backing them up under XFS. SEE ALSO
getfacl(1), setfacl(1), chmod(1), umask(1), acl_from_text(3), acl(5), xfsdump(8) September 2001 ACL File Utilities CHACL(1)
All times are GMT -4. The time now is 03:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy