Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8827325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:20:43+00:00 2026-06-14T07:20:43+00:00

My lab sheet says that if the $PATH in root has a trailing .,

  • 0

My lab sheet says that if the $PATH in root has a trailing “.”, it is likely that an attacker can gain superuser access by forcing an admin to operate as root to execute some malicious program. I dont understand this at all! Can someone explain to me what the above sentence means? And how do I remove the “.”?

echo $PATH

/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb:.

This is in Solaris 10 btw.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T07:20:44+00:00Added an answer on June 14, 2026 at 7:20 am

    In your ~/.profile file or maybe in your ~/.bashrc file (By ~/ I mean your home directory)

    export PATH=/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb
    

    Now you have removed the trailing .

    BTW: /usr/xpg4/bin has more modern versions of commands like awk – you may want to put it in your PATH variable before /usr/bin unless you were instructed to keep your PATH as is.

    What the statement refers to is this:
    Suppose the bad guys corrupted some executable file. One that lives in an application directory.
    If you cd to that directory and then typed the name of the bad file it would run. And you might not know it happend. Maybe the file sends masses of of email all over the world. Or places a worm in some other executable file in your home directory. You get the idea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a student and the lab staff has set up permissions that won't students
I'm working with report lab, I can't get a way to add png image
I have a lab values table that I would like to query and get
I am working on a lab for school that runs 10 trails of 10000
I have a problem for a university lab; Write a short program that outputs
i use lab.js 2.0.3 for parallel loading my scripts. the problem is, that in
For a lab I've got to do, I need to create a program that
I have a lab in the university. But I don't understand how I can
Google Webmaster tools has lab feature named Site Perfomance. I've read about it in
I work as a lab instructor and was trying to ensure that my students

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.