Can anyone help me please. I want to disable SSH direct access for an AIX user.
For example, if I have USER1 and USER2. I want to disactivate direct access for USER2. The user must enter his login (USER1) and his password and then he can do
.
I have just set up a user on our system HP-Thru64. The user needs to be able to su to root after they login and this works fine. Users cannot login from root externally so you have to first connect as a user and then su. I am wondering is it possible for me to prevent the user from having telnet... (4 Replies)
Hi Guys....
I am a newbie to unix. I have a requirement. I have a server. I have to configure ssh to disable direct root login and then add a user with sudo access to this server.Then change the ssh port to 22315 and the server should permit the ssh only from my local machine ip.I also have to... (1 Reply)
Hey
Is there any way to differentiate if a user is logged directly into a UNIX functional account or if they have scsu'ed into the functional account?
Cheers
Paul (2 Replies)
I've run into an issue running rsync remotely via SSH/sudo ...
I get the error sudo: sorry, you must have a tty to run sudo
I know that I can disable the tty in sudoers file ( !requiretty),
but my question is: is there a security risk by disabling requiretty with SSH/rsync/sudo?
Is... (0 Replies)
Hi,
I am planning to disable SNMP in our AIX LPARs. wanted to see by disabling in a test LPAR.
before that, I would like to check disabling this SNMP will impact any of our application or database in anyway. what kind of other software depends on these SNMP daemons ?
Can you please let me... (9 Replies)
I would like to disable X11 session forcefully. I have tried the following things:
1. Setting appropriate DISPLAY variable in the /etc/environment file to be "0.0"
2. I have tried setting the sshd_config parameter X11Forwarding to be "no"
This session communication is happening by exchanging... (2 Replies)
Hello,
I would like to confirm whether the below procedure is correct.
disabled direct super user access on AIX server using below procedure. Please let me know if there is any additional step.
1) confirm the access to HMC, console to reach the LPARs
2) chuser rlogin=false root
... (3 Replies)
Hello. I recently upgraded to a new Power 8 server and running AIX 7.1.
I migrated from an IBM P520 and AIX 5.5.
My application on the P520 works best if I direct print, it doesn't work well with spooling. My IBM rep set up the new Power 8 server with spooling which is causing an issue.... (4 Replies)
Hi,
I have setup password less login to sudo for a particular group. if I do sudo /usr/local/sbin/group it will take me to the group without password. Recently i executed a command scl_source as source scl_source enable devtoolset-7. After that my sudo is asking password not sure why
sudo... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
LEARN ABOUT XFREE86
audio_support
audio_support(7I) Ioctl Requests audio_support(7I)NAME
audio_support - audio driver support routines and interface
SYNOPSIS
#include <sys/audio.h>
DESCRIPTION
The audio support module supports audio drivers that use the new audio driver architecture. It also provides a limited number of ioctl(2)
functions for application programmers.
DATA STRUCTURES
The following data structures are defined to manage the different audio device types and channels.
Device Types
The following enumeration lists a number of generic device types.
typedef enum {
UNDEFINED, AUDIO, AUDIOCTL, USER1, USER2, USER3
} audio_device_type_e;
Currently, the Solaris audio mixer implements only the AUDIO and AUDIOCTL audio device types. See the mixer(7I) manual page for details.
The USER1, USER2 and USER3 device types allow third parties to write audio personality modules of their own.
Channel Structure
This structure is used to get and set state information on individual channels.
struct audio_channel {
pid_t pid; /* application's process ID */
uint_t ch_number; /* device channel */
audio_device_type_e dev_type; /* device type */
uint_t info_size; /* size of channel's */
/* info structure */
void *info; /* channel state information */
;
typedef struct audio_channel audio_channel_t;
The ch_number must specify the specific channel number to get or set. When the ioctl() returns, the pid contains the process ID of the
process that has that channel open and dev_type will contain the device type. If pid is 0 (zero), then the channel is not open. The pointer
*info must point to a buffer large enough to hold whatever audio device-related state structure that may be returned. Currently, only the
audio_info_t structure is returned. See the audio(7I) and mixer(7I) man pages for more information.
IOCTLS
The audio support driver provides the following ioctls():
AUDIO_GET_CH_NUMBER This ioctl() returns the channel number pointed to by the file descriptor. It is returned in the integer
pointer of the ioctl() argument.
AUDIO_GET_CH_TYPE This ioctl() returns the type of channel the process has open. It is returned in the audio_device_type_e
enumeration pointer of the ioctl() argument.
AUDIO_GET_NUM_CHS This ioctl() returns the number of channels the device supports. It is returned in the integer pointer of
the ioctl() argument.
MACROS
The following macro can be used to initialize data structures. The established convention is that the state corresponding to a field set to
-1 will not be modified.
AUDIO_INIT(I, S)
Where I is a pointer to an info structure and S is the size of that structure.
The following code segment demonstrates how to use this macro:
audio_info_t info;
AUDIO_INIT(&info, sizeof(info));
info.play.port = AUDIO_HEADPHONE;
err = ioctl(audio_fd, AUDIO_SETINFO, &info);
ERRORS
EINVAL The ioctl() is invalid for this file descriptor. The audio_channel_t structure's info pointer does not point to a buffer,
or the ch_number is bad.
ENOMEM The ioctl() failed due to lack of memory.
FILES
/usr/share/audio/samples
Audio sample files
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+------------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Architecture |SPARC, x86 |
|Availability |SUNWaudd, SUNWauddx, SUNWaudh |
|Stability Level |Evolving |
+-----------------------------+------------------------------+
SEE ALSO ioctl(2), attributes(5), audio(7I), mixer(7I), streamio(7I)FUTURE DIRECTIONS
Over time, additional audio personality modules will be added. Audio application programmers are encouraged to review this man page with
each Solaris release for new audio personality modules.
SunOS 5.10 2 January 2002 audio_support(7I)