Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Possible to give sudo access to subdirectories? Post 302178939 by era on Wednesday 26th of March 2008 03:47:47 PM
Old 03-26-2008
sudo is mainly a facility for controlling access to commands. Can't you give those directories a specific group and then add your guy to that group? That sounds a lot less dangerous, unless he really needs to be able to respawn init(8) in that particular directory (just to make a point).
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

find . but not access subdirectories

Hello, I'm trying to figure out how to prevent this find command from accessing this diretories's subdirectories! I tried the maxdepth and prune but they don't seem to work on SUN. So now i'm trying to set up a nawk command to not process any files that have "REVISED" in there name: find... (3 Replies)
Discussion started by: bobk544
3 Replies

2. UNIX for Dummies Questions & Answers

How do I give Java developers access to Solaris server

I am new to UNIX administration. I have 10 years of Windows admin experience. I need to know how to give java developers the access they need to install and maintain the applications they are writing. In the Windows world I would make them a local admin on a test server but give them limited... (4 Replies)
Discussion started by: gsander
4 Replies

3. UNIX for Advanced & Expert Users

How to give FTP access to a single user

Hi all, How can i give ftp access to single user on solaris9 system? others should not have the ftp access. i know about ftpusers file in /etc/ftpd but still what about if so many new users are created daily? And now for that single user how can we restict him to ftp the files only from... (2 Replies)
Discussion started by: santhoshkumar_d
2 Replies

4. UNIX for Dummies Questions & Answers

Possible to give non root user sudo to "crontab -l"

Does anyone know if this is possible? I want to give some users access to root's crontab but only with a read privilege. Is this possible to do or can only root or people with full root sudo view root's cron? (4 Replies)
Discussion started by: LordJezoX
4 Replies

5. SCO

how to give Telnet access

Hello, I have recently taken over administration of a Sco Unixware server (Version 7.1.4), but have no previous experience with Unix. I now have the following problem: Most computers on the network are unable to Telnet to the Unix server but some PCs with privileged users can, which is... (7 Replies)
Discussion started by: nicke75
7 Replies

6. Shell Programming and Scripting

ONLY SU Sudo access

Hello All, I want to create a script that will do ONLY su to any user on the server with hpadmin login using sudo. Can anyone let me know how can it do it. Regards Ankit (1 Reply)
Discussion started by: ajaincv
1 Replies

7. Solaris

How to give sudo entry in .profile file in Solaris?

Hi all, In Solaris , What entry should I add in my .profile file in home directory so that every time I don't have to give Sudo's full path like /usr/local/bin/sudo as well as /usr/sbin/ping and it will be Great help if you could tell me how to know what should be added. Please Advice.... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

8. Solaris

How to give sudo access to the personal id's to that of application id in Solaris 10?

Hi, I am using solaris 10. Requirement is I need to give sudo access to the normal id's to the application userid. Example:I have an personal id calle "rzynv5" on the solaris server.I have an application id called "gmdidp".Requirement here is when user logged in as rzynv5 next thing he... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

9. Shell Programming and Scripting

Script to give a user sudo permissions

Can some one please let me know a script which gives the user sudo permissions? Thanks in advance.... (6 Replies)
Discussion started by: Revanth547
6 Replies

10. Shell Programming and Scripting

How to give full access to output files created by .sh script run via crontab?

Hi Expert, I have a .sh script in my home/new_dir/script.sh This script creates number of output files at home/new_dir/email, home/new_dir/logs dir. I am running this script using crontab (owner root). Now this output files are getting created with rw-r----- 1 root root So if i... (2 Replies)
Discussion started by: Jeet1982
2 Replies
ftpgroups(4)															      ftpgroups(4)

NAME
ftpgroups - FTP Server enhanced group access file SYNOPSIS
/etc/ftpd/ftpgroups The ftpgroups file contains the enhanced group access information. After login, if the ftpaccess(4) file includes private yes, the user may use the SITE GROUP and SITE GPASS commands to specify an enhanced access group and a password for that group. If the access group name and password are valid, the FTP Server executes setegid(2) to make the user a member of the real group listed in the ftpgroups file. The format for the ftpgroups file is: accessgroup:encrypted_password:real_group_name The fields are defined as follows: accessgroup An arbitrary string of alphanumeric and punctuation characters. encrypted_password The group password encrypted exactly like in /etc/shadow. real_group_name The name of a valid group returned by getgrnam(3C). The privatepw utility is an administrative tool to add, delete and list enhanced access group information in the ftpgroups file. See pri- vatepw(1M). Lines that begin with a # sign are treated as comment lines and are ignored. /etc/ftpd/ftpgroups /etc/ftpd/ftpaccess See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWftpr | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ in.ftpd(1M), privatepw(1M), setegid(2), getgrnam(3C), ftpaccess(4), group(4), shadow(4), attributes(5) 1 May 2003 ftpgroups(4)
All times are GMT -4. The time now is 02:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy