Sponsored Content
Operating Systems AIX UID & GID instead of user name and group name Post 302941345 by -=XrAy=- on Wednesday 15th of April 2015 09:12:58 AM
Old 04-15-2015
Hi,

i have no AIX 5.3 (only 7.1) for confirmation but i guess it should be equal.

1) Check the symbolic link
Code:
ls -la /usr/lib/security/methods.cfg
lrwxrwxrwx    1 root     security         16 Nov 18 2011  /usr/lib/security/methods.cfg -> /etc/methods.cfg

2) If no file is available you can try to restore it or use the default on from /usr/lpp/bos/inst_root/etc/methods.cfg

Regards

EDIT:
Cool. But I would copy the file to /etc and create a link to it.
Code:
 mv /usr/lib/security/methods.cfg /etc/methods.cfg
ln -s /etc/methods.cfg /usr/lib/security/methods.cfg


Last edited by -=XrAy=-; 04-15-2015 at 10:18 AM..
This User Gave Thanks to -=XrAy=- For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

negative UID/GID?!! I can see 'em but what the hell do they mean?!

Just as the subject asks :) Thanks! hellz (2 Replies)
Discussion started by: hellz
2 Replies

2. Solaris

NFS Mount UID and GID

I have a truble with NFS mount. When i mount remote dir, then all permissions changes! For example: # mkdir /data # mount 10.1.1.100:/var/data /data # ls -l /data drwxr-xr-x 7 nobody nobody 5632 Oct 22 14:55 file1 drwxr-xr-x 4 nobody nobody 512 Oct 22 14:55... (4 Replies)
Discussion started by: jess_t03
4 Replies

3. Shell Programming and Scripting

Rsync - Preserve owner/group with different UID/GID

Dear Folks :-) I want to rsync some files between some servers and preserve files owner and group (not UID or GID), in some machines UID and GID are differents, for example: a) In the rsync server: # stat vbseo.php File: `vbseo.php' Size: 26758 Blocks: 56 IO... (1 Reply)
Discussion started by: Santi
1 Replies

4. UNIX for Dummies Questions & Answers

UID & GID of the running process

Hi, out of curosity this question just popped in my mind. Is there any way to find out the uid and gid of the running process ? If i do a ls -l of a program then it shows the uid/gid bit (if its set). I want to see as which user/group the program is running ..... is there any way to know this... (2 Replies)
Discussion started by: ankurjain
2 Replies

5. UNIX for Advanced & Expert Users

GID & UID for HP-UX ?

Hi, can somebody tell me how to make directoriy in which all files will be generated as dir owner ? I'm able to add GID for directory group and files have group id like folder , but when i do same for user files still are created as user which creates them :( drwsrwsrwx 2 flexbul ... (2 Replies)
Discussion started by: pp56825
2 Replies

6. UNIX for Advanced & Expert Users

Numeric uid and gid in ls -l command

I´m listing the contents of a directory using the command ls -lI get numeric uid and gid for some lines. example: drwxr-xr-x root root 1970-01-01 01:00 sys -rw-r--r-- 501 20 0 2010-08-04 14:54 shutdown.bravo.rc drwxr-x--- 501 20 ... (5 Replies)
Discussion started by: flocki
5 Replies

7. Shell Programming and Scripting

changing uid,gid

Hi, I am new to scrippting need little help, I would like to change uid, gid of exisisting user, example User A current uid=1,gid=2 would like to change uid=4,gid=5 I know the command to change uid,gid but after changing I have to change permissions on folders also which are belonging... (3 Replies)
Discussion started by: manoj.solaris
3 Replies

8. UNIX for Dummies Questions & Answers

uid ,gid value change

Present /home/dsadm# id dsadm uid=0(root) gid=0(root) ---------------------------------- needs to be /home/dsadm> id dsadm uid=23186(dsadm) gid=16284(gdstage) Please provide the command/steps for the above uid, gid value change Thanks in advance for all your support . ... (3 Replies)
Discussion started by: sridhardwh
3 Replies

9. Homework & Coursework Questions

Display info about users (UID GID processes terminal)

I would like to get an opinion for my solution for this task and get feedback about better approach or mistakes I have made. 1. The problem statement, all variables and given/known data: The task is to create a script which prints information about users whose names are specified in the... (2 Replies)
Discussion started by: kornfan
2 Replies

10. Shell Programming and Scripting

Tar extract: remap uid gid ?

OK, so simple question here: Is there anyway to REMAP, while extracting with tar, specific uid's and gid's on extracted files ? Background: The usual transfer between two servers with same literals username's names, but with different gid and uid. I would like, for example, files owned by... (6 Replies)
Discussion started by: fidodido
6 Replies
DH_INSTALLTEX(1)					User Contributed Perl Documentation					  DH_INSTALLTEX(1)

NAME
dh_installtex - register Type 1 fonts, hyphenation patterns, or formats with TeX SYNOPSIS
dh_installtex [debhelper options] [-n] [--priority=n] [--flavor=flavor[,flavor]] [map=MixedMap,file.map] [map=Map,file.map] [map=KanjiMap,file.map] [mapfile=file.cfg[=n]] [hyphen=lang,file[,lhm=n][,rhm=n][,synonym=syn,...]] [hyphenfile=file.cnf[=n]] [format=format,engine,hyphenfile,rest args] [formatfile=file.cnf[=n]] DESCRIPTION
dh_installtex is a debhelper program that is responsible for updating the ls-R databases, registering map files, new formats, and new hyphenation patterns with TeX. Your package should depend on an appropriate version of tex-common so that the update-* commands are available. (This program adds that dependency to ${misc:Depends}.) WARNING This program does not check for the actual existence of any input files in TEXMF trees. If you call it without any further specification on which packages to work on (using "-p" or "-N") it will add calls to management functions to all packages. In this case don't forget to add ${misc:Depends} to all packages' dependencies. SIMPLE USAGE
: Registering Files If you only install files into /usr/share/texmf and want to be sure that mktexlsr is called in a correct way (e.g., also in the postrm script when there is no functional mktexlsr), simply call dh_installtex COMPLEX USAGE
: Registering fonts, hyphenation patterns and formats If in addition, you have to install map files, hyphenation patterns for additional languages, or format definitions you can use three different methods to specify what should be installed: 1) Pre made config files: These files can be specified with the different typefile= options, together with an optional priority. type can be one of map, format and hyphen, and these files will be installed into /etc/texmf/configdir/ for the respective type (updmap.d for map files, hyphen.d for hyphenation pattern files, and fmt.d for format files). Example: dh_installtex mapfile=foo.cfg formatfile=debian/bar.cnf=42 would install foo.cfg as /var/lib/tex-common/fontmap-cfg/texmf/foo.cfg, and debian/bar.cnf as /etc/texmf/fmt.d/42bar.cnf. 2) Directly on the cmd line: You can specify maps, formats, and hyphenations on the cmd line. The items are stored in the respective config file 20package Example: dh_installtex map=Map,foo.map hyphen=ngerman-x-2011-07-01,dehyphn-x-2011-07-01.tex,hyph-de-1996.pat.txt,lhm=2,rhm=2,synonym=ngerman-x-latest,exceptions=hyph-de-1996.hyp.txt would install a file /var/lib/tex-common/fontmap-cfg/texmf/package.cfg containing the line Map foo.map and a file /etc/texmf/hyphen.d/20package.cnf containing the lines name=ngerman-x-2011-07-01 file=dehyphn-x-2011-07-01.tex file_patterns=hyph-de-1996.pat.txt lefthyphenmin=2 righthyphenmin=2 synonym=ngerman-x-latest file_exceptions=hyph-de-1996.hyp.txt 3) Package files: You create a file debian/package.maps or debian/maps, debian/package.hyphens or debian/hyphens, debian/package.formats or debian/formats. These files are installed with default priority and the name of the package. Each of these files will be installed into the first package dh_installtex is told to act on. By default this is the first binary package in debian/control, but if you use -p, -i, or -a flags, it will be the first package specified by those flags. Example: dh_installtex would install a present debian/package.formats file as /etc/texmf/fmt.d/20package.cnf. Mixing the different variants The command line items (Variant 2) are merged into the debian/package.maps (debian/package.hyphens, debian/package.formats) file and the merged file is installed as 20package.cfg/cnf. If you specify an additional package.cfg/cnf (Variant 1) without a different priority than the default one on the cmd line, this will raise an error since both files would be installed as 20package.cfg/cnf. You can only specify package.cfg/cnf without a different priority than the default one if no debian/package.maps nor any command line Map files are present. The pseudo-comment If the provided cfg files do not contain the pseudo-comment as described in the Debian TeX Policy, Font configuration, an additional header with explanation, warning and the pseudo-comment is added. This program automatically generates the postinst and postrm commands needed to register the fonts with TeX. See dh_installdeb(1) for an explanation of how this works. OPTIONS
-n, --noscripts Do not modify postinst/prerm scripts. --priority=n Set the default priority to n instead of 20. --flavor=flavor[,flavor] This option is used to select a different tree then the default /usr/share/texmf, and to switch on additional options. The argument specify a list from flavors to be selected. At the moment you can select from the following list of flavors: tree:texlive, map:config_for_active_maps, map:config_for_all_maps, format:build_all, format:add_one:formatname, and lsr:full. tree:texlive will select the tree /usr/share/texlive/texmf-dist and should only be used for files installed into this tree. map:config_for_active_maps will create a file config.bar for each active (i.e. uncommented) map in each of the cfg file generated by one of the three methods described above. These files are installed in /usr/share/texmf/dvips/config/. If you select map:config_for_all_maps the script will generate config.bar even for those map files which are present in a cfg file, but deactivated by a comment. The file config.bar is used when called by `dvips -Pbar ...'. Thus it allows the activation of single map files even if they are not automatically activated via the updmap(-sys) mechanism. Default is not to generate any config files. format:build_all will add code to the postinst script to create all defined formats, and to the postrm script to clean and recreate? FIXME? the generated formats. format:add_one:formatname allows to add the generation of a specific format without actually providing it (in a cnf file). This is useful if a package adds hyphenation patterns to an existing formats. format:no_links: Usually, for every format that is specified in a configuration file in /etc/texmf/fmt.d/, dh_installtex will create a symlink /usr/bin/format that points to the corresponding engine. For example, /usr/bin/latex would be created as a symlink to pdftex. The flavor format:no_links inhibits this. If a link already exists, dh_installtex will skip this format with an informational message, even if this option is not given. lsr:full: Recreate the lsr database not only for the standard trees, but also the distribution tree "/usr/share/texlive/texmf" and "/usr/share/texlive/texmf-dist". NOTES
Note that this command is not idempotent. "dh_clean -k" should be called between invocations of this command, unless using the -n option. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts. Please refer to the Debian TeX policy for details about fonts configuration for TeX by Debian packages. SEE ALSO
debhelper(7) AUTHOR
This program and its documentation was written by Norbert Preining <preining@logic.at> for the Debian Operating System and both are licensed under the GNU General Public License Version 2 or later. perl v5.14.2 2012-08-02 DH_INSTALLTEX(1)
All times are GMT -4. The time now is 10:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy