Ok, i copied two sample files to a directory and did as I said. The first example is a file requiring no reboot:
now a file requiring a reboot:
Notice the difference in the third lines of the outputs:
"bos.adt.include 05.01.0000.0067 1 N U en_US...."
versus:
"bos.mp64 05.01.0000.0066 1 b U en_US...."
This "b" means "have to reboot afterwards". And, yes, it is failsafe because this flag is what is making installp initiating the reboot in first place.
Hi
First I want to explain the scenerio :
In my project I want to control the printing of some messages. Thats why I use
#ifdef MESSAGE
------------print message--------------
#endif
And when I compile the program with -DMESSAGE option, it shows all message and without -DMESSAGE option... (7 Replies)
Hi - How can I determine the time my system was last booted when my "wtmp" file is broken? (It is being cleaned out incorrectly, I'mm working on that issue)
ie
uptime shows invalid details and who -b shows "nothing at all"
is there a shutdown log somewhere that may indicat the last re-boot? (3 Replies)
Hi,
Anyone got a clue? is there some tool for it? couldnt find it in apt get, anyway i hope so cos i must build a patch management tool for work:P
Greetz. (10 Replies)
Is it possible to have the user press enter to acknowledge a message
before typing in his or her login name and password? I need to add
this functionality to the CDE login, ssh, and ibm 3151 console on AIX
5.3. (0 Replies)
My data is something like shown below.
date1 date2 aaa bbbb ccccc
date3 date4 dddd eeeeeee ffffffffff ggggg hh
I want the output like this
date1date2 aaa eeeeee
I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Hi Guys,
I need to reboot one Server as the newly inserted disk is not getting detected in system , I have also confirmed with Sun Support and finally it was the reboot which was required after doing all troubleshooting stuff.
So I have disassembled the mirror and kept working disk's single... (3 Replies)
Discussion started by: manalisharmabe
3 Replies
LEARN ABOUT DEBIAN
bos_setrestricted
BOS_SETRESTRICTED(8) AFS Command Reference BOS_SETRESTRICTED(8)NAME
bos_setrestricted - place a server in restricted mode
SYNOPSIS
bos setrestricted -server <machine name> -mode 1
[-cell <cell name>] [-noauth] [-localauth] [-help]
DESCRIPTION
The bos restricted command places the server in restricted mode. This mode increases the security of the bos server by removing access to a
number of bos commands that are only used whilst configuring a system.
When a server is in restricted mode, access to bos_exec, bos uninstall, bos install, bos create, bos install, bos delete, bos prune is
denied, and the use of bos getlog is limited.
CAUTIONS
Once a server has been placed in restricted mode, it may not be opened up again using a remote command. That is, bos setrestricted has no
method of setting an unrestricted mode. Once a server is restricted, it can only be opened up again by sending it a SIGFPE, which must be
done as root on the local machine.
OPTIONS -server <machine name>
Indicates the server machine to restrict.
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8).
-noauth
Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see
bos(8).
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket
to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see
bos(8).
-help
Prints the online help for this command. All other valid options are ignored.
PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged in as
the local superuser "root" if the -localauth flag is included.
As noted above, this command cannot be run against servers which are already in restricted mode.
SEE ALSO bos(8)COPYRIGHT
Copyright 2009 Simon Wilkinson <simon@sxw.org.uk>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Simon Wilkinson for
OpenAFS.
OpenAFS 2012-03-26 BOS_SETRESTRICTED(8)