LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-19-2004, 12:09 PM   #1
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
Question what is uid and gid


hey guys,
i have been using linux for a year now..and have come to be pretty proficient with it...however there are still a few things i have no idea about...and thats where this thread comes in.
coudl someone please educat me on the significance of uid and gid and what does someone mean when they say that the app shud be installed suid root.
thanks a lot.
 
Old 01-19-2004, 12:15 PM   #2
objorkum
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231

Rep: Reputation: 30
UID: User ID
GUI: Group ID
 
Old 01-19-2004, 12:27 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Installing suid root means to install the app as the root user.
 
Old 01-19-2004, 04:15 PM   #4
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by objorkum
UID: User ID
GUI: Group ID
thanks but could you also plz tell me their signinficance?what are they used for...what r they required for?
 
Old 01-19-2004, 05:14 PM   #5
tveiga
LQ Newbie
 
Registered: Jan 2004
Location: Portugal
Distribution: Slackware 9.0
Posts: 16

Rep: Reputation: 0
Take a look at this article.
http://www.geocities.com/tipsforlinux/articles/028.html
I hope it clear your mind of any doubts.

Tiago Veiga.
 
Old 01-19-2004, 05:51 PM   #6
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
would it be smart at all to suid halt and poweroff so I don't have to always su and then run the commands?
 
Old 01-19-2004, 05:57 PM   #7
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Check out sudo instead of using su. Sudo allows you to give extra permissions on a temporary basis to users.

The problem with suid shutdown commands is if you have users who log in remotely you certainly don't want them to be able to reboot you.
 
Old 01-19-2004, 07:51 PM   #8
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Quote:
Originally posted by jtshaw
Check out sudo instead of using su. Sudo allows you to give extra permissions on a temporary basis to users.

The problem with suid shutdown commands is if you have users who log in remotely you certainly don't want them to be able to reboot you.
Not a problem for me: This is a home PC, and it's not normally hooked up to my network. It's just an inconvenience to have to su all the time. Perhaps now I can even have a launcher give the shutdown command....
 
Old 01-19-2004, 08:03 PM   #9
Kurt M. Weber
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 335

Rep: Reputation: 31
On a private machine with no remote logins, you can get away with a lot more than you can with something that has other people using it. In this case, there shouldn't be any problem.
 
Old 08-19-2008, 12:03 AM   #10
wasimriz
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Smile uid and gid

Hello
uid is User id
and gid is group id
gid could be of two types one is primary and other secondary group.
that mean if
user ( rob gid is 555) then (spike gid can also be 555) that mean spike is under primary group of rob.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is my uid/gid? Jeebizz Slackware 2 11-22-2005 12:39 PM
How can I change a user's uid and gid? homesp Debian 2 05-31-2005 03:39 PM
mounting an iso9660 with uid and gid set to user cwin Linux - Software 3 12-22-2004 06:45 PM
vpopmail:- How can we efficiently use uid & gid amit_28oct Linux - Networking 4 09-30-2004 02:02 AM
changing uid, gid zeke1955 Linux - General 4 01-10-2004 12:53 AM


All times are GMT -5. The time now is 03:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration