- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: news account in RH linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 08:05 AM
12-01-2003 08:05 AM
"news:x:9:13:news:/etc/news: ", noticed the last field is blank. You could login with passwords "news". Here's my fixed for it:
"news:x:9:13:news:/etc/news:/sbin/nologin". If anyone experiencing the same or similar issue with news account, please post so I know I am not going crazy. Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 08:34 AM
12-01-2003 08:34 AM
Re: news account in RH linux
I'm using RH9 and there is no way to login using password "news".
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 08:49 AM
12-01-2003 08:49 AM
Re: news account in RH linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 09:39 AM
12-01-2003 09:39 AM
SolutionThe 'x' in the 2nd field says that it uses the shadow password system. If you look in the /etc/shadow file, you'll see an '*' in the 2nd field.
This states that there is no valid password for user 'news', i.e. no matter what you type, it won't work.
This is not a security 'hole', just a dumb mistake, with no real issues.
Incidentally, '/bin/false' would be a better idea, as it isn't a shell, and thus would also deny FTP login attempts (regardless of password).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 05:33 PM
12-01-2003 05:33 PM
Re: news account in RH linux
There used to be a program that came with most unix's that allowed a user to change their default shell (it might still be around for all I know). This utility would change the last field in the passwd file to whatever shell the user specified. The "login" or "passwd" command (I can't remember which), rather inconveniently, had a feature that meant it would assume a maximum length for a passwd entry. All you had to do was to change your shell to something that would make your passwd entry one character too long and you would "push" the last character of your shell name onto the next line. If this was an "h" for example, the resulting extra line would be an "h" with nothing after it. This would be interpreted by "login" as "h::0:0:::". Login as "h" and instant root access was yours.
It doesn't work any more though :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 08:23 PM
12-01-2003 08:23 PM
Re: news account in RH linux
news:x:9:13:news:/var/spool/news:
but it isn't possible to telnet or ftp with this user.
ciao
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 03:43 AM
12-02-2003 03:43 AM
Re: news account in RH linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 10:56 AM
12-02-2003 10:56 AM
Re: news account in RH linux
If it does, then yea, someone's been playing.