Wrong 'uname' )


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Wrong 'uname' )
# 1  
Old 01-03-2007
Question Wrong 'uname' )

Hi !
I heard that root can modify the uname -command, so it will show the wrong kernel version.
Is it true? can you tell more about this /give links ?
system: linux/*bsd.

thanks in advance
# 2  
Old 01-03-2007
wow! looking at uname's manual page it seems like we can only display not set value ... but im definetly interested too on how we can achieve that Smilie
# 3  
Old 01-03-2007
Quote:
Originally Posted by DCrystal
Hi !
I heard that root can modify the uname -command, so it will show the wrong kernel version.
Is it true? can you tell more about this /give links ?
system: linux/*bsd.

thanks in advance

Yes you can change this. you have to use setname.

quick introduction: http://en.wikipedia.org/wiki/Uname



Regards,
Johan Louwers. http://www.terminalcult.org
# 4  
Old 01-03-2007
Quote:
gentoo ~ # setname
bash: setname: command not found
gentoo ~ #
i haven't such program (?)
# 5  
Old 01-03-2007
Quote:
Originally Posted by DCrystal
i haven't such program (?)
It is not a part of all UNIX distributions so it could very well be that you do not have it...



Regards,
Johan Louwers. http://www.terminalcult.org
# 6  
Old 01-03-2007
and what to do?
# 7  
Old 01-03-2007
You could also change these lines at the top of your makefile.

Code:
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 17
EXTRAVERSION = -gentoo-r9
NAME=Crazed Snow-Weasel

 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Difference between UNAME and WHO

Hi, What is the exact output tells me when i issued UNAME and WHO ? Regards, Nantha.Y (2 Replies)
Discussion started by: Nandy
2 Replies

2. Shell Programming and Scripting

Why result is wrong here ? whether break statement is wrong ?

Hi ! all I am just trying to check range in my datafile pls tell me why its resulting wrong admin@IEEE:~/Desktop$ cat test.txt 0 28.4 5 28.4 10 28.4 15 28.5 20 28.5 25 28.6 30 28.6 35 28.7 40 28.7 45 28.7 50 28.8 55 28.8 60 28.8 65 28.1... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies

3. Solaris

uname -a

bssmsrv223:/ 53 ] uname -a SunOS bssmsrv223 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V245 bssmsrv223:/ 54 ] what does 118833-36 denotes in Generic_118833-36 (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies

4. UNIX for Dummies Questions & Answers

uname -a output

Can anyone please let me know the meaning of output of uname -a ? I am totally new to unix or linux and just thinking to start learning. When I run uname -a the output I get is - "Linux blx28ap01 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:18:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux" I want to... (7 Replies)
Discussion started by: csrohit
7 Replies

5. Fedora

uname too vague?

Hi all, I am ssh'ed into a cluster and want to install a package. However, I don't know which type to chose (CentOS, Fedora, OpenSuSE are some of the options). I ran called uname with various arguments but none are specific... $ uname -n resolute.research... $ uname -i x86_64 $ uname... (6 Replies)
Discussion started by: neurorad
6 Replies

6. Solaris

uname help

hi all, Operating System Name : Unix Sun Solaris Operating system release level : 5.10 Operating system version : Generic_137111-06 i know the release level that is kernel version Generic_137111-06 what is number... (6 Replies)
Discussion started by: coxmanchester
6 Replies

7. AIX

uname -S newhostname

hi freinds recently i have change hostname node as using uname -s ******* but next time i saw the name using uname -n the name did t changed is that i have to reboot the system (4 Replies)
Discussion started by: senmak
4 Replies

8. Linux

Uname

what is the difference between uname -m and uname -i what it actually means (2 Replies)
Discussion started by: Dileepsp
2 Replies

9. AIX

uname -S

hi , i have made a mistake :( on the production enviourment by change tha host name . after that i returned back the old name. but i think this will not afeect the system until reboot the machine. laso i tried to telnet the syetem by the host name not by the IP address and it works fine. ... (2 Replies)
Discussion started by: habuzahra
2 Replies
Login or Register to Ask a Question