Sponsored Content
Operating Systems AIX AIX: How to check which authentication method we are using for a user? Post 302354025 by balaji_prk on Wednesday 16th of September 2009 11:19:25 PM
Old 09-17-2009
I don't quiet understand the exact motive behind this..

"NONE" is an invalid parameter for SYSTEM, hence it will fall back to the default SYSTEM defined in the same file.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Any simple method to check date format (YYDDD)?

Hi Guru's, Are there any simple method to check the date format which is in "YYDDD" (ex: 08002 for 02-Jan-2008)? Eventhough this can be implemented in several way's, I need the simpler one. Any idea would be much appreciated. Thanks in advance, Mysore Ganapati (4 Replies)
Discussion started by: ganapati
4 Replies

2. AIX

AIX and radius authentication

We want to use RADIUS to authenticate our AIX server logins. Can anybody tell me how to set on AIX server up to use a Radius server to authenticate or point me to documentation on setting up AIX to use Radius to authenticate user login. Our problem is that we have a few users that access our... (1 Reply)
Discussion started by: daveisme
1 Replies

3. Solaris

Identify which authentication method was used at logon

Experts, Is there any way to know which authentication method the user used to login into the box? I mean, is possible to identify if an active user had logged using keys or password for example? Let me clarify: we have a script that we want to allow users to execute only if they have used... (2 Replies)
Discussion started by: fmattos
2 Replies

4. Solaris

Check Installation Method used to install solaris 10

Is there any way i can check if the solaris server was build using jumpstart or normal cd installation .. though i can get the info from install_log but it only shows it was build from flash archive .. but does not give info regarding cd+flash, or jumpstart+flash .. (0 Replies)
Discussion started by: fugitive
0 Replies

5. Shell Programming and Scripting

Script to check if host key authentication is setup

Hey all, I have a script that I use for some automated installs. Unfortunately for the script to work the server that it's running from needs to have host-key authentication setup to the target server. If it isn't setup beforehand and the script is executed the install partially completes and... (1 Reply)
Discussion started by: Rike255
1 Replies

6. UNIX for Advanced & Expert Users

best method to compress files in aix 5.3

Good morning, I have a file that is 200 MB and I want to compress it to the fullest, which is the best method or command to compress files in aix? Thank you very much and best regards. (8 Replies)
Discussion started by: systemoper
8 Replies

7. IP Networking

Cygwin remote ssh with key authentication method

Hi experts, I am not sure in which forum to submit this question. If this is not the correct place then please let me know where to submit this thread. My requirement is to invoke windows batch scripts from linux shell script. Hence, I have installed openssh in Cygwin on the windows machine.... (2 Replies)
Discussion started by: ahmedwaseem2000
2 Replies

8. Cybersecurity

Looking for suggestion on authentication method for UNIX/Windows

Hello, We have mid level infrastructure of all on-premises servers. All windows servers are getting authenticated by Microsoft Active Directory Services, half Unix (Solaris+Linux) servers are getting authentication by NIS and other half by LDAP. We have plans to migrate from NIS to LDAP, so... (2 Replies)
Discussion started by: solaris_1977
2 Replies

9. AIX

Best method to encrypt AIX LTO6 tape backups?

Hello, I need to be able to encrypt LTO tapes that our AIX writes to for backups. We have a tape library (IBM TS3100) that our AIX host uses to write to LTO6 tapes. We then take those tapes off-site and restore to another AIX system using a 3580-H6S LTO6 tape drive - this is a very simple... (3 Replies)
Discussion started by: c3rb3rus
3 Replies

10. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies
setregid(2)							System Calls Manual						       setregid(2)

Name
       setregid - set real and effective group ID

Syntax
       setregid(rgid, egid)
       int rgid, egid;

Description
       The real and effective group ID's of the current process are set to the arguments.

       Supplying a value of -1 for either the real or effective group ID forces the system to substitute the current ID for the -1 parameter.

Environment
       BSD
       If  the	process is superuser, or and matches with the real group ID, the effective group ID, or the saved set-group-id (as described in ),
       then the real, effective, and saved set-group-id are set to and respectively.

       POSIX
       SYSTEM-FIVE
       When your program is compiled in POSIX or SYSTEM-FIVE mode, the following semantics apply when using the function.

       If the process is the superuser, the real, effective, and saved set-group-id (as described in ) are set to and respectively.

       If the process is not the superuser, but the and matches the real group ID, the effective group ID (only in SYSTEM-FIVE	and  BSD  environ-
       ment), or the saved set-group-id, then the effective ID is set to The real group ID and the saved set-group-id are left unchanged.

Return Values
       Upon successful completion, a value of zero (0) is returned.  Otherwise, a value of -1 is returned, and errno is set to indicate the error.

Diagnostics
       [EPERM]	      The  current process is not the superuser and the and specified does not match with the real group ID or the effective group
		      ID (only in SYSTEM-FIVE and BSD environment) or the saved set-group-id.

See Also
       getgid(2), setreuid(2), setgid(3)

																       setregid(2)
All times are GMT -4. The time now is 01:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy