Sponsored Content
Full Discussion: file permission issue
Operating Systems OS X (Apple) file permission issue Post 302537553 by linuxstuff101 on Friday 8th of July 2011 01:49:06 PM
Old 07-08-2011
file permission issue

-rw-r--r-- 1 root wheel 1676 Jul 8 13:40 group


-rw-r--r-- 1 root wheel 3669 Feb 25 2010 passwd


-r--r----- 1 root wheel 1242 Jan 26 2010 sudoers


I can read group and passwd, but i cant read sudoers.. why?

I am curenttly a staff member.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Setfacl permission issue

My Admin has written a shell script (Filepermission.ksh) with the following commands and provided me 'exeutive' privileges. However, when I try to run the script, I am getting the following error message. Can some one tell me what could be missing? Thank you for your continued support. Script: ... (0 Replies)
Discussion started by: MeganP
0 Replies

2. UNIX for Dummies Questions & Answers

Sudo permission issue

folks; How can i give a group a sudo permission to execute only some command "like start/stop Apache", so every user in that group can sudo to use this as himself, i mean when he tries to sudo, he will be asked for a password (and make it so he must use his own NT password not a generic one) then... (6 Replies)
Discussion started by: Katkota
6 Replies

3. UNIX for Dummies Questions & Answers

File permission issue

Hello All, I receive a file from another server with file permission rw-r--r-- and owner of the file is the sFTP login id and group is also different from my login id. Due to this I cannot move the file from and also cannot do anything on it. Can anyone help on how to change the file... (2 Replies)
Discussion started by: maddy911
2 Replies

4. Shell Programming and Scripting

permission issue to move file

We have a script which will move the files from the each user home directory to other location to process the file in the server. The users put files in their home directory using FTP and the user home dir have 775 permission so the the application user can move the files from the home path to... (11 Replies)
Discussion started by: GIC1986
11 Replies

5. Shell Programming and Scripting

issue invoking shell script using cron, even with proper file permission

I am using tcsh what could possibly be a problem, when using crontab to invoke a shell script. ? The script has the read, write and execute permission to all users. And the script works as expected while executing it in stand-alone mode. Is there a way to trace (like log) what error... (9 Replies)
Discussion started by: vikram3.r
9 Replies

6. Shell Programming and Scripting

permission denied issue

hello I m trying to enter in a folder through my script but getting permission denied error .. Is there any command or somthing else so that i can access these folder through my script. (3 Replies)
Discussion started by: urfrnddpk
3 Replies

7. HP-UX

Permission Issue on HP-UX

Good day guys, I am very new in UNIX and am trying to install an application which uses an application ID that requires administrative privileges (Full control). In most cases, we use SUDO to grant access to this ID however the customer insisted NOT to use SUDO and Root ID is not to be used to... (1 Reply)
Discussion started by: mcdsweet98
1 Replies

8. UNIX for Dummies Questions & Answers

Puzzling permission issue

I have a file, the long listing output by 'ls -l' is -rw-r--r-- 1 usera agroup 1246 Jul 7 14:44 temp.R The file is under a Solaris ZFS file system. As a different user (userb), I did cp temp.R /tmp ls -l /tmp/temp.R -rw-r--r-- 1 userb agroup 1246 Nov 16 14:45 /tmp/temp.R ... (14 Replies)
Discussion started by: nugulus
14 Replies

9. AIX

Permission Issue

Hi Team, I am using AIX 6.1 version. I have two log id IDs say (user1 and user2) Both users primary group is same. ex (group1) I have created directory called /logs/app using user1 and permissions are like below /logs ------ drwxrwxr-x /logs/app ----- drwxrwxrwx But all the process... (3 Replies)
Discussion started by: balasubramani04
3 Replies

10. UNIX for Advanced & Expert Users

Automount permission issue

Hi all, I am running CentOS6.3 and NFS is giving me a real hard time here: on my server a folder called /networkh has created with 777 permissions. I have setup NFS server on this server and it is supposed to serve a network. On my client machine I configed my auto.master: /nethome... (1 Reply)
Discussion started by: bashily
1 Replies
mh-alias(4)						     Kernel Interfaces Manual						       mh-alias(4)

NAME
mh-alias - Alias file for MH message system DESCRIPTION
Aliasing allows you to send mail to a person or group of persons without typing their complete mail address. Both your MH personal alias file and the system alias file for mail delivery, /usr/lib/mh/MailAliases, process aliases in the same way. You can specify the name of your personal alias file in your .mh_profile. A line of the alias file can have the following formats: alias : address-group alias ; address-group < alias-file The first line of the example is the standard format. The alias appears at the start of the line, followed by a colon, followed by the address or addresses that it represents. If the alias is terminated with a semicolon (;) instead of a colon (:), the mail system outputs both the alias and the address-list in the correct format. If the line starts with a <, the file named after the < is read for more alias definitions. The reading is done recursively, so a < can occur in the beginning of an alias file with the expected results. Addresses can be expressed in the following formats: alias: address1, address2, address3, ... alias: <file alias: =group alias: +group alias: * Addresses are normally given in a list, separated by a comma and one or more spaces. If the list goes over one line, you can create a con- tinuation line by placing a back-slash () immediately before the new-line character. If the address-group begins with a <, the file named after the < is read and its contents added to the address list for the alias. If the address-group starts with an =, then the file /etc/group is consulted for the group named after the =. Each login name occurring as a member of the group is added to the address list for the alias. If the address-group starts with a +, then the file /etc/group is consulted to determine the group-id of the group named after the +. Each login name occurring in the /etc/passwd file whose group-id is indicated by this group is added to the address list for the alias. If the address-group is simply *, then the file /etc/passwd is consulted and all login names with a user-id greater than a given number (usually 200) are added to the address list for the alias. Aliases are resolved at posting time in the following way. A list of all the addresses from the message is built and duplicate addresses are eliminated. If the message originated on the local host, then alias resolution is performed for those addresses in the message that have no host specified. For each line in the alias file, aliases are compared against all of the existing addresses. If there is a match, the matched alias is removed from the address list, and each new address in the address-group is added to the address list, if it is not already on the list. The alias itself is not usually output; the address-group that the alias maps to is output instead. However, if the alias is terminated with a semicolon (;) instead of a colon (:), both the alias and the address are output in the correct format. This makes replies possible, because in MH aliases and personal aliases are unknown to the mail transport system. MH alias files are expanded into the headers of messages posted. This aliasing occurs first, at posting time, without the knowledge of the message transport system. In contrast, once the message transport system is given a message to deliver to a list of addresses, for each address that appears to be local, a system-wide alias file is consulted. These aliases are not expanded into the headers of messages delivered. An alias file must not reference itself directly, or indirectly through another alias file, using the <file construct. Using Aliasing To use aliasing in MH, you need to set up a personal alias file. It can have any name, but it is usually called aliases, and is usually located in your Mail directory. To set up the file, you need to perform the following steps. First, add the following line to your .mh_profile: Aliasfile: aliases If you have chosen a different name for your file, you should use this instead of aliases. If your file is in a directory other than your Mail directory, you must supply the full pathname. Next, create the file aliases in your Mail directory. You can now start to add aliases to your aliases file. EXAMPLES
This section gives an example of an alias file, followed by an explanation of the entries: sgroup: fred, fear, freida fred: frated@UCI work-committee: <work.aliases staff: =staff wheels: +wheel everyone: * On the first line of the example, sgroup is defined as an alias for the three names frated@UCI, fear, and freida. On the second line of the example, fred is defined as an alias for frated@UCI. Next, the definition of work-committee is given by reading the file work.aliases in your Mail directory. The alias staff is defined as all users who are listed as members of the group staff in the /etc/group file. The alias wheels is defined as all users whose group-id in /etc/passwd is equal to the group wheel. Finally, the alias everyone is defined as all users with a user-id in /etc/passwd greater than 200. FILES
/usr/lib/mh/MailAliases System alias file. $HOME/.mh_profile Your user profile. RELATED INFORMATION
ali(1), send(1), whom(1), group(4), passwd(4), mh_profile(4), mtstailor(4), conflict(8), post(8) delim off mh-alias(4)
All times are GMT -4. The time now is 04:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy