7 More Discussions You Might Find Interesting
1. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
2. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
3. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
4. Solaris
The system don't boot.
on the screen appears following:
press enter to maintenance (or type CTRL-D to continue)...I checked with format command.
... the slices "0-root","1-swap","2-backup" exist.
...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Discussion started by: wolfgang
16 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. Shell Programming and Scripting
hi All,
cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'
Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies
7. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
CHROOTUID(1) General Commands Manual CHROOTUID(1)
NAME
chrootuid - run command in restricted environment
SYNOPSIS
chrootuid [-i] newroot newuser command...
DESCRIPTION
The chrootuid command sets up a restricted environment for executing command. Access to the file system is restricted to the newroot sub-
tree; privileges are restricted to those of the newuser account (which must be a known account in the unrestricted environment). The ini-
tial working directory is changed to newroot.
chrootuid combines chroot(8) and su(1) into one program, so that there is no need to have commands such as /usr/bin/su in the restricted
environment.
Only the superuser can use the chrootuid command.
OPTIONS
There is only one option for chrootuid: -i. That option makes it run in interactive mode. Errors will be printed on stderr instead of
through syslog and the exit status will be 1 if there are any errors.
RETURN CODES
The exit status of chrootuid when running on daemon mode (default) is always 0.
If it is running on interactive mode, it will exit with an exit status of 1 if there is any error in its invocation, otherwise the exit
status is the exit status of command.
DIAGNOSTICS
Problems are reported to the syslog daemon if running on daemon mode. If running on interactive mode, errors are reported on stderr.
SEE ALSO
chroot(8), su(1)
AUTHOR(S)
Wietse Venema
Eindhoven University of Technology
Department of Mathematics and Computer Science
Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA
CREATION DATE
Tue Oct 13 11:37:29 MET 1992
LAST MODIFICATION
Mon May 20 22:49:02 CEST 2007
VERSION
/RELEASE
1.3
CHROOTUID(1)