HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- configuring network
Operating System - Linux
1832780
Members
3027
Online
110045
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-18-2002 12:28 AM
04-18-2002 12:28 AM
configuring network
Hello Linux community,
I installed redhat 7.2 and got the same Problem like many others with the telnet connection which didn't work, but I installed then inetd rpm and the telnet was working.
Well just to say how I got running telnet... but, know my question.
When I telnet to my server I can only login with my user and then su to root, o.k it works but is this the normal way?
And I am not able to configuring see my lansetings, like with lanscan or linuxconf or ifconfig, all these commands he say command not found.
thks for help,
cya Pierre
I installed redhat 7.2 and got the same Problem like many others with the telnet connection which didn't work, but I installed then inetd rpm and the telnet was working.
Well just to say how I got running telnet... but, know my question.
When I telnet to my server I can only login with my user and then su to root, o.k it works but is this the normal way?
And I am not able to configuring see my lansetings, like with lanscan or linuxconf or ifconfig, all these commands he say command not found.
thks for help,
cya Pierre
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 01:02 AM
04-18-2002 01:02 AM
Re: configuring network
Hi,
For the login question see man securetty.
For the comand question I think it should be a problem with the PATH variable. If you want to execute a command like ifconfig first you should know where it is:
find / -name ifconfig
after that add the path of the command to your PATH variable
export PATH=$PATH:/directory_ifconfig
after that you can execute it without typing the full path of the command.
Regards.
For the login question see man securetty.
For the comand question I think it should be a problem with the PATH variable. If you want to execute a command like ifconfig first you should know where it is:
find / -name ifconfig
after that add the path of the command to your PATH variable
export PATH=$PATH:/directory_ifconfig
after that you can execute it without typing the full path of the command.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 01:35 AM
04-18-2002 01:35 AM
Re: configuring network
Default root is not allowed to login via network (only console).. thats for security.
If you do want to have root be able to login, edit, or move your /etc/securetty file. That file hold the tty ports that should is allowed to login.
As root you should be able to start the ifconfig programs (not lanscan, this is not default on redhat 7.2, it is on HP-UX etc).. if not, add the path to your default path (ifconfig should be in /sbin).
If you don't know where a particular program is, you can try to find them on any of these methods:
root# whereis program_name
root# which program_name
root# find / -name program_name
If you do want to have root be able to login, edit, or move your /etc/securetty file. That file hold the tty ports that should is allowed to login.
As root you should be able to start the ifconfig programs (not lanscan, this is not default on redhat 7.2, it is on HP-UX etc).. if not, add the path to your default path (ifconfig should be in /sbin).
If you don't know where a particular program is, you can try to find them on any of these methods:
root# whereis program_name
root# which program_name
root# find / -name program_name
If all else fails, try reading the manual...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 05:26 PM
04-18-2002 05:26 PM
Re: configuring network
The main reason why administrative commands do not show up if you use su to gain root access is that, by default, su retains the enviroment settings of the initial login. Since the administrative commands are normally located in /sbin and /usr/sbin, which are not generally in the standard users path, these commands won't work without explicitly stating the path to it. If you use 'su -l' then su will open a full login shell with the enviroment settings of the account you are switching to.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP