10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have root access and user name called prod. but it doesn't matter which user I log in as. But I can't CD to the directory. Can you advise.
dr-xr-xr-x 1 root root 1 Sep 12 15:40 lib
$id
uid=4902(prod) gid=50(develop)
$cd lib
-bash: cd: lib: Permission... (7 Replies)
Discussion started by: samnyc
7 Replies
2. UNIX for Dummies Questions & Answers
hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies
3. Red Hat
Hai dear,
I am installing some application on linux RedHat 9
It gives me following discrepancies
lib.so.6 (GLIBC_2.3.4) needed
lib.so.6 (GLIBC_2.4) needed
libpthread.so.0(GLIBC_2.3.3) needed
rtld(GNU_HASH) needed
i tried to search a lot on internet to find relative rpm for these libs... (3 Replies)
Discussion started by: Danish Shakil
3 Replies
4. Red Hat
Hello,
I'm experimenting a problem on my rh server.
Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
2.4.21-47.ELsmp #1 SMP i686 i686 i386 GNU/Linux
It started with a segmentation fault on
#id root
To resolve it, I've installed
coreutils-4.5.3-28.4.i386.rpm
But, I... (6 Replies)
Discussion started by: gogol_bordello
6 Replies
5. AIX
I have a RS/6000 B80 which just had a disk failure; I've added a new drive and am in the process of rebuilding. I have reinstalled AIX 5.2 and am now looking to begin updating.
(fyi this will be the second time I have attempted to rebuild this machine, the first time i installed ML 5200-10 and... (1 Reply)
Discussion started by: wesiman
1 Replies
6. Programming
Hello,
I'm trying to use gd with c++ in linux. Previously, I had already succeed using the gd lib in windows through gdwin32. Now I would like to run the program in linux but i'm not sure how to do it. I'm currently try running it in cygwin, but I couldn't compiled it. Any suggestion? (3 Replies)
Discussion started by: shahrulb
3 Replies
7. Programming
Hi,
I am on Fedora9 and need to do some simple 2D graphics (for game development). I am looking for an ideal 2D library/package to be used with GCC.
I have come accross GRX, libmxi and some OpenGL (The 3D), but none of which seems to be ok.
I could not find any tutorial or support material... (1 Reply)
Discussion started by: nasersh
1 Replies
8. UNIX for Advanced & Expert Users
i download a boost library from net on/by window machine...i am using telnet connection.then how can i untar/compile/install boost library to /usr/local/lib...on my unix machine. (1 Reply)
Discussion started by: prangin
1 Replies
9. Programming
A good day to you, dear experts,
I am a newbie, I noticed in binutils or gcc there are lib and lib32 and lib64, to take binutils as an example,
My system is sgi IRIX6.5, which is suggested to use "n32" flag during the compiling and linking, is that mean that I need to use lib32?
Q1. which one... (2 Replies)
Discussion started by: lakeat
2 Replies
10. UNIX for Advanced & Expert Users
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies
device_allocate(4) File Formats device_allocate(4)
NAME
device_allocate - device_allocate file
SYNOPSIS
/etc/security/device_allocate
DESCRIPTION
The device_allocate file contains mandatory access control information about each physical device. Each device is represented by a one line
entry of the form:
device-name;device-type;reserved;reserved;auths;device-exec
where
device-name This is an arbitrary ASCII string naming the physical device. This field contains no embedded white space or non-
printable characters.
device-type This is an arbitrary ASCII string naming the generic device type. This field identifies and groups together devices
of like type. This field contains no embedded white space or non-printable characters.
reserved This field is reserved for future use.
reserved This field is reserved for future use.
auths This field contains a comma-separated list of authorizations required to allocate the device, or asterisk (*) to
indicate that the device is not allocatable, or an '@' symbol to indicate that no explicit authorization is needed
to allocate the device.
The default authorization is solaris.device.allocate. See auths(1)
device-exec This is the physical device's data purge program to be run any time the device is acted on by allocate(1). This is
to ensure that all usable data is purged from the physical device before it is reused. This field contains the
filename of a program in /etc/security/lib or the full pathname of a cleanup script provided by the system adminis-
trator.
The device_allocate file is an ASCII file that resides in the /etc/security directory.
Lines in device_allocate can end with a `' to continue an entry on the next line.
Comments may also be included. A `#' makes a comment of all further text until the next NEWLINE not immediately preceded by a `'.
White space is allowed in any field.
The device_allocate file must be created by the system administrator before device allocation is enabled.
The device_allocate file is owned by root, with a group of sys, and a mode of 0644.
EXAMPLES
Example 1: Declaring an allocatable device
Declare that physical device st0 is a type st. st is allocatable, and the script used to clean the device after running deallocate(1) is
named /etc/security/lib/st_clean.
# scsi tape
st0;
st;
reserved;
reserved;
solaris.device.allocate;
/etc/security/lib/st_clean
Example 2: Declaring an allocatable device with authorizations
Declare that physical device fd0 is of type fd. fd is allocatable by users with the solaris.device.allocate authorization, and the script
used to clean the device after running deallocate(1) is named /etc/security/lib/fd_clean.
# floppy drive
fd0;
fd;
reserved;
reserved;
solaris.device.allocate;
/etc/security/lib/fd_clean
Notice that making a device allocatable means that you need to allocate and deallocate it to use it (with allocate(1) and deallocate(1)).
If a device is not allocatable, there will be an asterisk (*) in the auths field, and no one can use the device.
FILES
/etc/security/device_allocate Contains list of allocatable devices
SEE ALSO
auths(1), allocate(1), bsmconv(1M), deallocate(1), list_devices(1), auth_attr(4)
NOTES
The functionality described in this man page is available only if the Basic Security Module (BSM) has been enabled. See bsmconv(1M) for
more information.
SunOS 5.10 17 Mar 2003 device_allocate(4)