05-21-2012
I want to remove one of those accounts. I hesitate in removing one of those accounts because,
1> the account "news" is created at the time of installation by system, and I am not sure about dependencies of this account.
2> I am not sure about its default home directory, whether it is /etc/news or it is /var/spool/news.
No application/process/service is running on the server with news user..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ahhhh!!!!!!!!
All of my user accounts can no longer login. I suspected a corrupt passwd file, but everything looks OK and the passwd file works when I copy it to another system. All user accounts cannot login...they recieve a "No directory defined" error, but I can logon using root just fine. I... (13 Replies)
Discussion started by: jskillet
13 Replies
2. Shell Programming and Scripting
I have found a script to create user accounts. But there are a few lines i dont understand. Can someone help me with this? Here's the code:
######################################
while ;
do
ACCT=${USER_ACCT}${START}
START=`expr $START + 1`
START=`echo ${START} | awk... (3 Replies)
Discussion started by: Sensor
3 Replies
3. UNIX for Dummies Questions & Answers
I have a root access to a UNIX system. I want to create another account with administrative permissions (create users, delete them, manage print and system configuration), how do I do that?
I have a Solaris 9 (SunOS 5.9) installed. Please help. :o (3 Replies)
Discussion started by: neked
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I was wondering if someone could tell me how to display a list of all existing user accounts on the system, not neccesarily looged in. Thanks in advance
Stephen (3 Replies)
Discussion started by: sroberts82
3 Replies
5. Shell Programming and Scripting
Hi,
I have written a program using shell scripting. When you run the file it will asks you to enter the user name, if the user exists it says " user exists " if not it will displays like " user doesnt exist" and then asks you like " do you want to add user with options Yes or No " if you say... (1 Reply)
Discussion started by: vishwaprasad
1 Replies
6. UNIX for Dummies Questions & Answers
hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies
7. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
8. Solaris
Hi All,
How to know all the shells a user has access.
Thank you . (0 Replies)
Discussion started by: rama krishna
0 Replies
9. OS X (Apple)
Hi All
I am trying to find a way to set-up a thunderbird account by using a script, i have been trying to to add the lines into the pref.js file but it keeps getting overwritten
any help would be great
thanks
Adam (0 Replies)
Discussion started by: ab52
0 Replies
news(1) User Commands news(1)
NAME
news - print news items
SYNOPSIS
news [-a] [-n] [-s] [items]
DESCRIPTION
news is used to keep the user informed of current events. By convention, these events are described by files in the directory /var/news.
When invoked without arguments, news prints the contents of all current files in /var/news, most recent first, with each preceded by an
appropriate header. news stores the ``currency'' time as the modification date of a file named .news_time in the user's home directory (the
identity of this directory is determined by the environment variable $HOME ); only files more recent than this currency time are considered
``current.''
OPTIONS
-a Print all items, regardless of currency. In this case, the stored time is not changed.
-n Report the names of the current items without printing their contents, and without changing the stored time.
-s report how many current items exist, without printing their names or contents, and without changing the stored time. It is useful
to include such an invocation of news in one's .profile file, or in the system's /etc/profile.
All other arguments are assumed to be specific news items that are to be printed.
If a delete is typed during the printing of a news item, printing stops and the next item is started. Another delete within one second of
the first causes the program to terminate.
ENVIRONMENT VARIABLES
See environ(5) for a description of the LC_CTYPE environment variable that affects the execution of news.
FILES
/etc/profile
/var/news/*
$HOME/.news_time
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWesu |
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO
profile(4), attributes(5), environ(5)
SunOS 5.10 20 Dec 1996 news(1)