how to distinguish standard system mode or trust system mode


 
Thread Tools Search this Thread
Operating Systems HP-UX how to distinguish standard system mode or trust system mode
# 1  
Old 02-08-2009
I think that if the directory /tcb exists, HP-UX is in trusted mode and the passwd data is somewhere in /tcb/files/auth. But that's all I remember.

Also I think recent versions of HP-UX can have a /etc/shadow file.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. HP-UX

From a C++ application how to find if a hpux host is in standard mode or trusted mode

is there a way for my C++ application to find out which mode the hpux OS is running in? standard mode or trusted mode. (3 Replies)
Discussion started by: einsteinBrain
3 Replies

2. Ubuntu

Login Problems when the system is grub mode

Hi Experts, I am using ubuntu.When i am trying to login it is showing grub ..How i can overcome to this problem..Pls reply me ASAP.. Thanks, Sree (1 Reply)
Discussion started by: sree vasu
1 Replies

3. Solaris

Solaris 10 system boots into Maintenance mode

I have seen similar threads on this issue, but I have not seen a fix. Basically I am getting a lot of rcp bind errors. Below find the output of "svcs -xv". not sure where to begin: # svcs -xv svc:/network/rpc/bind:default (RPC bindings) State: maintenance since Fri May 25 14:13:18 2012... (14 Replies)
Discussion started by: brownwrap
14 Replies

4. Solaris

System booting to maintenance mode

Hi Guys, I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this? Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies

5. BSD

single user mode under system v

Hello! I am new to the forum and I need help on restoring root user's password or access the form of single user mode under operating system very long-standing family bsd - Unix system V I think it's also called srv4. I managed to enter the owner of IPL, and a moment after the rise of system... (2 Replies)
Discussion started by: hmalool
2 Replies

6. Solaris

System stuck up in maintanence mode

Hi All, I got a big problem here. While setting up a sun cluster, I accidentally tried out "bootadm update-archive" as I was unable to bring the cluster up. After which, i tried a reconfiguration reboot. Now The system is always booting into maintanence mode with error message... (8 Replies)
Discussion started by: manojsomanath
8 Replies

7. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

8. Solaris

System not resuming from stanby mode ---Solaris10

Dear Frnds, I have a weird issue with solaris 10. We bought a new Sun Ultra45 workstation and i installed solaris 10 in that. The problem is when it goes to standby mode i am not able to resume the system.The only thing i can do is to manually reboot and start working. The problem occurs... (0 Replies)
Discussion started by: sriram.s
0 Replies

9. Solaris

system get stuck on stand by mode

Hi Im using a Sun blade 1500 with solaris 8 and when the monitor goes to stand by mode, the machine doesnt return to the normal mode anymore. Then i have to reboot it always. Does anybody have a clue how can i solve it or turn off the stand by mode? Thanks (2 Replies)
Discussion started by: dougpss
2 Replies
Login or Register to Ask a Question
edauth(8)						      System Manager's Manual							 edauth(8)

NAME
edauth - update and list authentication and capabilities (authcap) database information (Enhanced Security) SYNOPSIS
/usr/tcb/bin/edauth [-d db] [-L|-N] [-q] [-v] entryname ... /usr/tcb/bin/edauth -g [-d db] [-L|-N] [-q] [-v] [entryname...] /usr/tcb/bin/edauth -s [-d db] [-L|-N] [-R] [-U uid] [-C] [-q] [-v] /usr/tcb/bin/edauth -r [-d db] [-L|-N] [-q] [-v] entryname... /usr/tcb/bin/edauth -H FLAGS
-d db Specifies which database to use. Select from one of the characters d, f, p, t, or v. d - The system default database, /etc/auth/system/default f - The file control database, /etc/auth/system/files p - User profile data in the /tcb/files/auth.db, /var/tcb/files/auth.db, and optional associated NIS map sources. t - The terminal control database, /etc/auth/system/ttys.db v - The terminal control database, /etc/auth/system/devassign The user profile database (p) is the default if no -d option is given. -g Gets the named entries (or all) and prints them to standard output rather than editing them. If the -q option is also given, the entries are not printed, and the exit status is the only confirmation of whether at least one entry would have been printed if -q had not been specified. -r Removes (deletes) named entries rather than editing them. -s Sets new values based on pre-edited entries read from standard input. If a new entry is being created, the corresponding passwd entry must be created first. If the -C option is not given, existing entries are overwritten by the new data. -v Gives more verbose messages. -C Restricts the -s option to creating new entries only, rather than possibly overwriting existing ones. -L Uses only local entries, not NIS. -N Uses only NIS entries, not local. -R Causes new local user-profile entries to be written to the root partition only, no matter what the UID of the profile. -U uid Specifies the minimum general user UID. User-profile entries with UIDs less than this value (default of 100) are written to the root partition in the /tcb/files/auth.db file. Profiles with uids greater than or equal to the specified value are written to the /var/tcb/files/auth.db file. -H Print a help message and exit successfully with no further processing. DESCRIPTION
The edauth utility displays and modifies the system databases used by the enhanced security subsets. These include the user profile data- bases and their NIS map source files, the file control database, the terminal control and device assignment databases, and the system default database. Note that edauth does not alter /etc/passwd. The edauth utility is intended for disaster-recovery situations, since the GUIs provide a much friendlier interface. However, for sites where X is not available, edauth can be used for general maintenance of these databases. If none of the -s, -g, or -r options are given, edauth extracts each matching entry into a temporary file, and allows the user to edit that entry. If the edited entry has more unparsed fields than did the old copy, a warning is given. If the -v option was given, the unparsed text is displayed. Editing and setting of entries in NIS maps is only allowed on the NIS master host, in which case the changes are made to the NIS map source files themselves, and a make of the NIS maps is then performed by edauth. The only option available to a non-root user is displaying the publicly-accessible databases or the user's own profile. EXAMPLES
To display just the wildcard entries from the ttys and devassign databases: # edauth -g -dt '*' '*:*' # edauth -g -dv '*' '*:*' To display the system defaults data: # edauth -g -dd For a non-root user to display his or her own profile: % edauth -g For a privileged user to display all user profiles: # edauth -g To display the user profile for root: # edauth -g root To edit the entry for user root: # edauth root To edit the ttys database entry for lat/628: # edauth -dt lat/628 To edit the NIS profile entry for user nobody: # edauth -N nobody To add a template of cis401 to a list of user names contained in a file named students: edauth -g `cat students` | sed 's/:chkent:/:u_template=cis401:chkent:/' | edauth -s ENVIRONMENT
The following environment variables can be used by edauth: TERM Checked for being set only, in order to determine whether the $VISUAL environment variable should be consulted to find an editor to use. The $TERM variable is also likely to be used by the editor that is spawned. VISUAL Checked to find the editor to use when editing data, if the $TERM environment variable is set. EDITOR Checked to find the editor to use when editing data. If neither the $VISUAL nor the $EDITOR environment variable is available, edauth checks /usr/bin/ex and /sbin/ed for execute permissions and stops attempts to edit data if none can be found. Other environment variables which are likely to be used: NOPUSH This environment variable is checked by the /var/yp/Makefile file when updating the NIS maps in order to determine whether to force the NIS slave servers to update their maps immediately (and to wait for that update). RELATED INFORMATION
Commands: convuser(8), convauth(8), authck(8) Files: authcap(4), prpasswd(4), ttys(4), default(4), devassign(4), files(4) Security delim off edauth(8)