Thanks for your syntax. I could see
is missing in your syntax. I have added in the below synatax. Its executed without any error message but still the output is not delivered.
Does not supplying a file to mailx cause it to run long? Cmd is like this:
mailx -s "subject" recipient.
Would the foll. cmd run fast:
echo "content" | mailx -s "subject" recipient
The recipient is a group id. Unix version:HP-UX B.11.11.
Any help is appreciated.
Thanks. (2 Replies)
Hi,
I just wanted send corbon copy in mailx command, could you please assist me?
I tried the below but it didn't work
cat sample.txt|mailx -s "hi" -c xyz@gmail.com abc@gmail.com
Shahnaz. (2 Replies)
Hi,
I am trying to understand a script and found a line as follows:
tr '\211\233\240' '\040' < $IN_FILE | tr -cd '\11\12\15\40-\176' > $TEMP_FILE
Can any one explain the above line .. What are they trying to translate using the tr command.. I have not used tr command.. so feeling little bit... (2 Replies)
Hello
i am new shell scripting.
I have a file like this,
$ cat myfile
;/abc/abc.cpp@@/main/1;xyz
;/abc/abc.cpp@@/main/2;usr2
;/abc/abc.cpp@@/main/1;abc
;/abc/abc.cpp@@/main/2;usr2
;/abc/abc.cpp@@/main/1;usr1
when i grep the file.
$ grep "abc" myfile... (8 Replies)
Hi,
Am trying to send mail from solaris host to my mailbox, but while executing mailx command am getting the follow error.Is this syntax corect?
#mailx -s "subject" <myid>
The flags you gave are used only when sending mail. (1 Reply)
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
Hi all,
I need to find the line by using grep command with the two occurence of word in the same line. I tried the below example it prints the word choice.
cat nohup.out
Dictionary utl is completed.
file is completed.
Dictionary file is completed.
grep 'Dictionary\|file'... (0 Replies)
Discussion started by: arun888
0 Replies
LEARN ABOUT HPUX
rbacdbchk
rbacdbchk(1M)rbacdbchk(1M)NAME
rbacdbchk - Verifies the syntax of the Role-Based Access Control (RBAC) database files
SYNOPSIS DESCRIPTION
verifies that there are no conflicting or inconsistent entries in and amongst the RBAC database files. also checks the syntax of the data-
base files and prints messages indicating which lines contain errors. returns zero output if no errors are present in the database files.
All the RBAC database files and are verified. See rbac(5) for more information on these RBAC database files.
Options
supports the following options:
Checks the
database.
Checks the
database.
Checks the
database.
Checks the
database.
Checks the
database.
Cross reference checks all databases.
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
International Code Set Support
Single-byte character code set is supported.
RETURN VALUE
0. Success
1. Incorrect syntax
EXAMPLES
The following example finds an error that user is an invalid user
# rbacdbchk
[/etc/rbac/user_role] John: Administrator
invalid user
The value 'John' for the Username field is bad.
The following example finds a syntax error, an extra colon at the end of a line:
# rbacdbchk
[/etc/rbac/user_role] root: Administrator:
invalid name: Not alphanumeric
The value 'Administrator:' for the Rolename field is bad.
[Role in role_auth DB with no assigned user in user_role DB]
Administrator:(hpux.*, *)
The following example finds a field missing:
# rbacdbchk
[/etc/rbac/roles] : my comment
invalid name: <empty>
The value '' for the Rolename field is bad.
The following example finds a bad role:
# rbacdbchk
[Role in role_auth DB with no assigned user in user_role DB]
blah:(hpux.*, *)
[Invalid Role in role_auth DB. Role 'blah' does not exist in the roles DB]
blah:(hpux.*, *)
The following example finds a bad group name:
# rbacdbchk
[/etc/rbac/user_role] &blah: Administrator
invalid group
The value 'blah' for the Group name field is bad.
FILES
Database containing valid definitions of all roles.
Database containing definitions of all valid authorizations.
Database specifying the roles for each specified user.
Database that defines the authorizations for each role.
Database containing the authorization to execute specified commands,
and the privileges to alter uid and gid for command execution.
Database that defines the role-to-authorization to audit
SEE ALSO authadm(1M), cmdprivadm(1M), privrun(1M), rbac(5).
rbacdbchk(1M)