
Alexey Eremenko wrote:
Hi all !
Basic utilities such as "ifconfig" do not work under user account, but only under root.
This problem doesn't happens in other distros. This is because normal user has no /sbin on it's $PATH.
I think we should add export PATH=/sbin;$PATH To skeleton user account to fix this.
What do you think?
That's so for a good reason, these are commands that only root should do, you wouldn't want users to take control of the system, shutting down the system, services, making changes that affect the way the system works, etc. at will. A normal user should only be capable of controlling his/her account. Imagine every user being able to issue halt and heading off to lunch, Windows uptime would look desireable by comparison. If you are root and logged in as an ordinary user, you can use "sudo <command>" which will prompt you for the root password, being root, you should be the only one who knows it and the one for other users to get mad at if you do something stupid to spoil their day. Fine if it's your personal machine where you are the only other user. lancelot@barrabas:~> sudo ifconfig root's password: eth0 Link encap:Ethernet HWaddr 00:50:22:40:0F:D2 inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr: fe80::250:22ff:fe40:fd2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7593909 errors:10 dropped:371 overruns:9 frame:0 TX packets:8944053 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1933089695 (1843.5 Mb) TX bytes:1468182934 (1400.1 Mb) Interrupt:16 Base address:0x6000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2650319 errors:0 dropped:0 overruns:0 frame:0 TX packets:2650319 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:390406030 (372.3 Mb) TX bytes:390406030 (372.3 Mb) Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org