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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-19-2004, 12:09 PM
|
#1
|
Member
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327
Rep:
|
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.
|
|
|
01-19-2004, 12:15 PM
|
#2
|
Member
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231
Rep:
|
UID: User ID
GUI: Group ID
|
|
|
01-19-2004, 12:27 PM
|
#3
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
Installing suid root means to install the app as the root user.
|
|
|
01-19-2004, 04:15 PM
|
#4
|
Member
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327
Original Poster
Rep:
|
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?
|
|
|
01-19-2004, 05:51 PM
|
#6
|
Senior Member
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032
Rep:
|
would it be smart at all to suid halt and poweroff so I don't have to always su and then run the commands?
|
|
|
01-19-2004, 05:57 PM
|
#7
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
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.
|
|
|
01-19-2004, 07:51 PM
|
#8
|
Senior Member
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032
Rep:
|
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....
|
|
|
01-19-2004, 08:03 PM
|
#9
|
Member
Registered: Oct 2003
Distribution: Slackware
Posts: 335
Rep:
|
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.
|
|
|
08-19-2008, 12:03 AM
|
#10
|
LQ Newbie
Registered: Aug 2008
Posts: 3
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|