Sponsored Content
Operating Systems Linux Red Hat Two news user accounts in RHEL! Post 302644075 by parth_buch on Monday 21st of May 2012 09:21:51 AM
Old 05-21-2012
Two news user accounts in RHEL!

I have a server Red Hat Enterprise Linux ES release 4 (Nahant Update 4) on which I have two news accounts!!
Code:
news:x:9:13:news:/etc/news:
news:x:9:13:news:/var/spool/news:

I don't know who added this extra account but it exists; none of this directories actually exist because rpm's are not installed for news server.

what should be default home directory for user account news? on RHEL 5 I have seen /etc/news and on some RHEL 4 it is /var/spool/news!!

is it ok to remove this account from server?

Last edited by fpmurphy; 05-21-2012 at 12:58 PM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What happened to my user accounts?

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

User Accounts

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

Help with user accounts

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

User Accounts

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

Creating user accounts

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

single user mode - user accounts passwords

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

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

8. Solaris

Help with user accounts

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)

Thunderbird user accounts

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)
All times are GMT -4. The time now is 07:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy