Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

unix and linux operating commands

Wrong 'uname' )

UNIX for Dummies Questions & Answers


Tags
linux

 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 01-03-2007   -   Original Discussion by DCrystal
DCrystal's Unix or Linux Image
DCrystal DCrystal is offline
Registered User
 
Join Date: Jan 2007
Last Activity: 6 June 2007, 1:20 PM EDT
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Unix or Linux 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
Sponsored Links
    #2  
Old Unix and Linux 01-03-2007   -   Original Discussion by DCrystal
andryk's Unix or Linux Image
andryk andryk is offline Forum Advisor  
Registered User
 
Join Date: Sep 2003
Last Activity: 5 June 2008, 4:15 AM EDT
Posts: 448
Thanks: 0
Thanked 1 Time in 1 Post
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 Linux
Sponsored Links
    #3  
Old Unix and Linux 01-03-2007   -   Original Discussion by DCrystal
suntac's Unix or Linux Image
suntac suntac is offline
Registered User
 
Join Date: Jul 2005
Last Activity: 10 December 2007, 11:32 AM EST
Location: Amsterdam
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
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 Unix and Linux 01-03-2007   -   Original Discussion by DCrystal
DCrystal's Unix or Linux Image
DCrystal DCrystal is offline
Registered User
 
Join Date: Jan 2007
Last Activity: 6 June 2007, 1:20 PM EDT
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
gentoo ~ # setname
bash: setname: command not found
gentoo ~ #
i haven't such program (?)
Sponsored Links
    #5  
Old Unix and Linux 01-03-2007   -   Original Discussion by DCrystal
suntac's Unix or Linux Image
suntac suntac is offline
Registered User
 
Join Date: Jul 2005
Last Activity: 10 December 2007, 11:32 AM EST
Location: Amsterdam
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #6  
Old Unix and Linux 01-03-2007   -   Original Discussion by DCrystal
DCrystal's Unix or Linux Image
DCrystal DCrystal is offline
Registered User
 
Join Date: Jan 2007
Last Activity: 6 June 2007, 1:20 PM EDT
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
and what to do?
Sponsored Links
    #7  
Old Unix and Linux 01-03-2007   -   Original Discussion by DCrystal
DeepakS's Unix or Linux Image
DeepakS DeepakS is offline
Registered User
 
Join Date: Aug 2006
Last Activity: 8 April 2013, 5:11 PM EDT
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
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

Sponsored Links
 


Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
uname -a hiten.r.chauhan Solaris 2 07-26-2011 07:54 AM
uname too vague? neurorad Fedora 6 02-16-2011 04:32 PM
uname help coxmanchester Solaris 6 11-25-2009 10:07 AM
Uname Dileepsp Linux 2 12-21-2007 07:54 AM
uname -S habuzahra AIX 2 01-25-2007 06:52 AM



All times are GMT -4. The time now is 02:11 PM.